blob: d03eab49c06d0e1d477c08191410c50e18bedc94 [file] [log] [blame]
Carmelo Casconeca931162019-07-15 18:22:24 -07001/*
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
17package org.opencord.olt.impl;
18
19/**
20 * Constants for default values of configurable properties.
21 */
22public final class OsgiPropertyConstants {
23
24 private OsgiPropertyConstants() {
25 }
26
Andrea Campanellacbbb7952019-11-25 06:38:41 +000027 public static final String DEFAULT_MCAST_SERVICE_NAME = "multicastServiceName";
28 public static final String DEFAULT_MCAST_SERVICE_NAME_DEFAULT = "MC";
29
Saurav Dasf62cea82020-08-26 17:43:04 -070030 public static final String ENABLE_DHCP_ON_NNI = "enableDhcpOnNni";
31 public static final boolean ENABLE_DHCP_ON_NNI_DEFAULT = false;
Carmelo Casconeca931162019-07-15 18:22:24 -070032
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 Dasf62cea82020-08-26 17:43:04 -070039 public static final String ENABLE_IGMP_ON_NNI = "enableIgmpOnNni";
40 public static final boolean ENABLE_IGMP_ON_NNI_DEFAULT = false;
Carmelo Casconeca931162019-07-15 18:22:24 -070041
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 Campanella7e1eb712021-09-22 14:27:35 +020048 public static final String ZERO_REFERENCE_METER_COUNT = "zeroReferenceMeterCount";
49 public static final int ZERO_REFERENCE_METER_COUNT_DEFAULT = 3;
50
51
Carmelo Casconeca931162019-07-15 18:22:24 -070052 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 Das2d3777a2020-08-07 18:48:51 -070057
yasin sapli0823c932022-01-26 11:26:09 +000058 public static final String ENABLE_PPPOE_ON_NNI = "enablePppoeOnNni";
59 public static final boolean ENABLE_PPPOE_ON_NNI_DEFAULT = false;
60
Gustavo Silva5c492dd2021-02-12 10:21:11 -030061 public static final String ENABLE_PPPOE = "enablePppoe";
62 public static final boolean ENABLE_PPPOE_DEFAULT = false;
63
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070064 public static final String WAIT_FOR_REMOVAL = "waitForRemoval";
65 public static final boolean WAIT_FOR_REMOVAL_DEFAULT = true;
Andrea Campanella438e1ad2021-03-26 11:41:16 +010066
Andrea Campanella833ce2b2022-06-28 16:36:23 +020067 public static final String REMOVE_FLOWS_ON_DISABLE = "removeFlowsOnDisable";
68
69 public static final boolean REMOVE_FLOWS_ON_DISABLE_DEFAULT = true;
70
Andrea Campanella438e1ad2021-03-26 11:41:16 +010071 public static final String REQUIRED_DRIVERS_PROPERTY_DELAY = "requiredDriversPropertyDelay";
72 public static final int REQUIRED_DRIVERS_PROPERTY_DELAY_DEFAULT = 5;
yasin saplib4b8ee12021-06-13 18:25:20 +000073
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070074 public static final String FLOW_PROCESSING_THREADS = "flowProcessingThreads";
Andrea Campanella61650a12022-01-24 18:09:44 -080075 public static final int FLOW_PROCESSING_THREADS_DEFAULT = 32;
76
77 //Giving it a value of * 4 the number of flows.
78 public static final String FLOW_EXECUTOR_QUEUE_SIZE = "flowExecutorQueueSize";
79 public static final int FLOW_EXECUTOR_QUEUE_SIZE_DEFAULT = 128;
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070080
81 public static final String SUBSCRIBER_PROCESSING_THREADS = "subscriberProcessingThreads";
Andrea Campanella61650a12022-01-24 18:09:44 -080082 public static final int SUBSCRIBER_PROCESSING_THREADS_DEFAULT = 24;
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070083
84 public static final String REQUEUE_DELAY = "requeueDelay";
85 public static final int REQUEUE_DELAY_DEFAULT = 500;
86
yasin saplib4b8ee12021-06-13 18:25:20 +000087 public static final String UPSTREAM_ONU = "upstreamOnu";
88 public static final String UPSTREAM_OLT = "upstreamOlt";
89 public static final String DOWNSTREAM_ONU = "downstreamOnu";
90 public static final String DOWNSTREAM_OLT = "downstreamOlt";
Carmelo Casconeca931162019-07-15 18:22:24 -070091}