blob: a88754f90bd6510d85b6da191a470768af2f632a [file] [log] [blame]
Ray Milkeyd04e2272018-10-16 18:20:18 -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.net;
18
19public final class OsgiPropertyConstants {
20 private OsgiPropertyConstants() {
21 }
22
Ray Milkey2d7bca12018-10-17 14:51:52 -070023 public static final String USE_REGION_FOR_BALANCE_ROLES = "useRegionForBalanceRoles";
Ray Milkeyd04e2272018-10-16 18:20:18 -070024 public static final boolean USE_REGION_FOR_BALANCE_ROLES_DEFAULT = false;
25
Ray Milkey2d7bca12018-10-17 14:51:52 -070026 public static final String REBALANCE_ROLES_ON_UPGRADE = "rebalanceRolesOnUpgrade";
Ray Milkeyd04e2272018-10-16 18:20:18 -070027 public static final boolean REBALANCE_ROLES_ON_UPGRADE_DEFAULT = true;
28
Ray Milkey2d7bca12018-10-17 14:51:52 -070029 public static final String SHARED_THREAD_POOL_SIZE = "sharedThreadPoolSize";
Ray Milkeyd04e2272018-10-16 18:20:18 -070030 public static final int SHARED_THREAD_POOL_SIZE_DEFAULT = 30;
31
Ray Milkey2d7bca12018-10-17 14:51:52 -070032 public static final String MAX_EVENT_TIME_LIMIT = "maxEventTimeLimit";
Ray Milkeyd04e2272018-10-16 18:20:18 -070033 public static final int MAX_EVENT_TIME_LIMIT_DEFAULT = 2000;
34
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070035 public static final String CALCULATE_PERFORMANCE_CHECK = "sharedThreadPerformanceCheck";
Ray Milkeyd04e2272018-10-16 18:20:18 -070036 public static final boolean CALCULATE_PERFORMANCE_CHECK_DEFAULT = false;
37
Ray Milkey2d7bca12018-10-17 14:51:52 -070038 public static final String ALLOW_EXTRANEOUS_RULES = "allowExtraneousRules";
Ray Milkeyd04e2272018-10-16 18:20:18 -070039 public static final boolean ALLOW_EXTRANEOUS_RULES_DEFAULT = false;
40
Ray Milkey2d7bca12018-10-17 14:51:52 -070041 public static final String PURGE_ON_DISCONNECTION = "purgeOnDisconnection";
Ray Milkeyd04e2272018-10-16 18:20:18 -070042 public static final boolean PURGE_ON_DISCONNECTION_DEFAULT = false;
43
Ray Milkey2d7bca12018-10-17 14:51:52 -070044 public static final String POLL_FREQUENCY = "fallbackFlowPollFrequency";
Ray Milkeyd04e2272018-10-16 18:20:18 -070045 public static final int POLL_FREQUENCY_DEFAULT = 30;
46
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070047 public static final String FOM_NUM_THREADS = "numThreads";
Ray Milkeyd04e2272018-10-16 18:20:18 -070048 public static final int FOM_NUM_THREADS_DEFAULT = 4;
49
Ray Milkey2d7bca12018-10-17 14:51:52 -070050 public static final String GM_POLL_FREQUENCY = "fallbackGroupPollFrequency";
Ray Milkeyd04e2272018-10-16 18:20:18 -070051 public static final int GM_POLL_FREQUENCY_DEFAULT = 30;
52
Ray Milkey2d7bca12018-10-17 14:51:52 -070053 public static final String GM_PURGE_ON_DISCONNECTION = "purgeOnDisconnection";
Ray Milkeyd04e2272018-10-16 18:20:18 -070054 public static final boolean GM_PURGE_ON_DISCONNECTION_DEFAULT = false;
55
Ray Milkey2d7bca12018-10-17 14:51:52 -070056 public static final String HM_ALLOW_DUPLICATE_IPS = "allowDuplicateIps";
Ray Milkeyd04e2272018-10-16 18:20:18 -070057 public static final boolean HM_ALLOW_DUPLICATE_IPS_DEFAULT = true;
58
Ray Milkey2d7bca12018-10-17 14:51:52 -070059 public static final String HM_MONITOR_HOSTS = "monitorHosts";
Ray Milkeyd04e2272018-10-16 18:20:18 -070060 public static final boolean HM_MONITOR_HOSTS_DEFAULT = false;
61
Ray Milkey2d7bca12018-10-17 14:51:52 -070062 public static final String HM_PROBE_RATE = "probeRate";
Ray Milkeyd04e2272018-10-16 18:20:18 -070063 public static final long HM_PROBE_RATE_DEFAULT = 30000;
64
Ray Milkey2d7bca12018-10-17 14:51:52 -070065 public static final String HM_GREEDY_LEARNING_IPV6 = "greedyLearningIpv6";
Ray Milkeyd04e2272018-10-16 18:20:18 -070066 public static final boolean HM_GREEDY_LEARNING_IPV6_DEFAULT = false;
67
Ray Milkey2d7bca12018-10-17 14:51:52 -070068 public static final String ICR_USE_FLOW_OBJECTIVES = "useFlowObjectives";
Ray Milkeyd04e2272018-10-16 18:20:18 -070069 public static final boolean ICR_USE_FLOW_OBJECTIVES_DEFAULT = false;
70
Ray Milkeyd04e2272018-10-16 18:20:18 -070071 public static final String ICR_LABEL_SELECTION = "labelSelection";
72 public static final String ICR_LABEL_SELECTION_DEFAULT = "RANDOM";
73
Ray Milkeyd04e2272018-10-16 18:20:18 -070074 public static final String ICR_OPT_LABEL_SELECTION = "optLabelSelection";
75 public static final String ICR_OPT_LABEL_SELECTION_DEFAULT = "NONE";
76
Ray Milkey2d7bca12018-10-17 14:51:52 -070077 public static final String ICR_FLOW_OPTIMIZATION = "optimizeInstructions";
Ray Milkeyd04e2272018-10-16 18:20:18 -070078 public static final boolean ICR_FLOW_OPTIMIZATION_DEFAULT = false;
79
Ray Milkey2d7bca12018-10-17 14:51:52 -070080 public static final String ICR_COPY_TTL = "useCopyTtl";
Ray Milkeyd04e2272018-10-16 18:20:18 -070081 public static final boolean ICR_COPY_TTL_DEFAULT = false;
82
Ray Milkey2d7bca12018-10-17 14:51:52 -070083 public static final String ICU_ENABLED = "enabled";
Ray Milkeyd04e2272018-10-16 18:20:18 -070084 public static final boolean ICU_ENABLED_DEFAULT = true;
85
Ray Milkey2d7bca12018-10-17 14:51:52 -070086 public static final String ICU_PERIOD = "period";
Ray Milkeyd04e2272018-10-16 18:20:18 -070087 public static final int ICU_PERIOD_DEFAULT = 5; //seconds
88
Ray Milkey2d7bca12018-10-17 14:51:52 -070089 public static final String ICU_RETRY_THRESHOLD = "retryThreshold";
Ray Milkeyd04e2272018-10-16 18:20:18 -070090 public static final int ICU_RETRY_THRESHOLD_DEFAULT = 5; //tries
91
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070092 public static final String NON_DISRUPTIVE_INSTALLATION_WAITING_TIME = "nonDisruptiveInstallationWaitingTime";
Ray Milkeyd04e2272018-10-16 18:20:18 -070093 public static final int NON_DISRUPTIVE_INSTALLATION_WAITING_TIME_DEFAULT = 1;
94
Ray Milkey2d7bca12018-10-17 14:51:52 -070095 public static final String IM_SKIP_RELEASE_RESOURCES_ON_WITHDRAWAL = "skipReleaseResourcesOnWithdrawal";
Ray Milkeyd04e2272018-10-16 18:20:18 -070096 public static final boolean IM_SKIP_RELEASE_RESOURCES_ON_WITHDRAWAL_DEFAULT = false;
97
Thomas Vachuskaf566fa22018-10-30 14:03:36 -070098 public static final String IM_NUM_THREADS = "numThreads";
Ray Milkeyd04e2272018-10-16 18:20:18 -070099 public static final int IM_NUM_THREADS_DEFAULT = 12;
100
Thomas Vachuskaf566fa22018-10-30 14:03:36 -0700101 public static final String MM_NUM_THREADS = "numThreads";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700102 public static final int MM_NUM_THREADS_DEFAULT = 12;
103
Ray Milkey2d7bca12018-10-17 14:51:52 -0700104 public static final String MM_FALLBACK_METER_POLL_FREQUENCY = "fallbackMeterPollFrequency";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700105 public static final int MM_FALLBACK_METER_POLL_FREQUENCY_DEFAULT = 30;
106
Ray Milkey2d7bca12018-10-17 14:51:52 -0700107 public static final String NRM_ARP_ENABLED = "arpEnabled";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700108 public static final boolean NRM_ARP_ENABLED_DEFAULT = true;
109
Ray Milkey2d7bca12018-10-17 14:51:52 -0700110 public static final String NRM_NDP_ENABLED = "ndpEnabled";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700111 public static final boolean NRM_NDP_ENABLED_DEFAULT = false;
112
Ray Milkey2d7bca12018-10-17 14:51:52 -0700113 public static final String NRM_REQUEST_INTERCEPTS_ENABLED = "requestInterceptsEnabled";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700114 public static final boolean NRM_REQUEST_INTERCEPTS_ENABLED_DEFAULT = true;
115
Ray Milkey2d7bca12018-10-17 14:51:52 -0700116 public static final String PWM_PROBE_INTERVAL = "probeInterval";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700117 public static final int PWM_PROBE_INTERVAL_DEFAULT = 15;
118
Ray Milkey2d7bca12018-10-17 14:51:52 -0700119 public static final String DTP_MAX_EVENTS = "maxEvents";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700120 public static final int DTP_MAX_EVENTS_DEFAULT = 1000;
121
Ray Milkey2d7bca12018-10-17 14:51:52 -0700122 public static final String DTP_MAX_IDLE_MS = "maxIdleMs";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700123 public static final int DTP_MAX_IDLE_MS_DEFAULT = 10;
124
Ray Milkey2d7bca12018-10-17 14:51:52 -0700125 public static final String DTP_MAX_BATCH_MS = "maxBatchMs";
Ray Milkeyd04e2272018-10-16 18:20:18 -0700126 public static final int DTP_MAX_BATCH_MS_DEFAULT = 50;
arjunek1992f6353d42018-11-20 08:56:29 -0500127
Thomas Vachuskabd8ddfe2018-12-13 12:58:48 -0800128 public static final String AUDIT_ENABLED = "auditEnabled";
129 public static final boolean AUDIT_ENABLED_DEFAULT = false;
arjunek1992f6353d42018-11-20 08:56:29 -0500130
Thomas Vachuskabd8ddfe2018-12-13 12:58:48 -0800131 public static final String AUDIT_LOGGER = "auditLogger";
132 public static final String AUDIT_LOGGER_DEFAULT = "securityAudit";
arjunek1992f6353d42018-11-20 08:56:29 -0500133
pier8b3aef42019-03-11 15:14:02 -0700134 public static final String FOM_ACCUMULATOR_MAX_OBJECTIVES = "accumulatorMaxObjectives";
135 public static final int FOM_ACCUMULATOR_MAX_OBJECTIVES_DEFAULT = 1000;
136
137 public static final String FOM_ACCUMULATOR_MAX_IDLE_MILLIS = "accumulatorMaxIdleMillis";
138 public static final int FOM_ACCUMULATOR_MAX_IDLE_MILLIS_DEFAULT = 10;
139
140 public static final String FOM_ACCUMULATOR_MAX_BATCH_MILLIS = "accumulatorMaxBatchMillis";
141 public static final int FOM_ACCUMULATOR_MAX_BATCH_MILLIS_DEFAULT = 500;
142
Ray Milkeyd04e2272018-10-16 18:20:18 -0700143}