blob: 85626865284e0b392a7334319da09acaa61fcd6d [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
17/**
18 * Name/Value constants for properties.
19 */
20package org.onosproject.openflow.controller.impl;
21
22public final class OsgiPropertyConstants {
23
24 private OsgiPropertyConstants() {
25 }
26
27 //@Property(name = "openflowPorts", value = DEFAULT_OFPORT,
28 // label = "Port numbers (comma separated) used by OpenFlow protocol; default is 6633,6653")
29 public static final String OFPORTS = "openflowPorts";
30 public static final String OFPORTS_DEFAULT = "6633,6653";
31
32 //@Property(name = "workerThreads", intValue = DEFAULT_WORKER_THREADS,
33 // label = "Number of controller worker threads")
34 public static final String WORKER_THREADS = "workerThreads:Integer";
35 public static final int WORKER_THREADS_DEFAULT = 0;
36
37 //@Property(name = "tlsMode", value = "",
38 // label = "TLS mode for OpenFlow channel; options are: disabled [default], enabled, strict")
39 public static final String TLS_MODE = "tlsMode";
40 public static final String TLS_MODE_DEFAULT = "";
41
42 //@Property(name = "keyStore", value = "",
43 // label = "File path to key store for TLS connections")
44 public static final String KEY_STORE = "keyStore";
45 public static final String KEY_STORE_DEFAULT = "";
46
47 //@Property(name = "keyStorePassword", value = "",
48 // label = "Key store password")
49 public static final String KEY_STORE_PASSWORD = "keyStorePassword";
50 public static final String KEY_STORE_PASSWORD_DEFAULT = "";
51
52 //@Property(name = "trustStore", value = "",
53 // label = "File path to trust store for TLS connections")
54 public static final String TRUST_STORE = "trustStore";
55 public static final String TRUST_STORE_DEFAULT = "";
56
57 //@Property(name = "trustStorePassword", value = "",
58 // label = "Trust store password")
59 public static final String TRUST_STORE_PASSWORD = "trustStorePassword";
60 public static final String TRUST_STORE_PASSWORD_DEFAULT = "";
61
62}