switch daemon configuration file
is the configuration file for the
switch daemon, switchd(8)
files is divided into two main
- User-defined variables may be defined and user later,
simplifying the configuration file.
- Global runtime settings for
The current line can be extended over multiple lines using a backslash
(‘\’). Comments can be put anywhere in the file using a hash
mark (‘#’), and extend to the end of the current line. Care
should be taken when commenting out multi-line text: the comment is effective
until the end of the entire block.
Argument names not beginning with a letter, digit, or underscore must be quoted.
Additional configuration files can be included with the
keyword, for example:
Macros can be defined that will later be expanded in context. Macro names must
start with a letter, digit, or underscore, and may contain any of those
characters. Macro names may not be reserved words (for example,
). Macros are not expanded inside quotes.
listen on $ext_ip
The following options can be set globally:
- Set the listen address and port to accept connections from
remote OpenFlow switches. Secure connections can be enabled with the
optional tls keyword.
The following example is a typical one.
listen on 0.0.0.0 port 6633