blob: a73a42b81857c7cd01b052228a0049b1ede7b06d [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
Gustavo Silva5c492dd2021-02-12 10:21:11 -030058 public static final String ENABLE_PPPOE = "enablePppoe";
59 public static final boolean ENABLE_PPPOE_DEFAULT = false;
60
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070061 public static final String WAIT_FOR_REMOVAL = "waitForRemoval";
62 public static final boolean WAIT_FOR_REMOVAL_DEFAULT = true;
Andrea Campanella438e1ad2021-03-26 11:41:16 +010063
64 public static final String REQUIRED_DRIVERS_PROPERTY_DELAY = "requiredDriversPropertyDelay";
65 public static final int REQUIRED_DRIVERS_PROPERTY_DELAY_DEFAULT = 5;
yasin saplib4b8ee12021-06-13 18:25:20 +000066
Matteo Scandoloaa2adde2021-09-13 12:45:32 -070067 public static final String FLOW_PROCESSING_THREADS = "flowProcessingThreads";
68 public static final int FLOW_PROCESSING_THREADS_DEFAULT = 8;
69
70 public static final String SUBSCRIBER_PROCESSING_THREADS = "subscriberProcessingThreads";
71 public static final int SUBSCRIBER_PROCESSING_THREADS_DEFAULT = 8;
72
73 public static final String REQUEUE_DELAY = "requeueDelay";
74 public static final int REQUEUE_DELAY_DEFAULT = 500;
75
yasin saplib4b8ee12021-06-13 18:25:20 +000076 public static final String UPSTREAM_ONU = "upstreamOnu";
77 public static final String UPSTREAM_OLT = "upstreamOlt";
78 public static final String DOWNSTREAM_ONU = "downstreamOnu";
79 public static final String DOWNSTREAM_OLT = "downstreamOlt";
Carmelo Casconeca931162019-07-15 18:22:24 -070080}