blob: 9dc380929a515c50481b77d9a14b099177564660 [file] [log] [blame]
Ray Milkey309f9a02018-10-12 14:09:37 -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
Ray Milkeyb5646e62018-10-16 11:42:18 -070017package org.onosproject.openflow.controller.impl;
18
Ray Milkey309f9a02018-10-12 14:09:37 -070019/**
20 * Name/Value constants for properties.
21 */
Ray Milkey309f9a02018-10-12 14:09:37 -070022
23public final class OsgiPropertyConstants {
24
25 private OsgiPropertyConstants() {
26 }
27
Ray Milkey309f9a02018-10-12 14:09:37 -070028 public static final String OFPORTS = "openflowPorts";
29 public static final String OFPORTS_DEFAULT = "6633,6653";
30
Ray Milkey2d7bca12018-10-17 14:51:52 -070031 public static final String WORKER_THREADS = "workerThreads";
Ray Milkey309f9a02018-10-12 14:09:37 -070032 public static final int WORKER_THREADS_DEFAULT = 0;
33
Ray Milkey309f9a02018-10-12 14:09:37 -070034 public static final String TLS_MODE = "tlsMode";
35 public static final String TLS_MODE_DEFAULT = "";
36
Ray Milkey309f9a02018-10-12 14:09:37 -070037 public static final String KEY_STORE = "keyStore";
38 public static final String KEY_STORE_DEFAULT = "";
39
Ray Milkey309f9a02018-10-12 14:09:37 -070040 public static final String KEY_STORE_PASSWORD = "keyStorePassword";
41 public static final String KEY_STORE_PASSWORD_DEFAULT = "";
42
Ray Milkey309f9a02018-10-12 14:09:37 -070043 public static final String TRUST_STORE = "trustStore";
44 public static final String TRUST_STORE_DEFAULT = "";
45
Ray Milkey309f9a02018-10-12 14:09:37 -070046 public static final String TRUST_STORE_PASSWORD = "trustStorePassword";
47 public static final String TRUST_STORE_PASSWORD_DEFAULT = "";
48
Anton Chigrinbf14b372019-01-14 17:29:56 +020049 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 Milkey309f9a02018-10-12 14:09:37 -070071}