blob: 8cd6d8e7ff2363e8c47d40b33d2922d5a579b285 [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.nil;
18
19/**
20 * Constants for default values of configurable properties.
21 */
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070022public final class OsgiPropertyConstants {
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070023
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070024 private OsgiPropertyConstants() {}
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070025
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070026 public static final String ENABLED = "enabled";
27 public static final boolean ENABLED_DEFAULT = false;
28
29 public static final String TOPO_SHAPE = "topoShape";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070030 public static final String TOPO_SHAPE_DEFAULT = "configured";
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070031
32 public static final String DEVICE_COUNT = "deviceCount";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070033 public static final int DEVICE_COUNT_DEFAULT = 10;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070034
35 public static final String HOST_COUNT = "hostCount";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070036 public static final int HOST_COUNT_DEFAULT = 5;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070037
38 public static final String PACKET_RATE = "packetRate";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070039 public static final int PACKET_RATE_DEFAULT = 0;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070040
41 public static final String MUTATION_RATE = "mutationRate";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070042 public static final double MUTATION_RATE_DEFAULT = 0;
Thomas Vachuska00b5d4f2018-10-30 15:13:20 -070043
44 public static final String MASTERSHIP = "mastership";
Thomas Vachuska4167c3f2018-10-16 07:16:31 -070045 public static final String MASTERSHIP_DEFAULT = "random";
46
47}