blob: 36574365aff1a73596b72f18b46d987059704195 [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
Saurav Das2d3777a2020-08-07 18:48:51 -070061 public static final String EAPOL_DELETE_RETRY_MAX_ATTEMPS = "eapolDeleteRetryMaxAttempts";
62 public static final int EAPOL_DELETE_RETRY_MAX_ATTEMPS_DEFAULT = 3;
Matteo Scandoloa4aaa972020-10-23 15:24:38 -070063
64 public static final String PROVISION_DELAY = "provisionDelay";
65 public static final int PROVISION_DELAY_DEFAULT = 100;
Andrea Campanella438e1ad2021-03-26 11:41:16 +010066
67 public static final String REQUIRED_DRIVERS_PROPERTY_DELAY = "requiredDriversPropertyDelay";
68 public static final int REQUIRED_DRIVERS_PROPERTY_DELAY_DEFAULT = 5;
yasin saplib4b8ee12021-06-13 18:25:20 +000069
70 public static final String UPSTREAM_ONU = "upstreamOnu";
71 public static final String UPSTREAM_OLT = "upstreamOlt";
72 public static final String DOWNSTREAM_ONU = "downstreamOnu";
73 public static final String DOWNSTREAM_OLT = "downstreamOlt";
Carmelo Casconeca931162019-07-15 18:22:24 -070074}