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