Carmelo Cascone | 58b5329 | 2019-09-30 12:35:31 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2019-present Open Networking Foundation |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package org.opencord.aaa.impl; |
| 18 | |
| 19 | /** |
| 20 | * Constants for default values of configurable properties. |
| 21 | */ |
| 22 | public final class OsgiPropertyConstants { |
| 23 | |
| 24 | private OsgiPropertyConstants() { |
| 25 | } |
| 26 | |
Shubham Sharma | 4900ce6 | 2019-06-19 14:18:50 +0000 | [diff] [blame] | 27 | public static final String STATISTICS_GENERATION_PERIOD = "statisticsGenerationPeriodInSeconds"; |
| 28 | public static final int STATISTICS_GENERATION_PERIOD_DEFAULT = 20; |
| 29 | |
Jonathan Hart | c41227c | 2020-01-28 16:56:49 -0800 | [diff] [blame] | 30 | public static final String STATISTICS_SYNC_PERIOD = "statisticsSyncPeriodInSeconds"; |
| 31 | public static final int STATISTICS_SYNC_PERIOD_DEFAULT = 5; |
| 32 | |
Shubham Sharma | 4900ce6 | 2019-06-19 14:18:50 +0000 | [diff] [blame] | 33 | public static final String OPERATIONAL_STATUS_SERVER_EVENT_GENERATION = |
| 34 | "operationalStatusEventGenerationPeriodInSeconds"; |
| 35 | public static final int OPERATIONAL_STATUS_SERVER_EVENT_GENERATION_DEFAULT = 30; |
| 36 | |
| 37 | public static final String OPERATIONAL_STATUS_SERVER_TIMEOUT = "operationalStatusServerTimeoutInSeconds"; |
| 38 | public static final int OPERATIONAL_STATUS_SERVER_TIMEOUT_DEFAULT = 10; |
| 39 | |
| 40 | public static final String STATUS_SERVER_MODE = "operationalStatusEvaluationMode"; |
| 41 | public static final String STATUS_SERVER_MODE_DEFAULT = "AUTO"; |
Matteo Scandolo | 9510e5d | 2020-09-24 17:31:52 -0700 | [diff] [blame] | 42 | |
| 43 | public static final String PACKET_PROCESSOR_THREADS = "packetProcessorThreads"; |
| 44 | public static final int PACKET_PROCESSOR_THREADS_DEFAULT = 10; |
Matteo Scandolo | bbc1ffb | 2020-10-16 15:56:20 -0700 | [diff] [blame] | 45 | |
| 46 | public static final String FORGE_EAPOL_PACKETS = "forgeEapolPackets"; |
| 47 | public static final boolean FORGE_EAPOL_PACKETS_DEFAULT = false; |
Carmelo Cascone | 58b5329 | 2019-09-30 12:35:31 -0700 | [diff] [blame] | 48 | } |