blob: 224ac7eddab290546f8caf1a6879b7f2ba1f6a52 [file] [log] [blame]
Thomas Vachuska4167c3f2018-10-16 07:16:31 -07001/*
2 * Copyright 2018-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.onosproject.provider.lldp.impl;
18
19/**
20 * Constants for default values of configurable properties.
21 */
22public final class OsgiPropertyConstants {
23
24 private OsgiPropertyConstants() {}
25
26 public static final String PROP_ENABLED = "enabled";
Thomas Vachuska1c23d042018-10-17 10:05:19 -070027 public static final boolean ENABLED_DEFAULT = true;
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070028
Ray Milkeybd508ed2019-03-19 14:22:02 -070029 public static final String PROP_USE_BDDP = "useBddp";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070030 public static final boolean USE_BDDP_DEFAULT = true;
31
32 public static final String PROP_PROBE_RATE = "probeRate";
33 public static final int PROBE_RATE_DEFAULT = 3000;
34
35 public static final String PROP_STALE_LINK_AGE = "staleLinkAge";
36 public static final int STALE_LINK_AGE_DEFAULT = 10000;
37
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070038 public static final String PROP_DISCOVERY_DELAY = "maxDiscoveryDelayMs";
Ray Milkeyd17309c2018-10-18 09:34:54 -070039 public static final int DISCOVERY_DELAY_DEFAULT = 1000;
40
Ravi Dewangan5edc84a2019-06-05 21:06:12 +000041 public static final String PROP_USE_STALE_LINK_AGE = "useStaleLinkAge";
42 public static final boolean USE_STALE_LINK_AGE_DEFAULT = true;
43
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070044}