Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -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 | |
Ray Milkey | b5646e6 | 2018-10-16 11:42:18 -0700 | [diff] [blame] | 17 | package org.onosproject.openflow.controller.impl; |
| 18 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 19 | /** |
| 20 | * Name/Value constants for properties. |
| 21 | */ |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 22 | |
| 23 | public final class OsgiPropertyConstants { |
| 24 | |
| 25 | private OsgiPropertyConstants() { |
| 26 | } |
| 27 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 28 | public static final String OFPORTS = "openflowPorts"; |
| 29 | public static final String OFPORTS_DEFAULT = "6633,6653"; |
| 30 | |
Ray Milkey | 2d7bca1 | 2018-10-17 14:51:52 -0700 | [diff] [blame] | 31 | public static final String WORKER_THREADS = "workerThreads"; |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 32 | public static final int WORKER_THREADS_DEFAULT = 0; |
| 33 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 34 | public static final String TLS_MODE = "tlsMode"; |
| 35 | public static final String TLS_MODE_DEFAULT = ""; |
| 36 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 37 | public static final String KEY_STORE = "keyStore"; |
| 38 | public static final String KEY_STORE_DEFAULT = ""; |
| 39 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 40 | public static final String KEY_STORE_PASSWORD = "keyStorePassword"; |
| 41 | public static final String KEY_STORE_PASSWORD_DEFAULT = ""; |
| 42 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 43 | public static final String TRUST_STORE = "trustStore"; |
| 44 | public static final String TRUST_STORE_DEFAULT = ""; |
| 45 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 46 | public static final String TRUST_STORE_PASSWORD = "trustStorePassword"; |
| 47 | public static final String TRUST_STORE_PASSWORD_DEFAULT = ""; |
| 48 | |
Anton Chigrin | bf14b37 | 2019-01-14 17:29:56 +0200 | [diff] [blame^] | 49 | public static final String DEFAULT_QUEUE_SIZE = "defaultQueueSize"; |
| 50 | public static final String DEBAULT_BULK_SIZE = "defaultBulkSize"; |
| 51 | public static final String QUEUE_SIZE_N0 = "queueSizeN0"; |
| 52 | public static final String BULK_SIZE_N0 = "bulkSizeN0"; |
| 53 | public static final String QUEUE_SIZE_N1 = "queueSizeN1"; |
| 54 | public static final String BULK_SIZE_N1 = "bulkSizeN1"; |
| 55 | public static final String QUEUE_SIZE_N2 = "queueSizeN2"; |
| 56 | public static final String BULK_SIZE_N2 = "bulkSizeN2"; |
| 57 | public static final String QUEUE_SIZE_N3 = "queueSizeN3"; |
| 58 | public static final String BULK_SIZE_N3 = "bulkSizeN3"; |
| 59 | public static final String QUEUE_SIZE_N4 = "queueSizeN4"; |
| 60 | public static final String BULK_SIZE_N4 = "bulkSizeN4"; |
| 61 | public static final String QUEUE_SIZE_N5 = "queueSizeN5"; |
| 62 | public static final String BULK_SIZE_N5 = "bulkSizeN5"; |
| 63 | public static final String QUEUE_SIZE_N6 = "queueSizeN6"; |
| 64 | public static final String BULK_SIZE_N6 = "bulkSizeN6"; |
| 65 | |
| 66 | public static final int DEFAULT_QUEUE_SIZE_DEFAULT = 5000; |
| 67 | public static final int QUEUE_SIZE_N0_DEFAULT = 1000; |
| 68 | public static final int BULK_SIZE_DEFAULT = 100; |
| 69 | public static final int QUEUE_SIZE_DEFAULT = 1; |
| 70 | |
Ray Milkey | 309f9a0 | 2018-10-12 14:09:37 -0700 | [diff] [blame] | 71 | } |