Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 1 | /* |
| 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 | |
| 17 | package org.onosproject.net; |
| 18 | |
| 19 | public final class OsgiPropertyConstants { |
| 20 | private OsgiPropertyConstants() { |
| 21 | } |
| 22 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 23 | public static final String USE_REGION_FOR_BALANCE_ROLES = "useRegionForBalanceRoles"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 24 | public static final boolean USE_REGION_FOR_BALANCE_ROLES_DEFAULT = false; |
| 25 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 26 | public static final String REBALANCE_ROLES_ON_UPGRADE = "rebalanceRolesOnUpgrade"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 27 | public static final boolean REBALANCE_ROLES_ON_UPGRADE_DEFAULT = true; |
| 28 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 29 | public static final String SHARED_THREAD_POOL_SIZE = "sharedThreadPoolSize"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 30 | public static final int SHARED_THREAD_POOL_SIZE_DEFAULT = 30; |
| 31 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 32 | public static final String MAX_EVENT_TIME_LIMIT = "maxEventTimeLimit"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 33 | public static final int MAX_EVENT_TIME_LIMIT_DEFAULT = 2000; |
| 34 | |
Thomas Vachuska | f566fa2 | 2018-10-30 14:03:36 -0700 | [diff] [blame] | 35 | public static final String CALCULATE_PERFORMANCE_CHECK = "sharedThreadPerformanceCheck"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 36 | public static final boolean CALCULATE_PERFORMANCE_CHECK_DEFAULT = false; |
| 37 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 38 | public static final String ALLOW_EXTRANEOUS_RULES = "allowExtraneousRules"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 39 | public static final boolean ALLOW_EXTRANEOUS_RULES_DEFAULT = false; |
| 40 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 41 | public static final String PURGE_ON_DISCONNECTION = "purgeOnDisconnection"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 42 | public static final boolean PURGE_ON_DISCONNECTION_DEFAULT = false; |
| 43 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 44 | public static final String POLL_FREQUENCY = "fallbackFlowPollFrequency"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 45 | public static final int POLL_FREQUENCY_DEFAULT = 30; |
| 46 | |
Thomas Vachuska | f566fa2 | 2018-10-30 14:03:36 -0700 | [diff] [blame] | 47 | public static final String FOM_NUM_THREADS = "numThreads"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 48 | public static final int FOM_NUM_THREADS_DEFAULT = 4; |
| 49 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 50 | public static final String GM_POLL_FREQUENCY = "fallbackGroupPollFrequency"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 51 | public static final int GM_POLL_FREQUENCY_DEFAULT = 30; |
| 52 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 53 | public static final String GM_PURGE_ON_DISCONNECTION = "purgeOnDisconnection"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 54 | public static final boolean GM_PURGE_ON_DISCONNECTION_DEFAULT = false; |
| 55 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 56 | public static final String HM_ALLOW_DUPLICATE_IPS = "allowDuplicateIps"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 57 | public static final boolean HM_ALLOW_DUPLICATE_IPS_DEFAULT = true; |
| 58 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 59 | public static final String HM_MONITOR_HOSTS = "monitorHosts"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 60 | public static final boolean HM_MONITOR_HOSTS_DEFAULT = false; |
| 61 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 62 | public static final String HM_PROBE_RATE = "probeRate"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 63 | public static final long HM_PROBE_RATE_DEFAULT = 30000; |
| 64 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 65 | public static final String HM_GREEDY_LEARNING_IPV6 = "greedyLearningIpv6"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 66 | public static final boolean HM_GREEDY_LEARNING_IPV6_DEFAULT = false; |
| 67 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 68 | public static final String ICR_USE_FLOW_OBJECTIVES = "useFlowObjectives"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 69 | public static final boolean ICR_USE_FLOW_OBJECTIVES_DEFAULT = false; |
| 70 | |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 71 | public static final String ICR_LABEL_SELECTION = "labelSelection"; |
| 72 | public static final String ICR_LABEL_SELECTION_DEFAULT = "RANDOM"; |
| 73 | |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 74 | public static final String ICR_OPT_LABEL_SELECTION = "optLabelSelection"; |
| 75 | public static final String ICR_OPT_LABEL_SELECTION_DEFAULT = "NONE"; |
| 76 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 77 | public static final String ICR_FLOW_OPTIMIZATION = "optimizeInstructions"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 78 | public static final boolean ICR_FLOW_OPTIMIZATION_DEFAULT = false; |
| 79 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 80 | public static final String ICR_COPY_TTL = "useCopyTtl"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 81 | public static final boolean ICR_COPY_TTL_DEFAULT = false; |
| 82 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 83 | public static final String ICU_ENABLED = "enabled"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 84 | public static final boolean ICU_ENABLED_DEFAULT = true; |
| 85 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 86 | public static final String ICU_PERIOD = "period"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 87 | public static final int ICU_PERIOD_DEFAULT = 5; //seconds |
| 88 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 89 | public static final String ICU_RETRY_THRESHOLD = "retryThreshold"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 90 | public static final int ICU_RETRY_THRESHOLD_DEFAULT = 5; //tries |
| 91 | |
Thomas Vachuska | f566fa2 | 2018-10-30 14:03:36 -0700 | [diff] [blame] | 92 | public static final String NON_DISRUPTIVE_INSTALLATION_WAITING_TIME = "nonDisruptiveInstallationWaitingTime"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 93 | public static final int NON_DISRUPTIVE_INSTALLATION_WAITING_TIME_DEFAULT = 1; |
| 94 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 95 | public static final String IM_SKIP_RELEASE_RESOURCES_ON_WITHDRAWAL = "skipReleaseResourcesOnWithdrawal"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 96 | public static final boolean IM_SKIP_RELEASE_RESOURCES_ON_WITHDRAWAL_DEFAULT = false; |
| 97 | |
Thomas Vachuska | f566fa2 | 2018-10-30 14:03:36 -0700 | [diff] [blame] | 98 | public static final String IM_NUM_THREADS = "numThreads"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 99 | public static final int IM_NUM_THREADS_DEFAULT = 12; |
| 100 | |
Thomas Vachuska | f566fa2 | 2018-10-30 14:03:36 -0700 | [diff] [blame] | 101 | public static final String MM_NUM_THREADS = "numThreads"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 102 | public static final int MM_NUM_THREADS_DEFAULT = 12; |
| 103 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 104 | public static final String MM_FALLBACK_METER_POLL_FREQUENCY = "fallbackMeterPollFrequency"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 105 | public static final int MM_FALLBACK_METER_POLL_FREQUENCY_DEFAULT = 30; |
| 106 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 107 | public static final String NRM_ARP_ENABLED = "arpEnabled"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 108 | public static final boolean NRM_ARP_ENABLED_DEFAULT = true; |
| 109 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 110 | public static final String NRM_NDP_ENABLED = "ndpEnabled"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 111 | public static final boolean NRM_NDP_ENABLED_DEFAULT = false; |
| 112 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 113 | public static final String NRM_REQUEST_INTERCEPTS_ENABLED = "requestInterceptsEnabled"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 114 | public static final boolean NRM_REQUEST_INTERCEPTS_ENABLED_DEFAULT = true; |
| 115 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 116 | public static final String PWM_PROBE_INTERVAL = "probeInterval"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 117 | public static final int PWM_PROBE_INTERVAL_DEFAULT = 15; |
| 118 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 119 | public static final String DTP_MAX_EVENTS = "maxEvents"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 120 | public static final int DTP_MAX_EVENTS_DEFAULT = 1000; |
| 121 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 122 | public static final String DTP_MAX_IDLE_MS = "maxIdleMs"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 123 | public static final int DTP_MAX_IDLE_MS_DEFAULT = 10; |
| 124 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 125 | public static final String DTP_MAX_BATCH_MS = "maxBatchMs"; |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 126 | public static final int DTP_MAX_BATCH_MS_DEFAULT = 50; |
arjunek1992 | f6353d4 | 2018-11-20 08:56:29 -0500 | [diff] [blame] | 127 | |
Thomas Vachuska | bd8ddfe | 2018-12-13 12:58:48 -0800 | [diff] [blame] | 128 | public static final String AUDIT_ENABLED = "auditEnabled"; |
| 129 | public static final boolean AUDIT_ENABLED_DEFAULT = false; |
arjunek1992 | f6353d4 | 2018-11-20 08:56:29 -0500 | [diff] [blame] | 130 | |
Thomas Vachuska | bd8ddfe | 2018-12-13 12:58:48 -0800 | [diff] [blame] | 131 | public static final String AUDIT_LOGGER = "auditLogger"; |
| 132 | public static final String AUDIT_LOGGER_DEFAULT = "securityAudit"; |
arjunek1992 | f6353d4 | 2018-11-20 08:56:29 -0500 | [diff] [blame] | 133 | |
Ray Milkey | d04e227 | 2018-10-16 18:20:18 -0700 | [diff] [blame] | 134 | } |