Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -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.olt.impl; |
| 18 | |
| 19 | /** |
| 20 | * Constants for default values of configurable properties. |
| 21 | */ |
| 22 | public final class OsgiPropertyConstants { |
| 23 | |
| 24 | private OsgiPropertyConstants() { |
| 25 | } |
| 26 | |
Andrea Campanella | cbbb795 | 2019-11-25 06:38:41 +0000 | [diff] [blame] | 27 | public static final String DEFAULT_MCAST_SERVICE_NAME = "multicastServiceName"; |
| 28 | public static final String DEFAULT_MCAST_SERVICE_NAME_DEFAULT = "MC"; |
| 29 | |
Saurav Das | f62cea8 | 2020-08-26 17:43:04 -0700 | [diff] [blame] | 30 | public static final String ENABLE_DHCP_ON_NNI = "enableDhcpOnNni"; |
| 31 | public static final boolean ENABLE_DHCP_ON_NNI_DEFAULT = false; |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame] | 32 | |
| 33 | public static final String ENABLE_DHCP_V4 = "enableDhcpV4"; |
| 34 | public static final boolean ENABLE_DHCP_V4_DEFAULT = true; |
| 35 | |
| 36 | public static final String ENABLE_DHCP_V6 = "enableDhcpV6"; |
| 37 | public static final boolean ENABLE_DHCP_V6_DEFAULT = false; |
| 38 | |
Saurav Das | f62cea8 | 2020-08-26 17:43:04 -0700 | [diff] [blame] | 39 | public static final String ENABLE_IGMP_ON_NNI = "enableIgmpOnNni"; |
| 40 | public static final boolean ENABLE_IGMP_ON_NNI_DEFAULT = false; |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame] | 41 | |
| 42 | public static final String DELETE_METERS = "deleteMeters"; |
| 43 | public static final boolean DELETE_METERS_DEFAULT = true; |
| 44 | |
| 45 | public static final String DEFAULT_TP_ID = "defaultTechProfileId"; |
| 46 | public static final int DEFAULT_TP_ID_DEFAULT = 64; |
| 47 | |
Andrea Campanella | 7e1eb71 | 2021-09-22 14:27:35 +0200 | [diff] [blame] | 48 | public static final String ZERO_REFERENCE_METER_COUNT = "zeroReferenceMeterCount"; |
| 49 | public static final int ZERO_REFERENCE_METER_COUNT_DEFAULT = 3; |
| 50 | |
| 51 | |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame] | 52 | public static final String DEFAULT_BP_ID = "defaultBpId"; |
| 53 | public static final String DEFAULT_BP_ID_DEFAULT = "Default"; |
| 54 | |
| 55 | public static final String ENABLE_EAPOL = "enableEapol"; |
| 56 | public static final boolean ENABLE_EAPOL_DEFAULT = true; |
Saurav Das | 2d3777a | 2020-08-07 18:48:51 -0700 | [diff] [blame] | 57 | |
yasin sapli | 0823c93 | 2022-01-26 11:26:09 +0000 | [diff] [blame] | 58 | public static final String ENABLE_PPPOE_ON_NNI = "enablePppoeOnNni"; |
| 59 | public static final boolean ENABLE_PPPOE_ON_NNI_DEFAULT = false; |
| 60 | |
Gustavo Silva | 5c492dd | 2021-02-12 10:21:11 -0300 | [diff] [blame] | 61 | public static final String ENABLE_PPPOE = "enablePppoe"; |
| 62 | public static final boolean ENABLE_PPPOE_DEFAULT = false; |
| 63 | |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 64 | public static final String WAIT_FOR_REMOVAL = "waitForRemoval"; |
| 65 | public static final boolean WAIT_FOR_REMOVAL_DEFAULT = true; |
Andrea Campanella | 438e1ad | 2021-03-26 11:41:16 +0100 | [diff] [blame] | 66 | |
| 67 | public static final String REQUIRED_DRIVERS_PROPERTY_DELAY = "requiredDriversPropertyDelay"; |
| 68 | public static final int REQUIRED_DRIVERS_PROPERTY_DELAY_DEFAULT = 5; |
yasin sapli | b4b8ee1 | 2021-06-13 18:25:20 +0000 | [diff] [blame] | 69 | |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 70 | public static final String FLOW_PROCESSING_THREADS = "flowProcessingThreads"; |
Andrea Campanella | 61650a1 | 2022-01-24 18:09:44 -0800 | [diff] [blame] | 71 | public static final int FLOW_PROCESSING_THREADS_DEFAULT = 32; |
| 72 | |
| 73 | //Giving it a value of * 4 the number of flows. |
| 74 | public static final String FLOW_EXECUTOR_QUEUE_SIZE = "flowExecutorQueueSize"; |
| 75 | public static final int FLOW_EXECUTOR_QUEUE_SIZE_DEFAULT = 128; |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 76 | |
| 77 | public static final String SUBSCRIBER_PROCESSING_THREADS = "subscriberProcessingThreads"; |
Andrea Campanella | 61650a1 | 2022-01-24 18:09:44 -0800 | [diff] [blame] | 78 | public static final int SUBSCRIBER_PROCESSING_THREADS_DEFAULT = 24; |
Matteo Scandolo | aa2adde | 2021-09-13 12:45:32 -0700 | [diff] [blame] | 79 | |
| 80 | public static final String REQUEUE_DELAY = "requeueDelay"; |
| 81 | public static final int REQUEUE_DELAY_DEFAULT = 500; |
| 82 | |
yasin sapli | b4b8ee1 | 2021-06-13 18:25:20 +0000 | [diff] [blame] | 83 | public static final String UPSTREAM_ONU = "upstreamOnu"; |
| 84 | public static final String UPSTREAM_OLT = "upstreamOlt"; |
| 85 | public static final String DOWNSTREAM_ONU = "downstreamOnu"; |
| 86 | public static final String DOWNSTREAM_OLT = "downstreamOlt"; |
Carmelo Cascone | ca93116 | 2019-07-15 18:22:24 -0700 | [diff] [blame] | 87 | } |