blob: 9dccbcf40568f37ee3b38d9bebea1fe43e8d8368 [file] [log] [blame]
Pier6a0c4de2018-03-18 16:01:30 -07001# Controller
2#-----------------------
3#CTRL1_IP="127.0.0.1"
4#CTRL1_PORT="6653"
5#CTRL2_IP="127.0.0.1"
6#CTRL2_PORT="6653"
7#CTRL3_IP="127.0.0.1"
8#CTRL3_PORT="6653"
9
10#LISTEN_IP="0.0.0.0"
11#LISTEN_PORT="6653"
12
13# Datapath ID
14#-----------------------
15#DPID=`cat /sys/class/net/ma1/address | sed 's/://g'`
16#DPID="1"
17
18# In-band management
19#-----------------------
20#IB_MGMT_VLAN="1"
21#IB_MGMT_PORT_ARG="-p 5"
22
23# Debug options
24#-----------------------
25#OPT_ARGS="-a2 -d4 -c1 -c2 -c3 -c4 -c5"
26
27# Maximu number of log files (valid: 0-10; 0:disble logging)
28MAX_LOG_NUM=0
29
30#----------------------------------------------------------------------------
31# OPT_ARGS:
32#----------------------------------------------------------------------------
33#
34# Controllers:
35# -i, --dpid=DATAPATHID The Datapath ID for this switch.
36# -l, --listen=IP[:PORT] A local IP address on which to listen for
37# controllers (may use this option multiple times)
38# -t, --controller=IP[:PORT] A Controller IP address (may use this option
39# multiple times)
40#
41# TLS:
42# --cacert=CACERTIFICATE The Certificate Authority certficate
43# --cert=CERTIFICATE The SSL public certificate file for the switch
44# --cipher=CIPHER The list of ciphers to use
45# --key=KEYFILE The SSL private key file for the switch
46#
47# Management VLAN:
48# -p, --port=MGMTPORT A port in the mgmt VLAN (may use this option
49# multiple times)
50# -v, --vlan=MGMTVLAN The VLAN to be reserved for management.
51#
52# Debugging:
53# -a, --agentdebuglvl=AGENTDEBUGLVL
54# The verbosity of OF Agent debug messages.
55# -c, --ofdpadebugcomp=OFPDACOMPONENT
56# The OF-DPA component for which debug messages are
57# enabled.
58# -d, --ofdpadebuglvl=OFDPADEBUGLVL
59# The verbosity of OF-DPA debug messages.
60#
61#
62# Note:
63# IPv6 address parameters are specified following RFC3986.
64# To include a port number, enclose the IPv6 address in square brackets:
65# Example: -t [2001:db8:1f70::999:de8:7648:6e8]:6653
66#
67# To use TLS when connecting to a controller, prefix the IP address with "tls:".
68# Example: -t tls:[2001:db8:1f70::999:de8:7648:6e8]:6653
69#
70# Note: it is necessary to have a private key and public certificate to use TLS.
71# If the CA certificate is not provided, then the switch does not validate
72# certificates. This can be helpful if self-signed certificates are being used.
73#
74# Default values:
75# No controllers connections
76# Note: may listen on mutiple IP addresses. E.g., IPv4 and IPv6.
77# OFAGENTDEBUGLVL = 0
78# Valid OF Agent debug levels are 0 - 2.
79# OFDPADEBUGLVL = 0
80# Valid OF-DPA debug levels are 0 - 4.
81# No components enabled for debug:
82# Valid OF-DPA components are:
83# 1 = API
84# 2 = Mapping
85# 3 = RPC
86# 4 = OFDB
87# 5 = Datapath
88# 6 = G8131
89# 7 = Y1731
90# 8 = sFlow
91# 9 = SDK
92# DATAPATHID = 0xda7a
93# No defaults for the management VLAN and port(s). The management VLAN feature
94# is disabled by default.
95# CIPHER = HIGH
96# CACERTIFICATE =
97# KEYFILE = /etc/ssl/private/switch.key
98# CERTIFICATE = /etc/ssl/certs/switch.crt
99#----------------------------------------------------------------------------