ovs-testcontroller(8) Open vSwitch (NAME) ovs-testcontroller - OpenFlow (SYNOPSIS) ovs-testcontroller [] method [method]... (DESCRIPTION) ovs-testcontroller OpenFlow OpenFlow L2 (MAC-learning) . OpenFlow . OpenFlow . ovs-testcontroller OpenFlow OpenFlow : pssl:[port][:host] ptcp:[port][:host] OpenFlow port . port 6653 . IPv4 . host IPv4 IPv6 ( ptcp:6653:[::1]). %device (scope) - IPv6 ptcp:6653:[fe80::1234%eth0]. unbound DNS . pssl --private-key --certificate --ca-cert . punix:file OpenFlow file . ssl:host[:port] tcp:host[:port] port host DNS ( unbound) IP IPv4 IPv6 . IPv6 tcp:[::1]:6653. %device - IPv6 tcp:[fe80::1234%eth0]:6653. ssl --private-key --certificate --ca-cert . port 6653 . unix:file (POSIX) file. (OPTIONS) -n --noflow ovs-testcontroller MAC (flow) OpenFlow . . . . --max-idle=secs|permanent secs . permanent ( ) . 60 . -n ( --noflow) ( ). -H --hub L2 MAC . (flood). -H ( --hub) -n ( --noflow) (flood) . . . -w[wildcard_mask] --wildcards[=wildcard_mask] ovs-testcontroller (exact-match) . (wildcarded) . wildcard_mask OpenFlow . wildcard_mask 0x2820F0 L2 L3 L4 . 0x2000EC L3 L2 L4 . -n ( --noflow) ( ). -N --normal ovs-testcontroller (flood) . OpenFlow OFPP_NORMAL . . OFPP_NORMAL OpenFlow Open vSwitch . --mute ovs-testcontroller OpenFlow . ``fail open'' Open vSwitch . . -q id --queue=id ovs-testcontroller OpenFlow . id OpenFlow . -N --normal -H --hub . . (QoS) . -Q port-name:queue-id --port-queue port-name:queue-id port-name ( eth0) OpenFlow queue-id ( ) . -q --queue . port-name . -N --normal -H --hub . . (QoS) . --with-flows file file . file add-flows Flow Syntax ovs-ofctl(8) . . (Public Key Infrastructure Options) -p privkey.pem --private-key=privkey.pem PEM ovs-testcontroller SSL/TLS . -c cert.pem --certificate=cert.pem PEM -p --private-key . (CA) SSL/TLS . -C cacert.pem --ca-cert=cacert.pem PEM CA ovs-testcontroller SSL/TLS . ( SSL/TLS -c --certificate PKI .) -C none --ca-cert=none SSL/TLS . . --ssl-server-name=servername TLS Server Name Indication (SNI) . SNI . SNI . --peer-ca-cert=peer-cacert.pem PEM SSL/TLS . peer-cacert.pem CA ovs-testcontroller -c --certificate. ovs-testcontroller (self-signed) --certificate --peer-ca-cert . SSL/TLS CA ovs-testcontroller . SSL/TLS CA (bootstrap) . (Daemon Options) POSIX . --pidfile[=pidfile] ( ovs-testcontroller.pid) PID . pidfile / /run/openvswitch . --pidfile pidfile . --overwrite-pidfile --pidfile pid ovs-testcontroller . --overwrite-pidfile pidfile . --pidfile . --detach ovs-testcontroller . (fork) ( ) ( --no-chdir ). . --monitor ovs-testcontroller . (SIGABRT SIGALRM SIGBUS SIGFPE SIGILL SIGPIPE SIGSEGV SIGXCPU SIGXFSZ) . . --detach . --no-chdir --detach ovs-testcontroller . ovs-testcontroller (unmount) . --no-chdir ovs-testcontroller . core core dump . --detach . --no-self-confinement (self- confine). . ( DAC MAC) . --user ovs-testcontroller "user:group" (root) . "user" ":group" . . CAP_IPC_LOCK CAP_NET_BIND_SERVICES . (datapath) ovs-vswitchd CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW . . -v[spec] --verbose=[spec] . spec dbg . spec : o vlog/list ovs-appctl(8) . o syslog console file . ( --detach ovs-testcontroller .) o off emer err warn info dbg . . off . ovs-appctl(8) . spec . file --log-file ( ). OVS any . -v --verbose --verbose=dbg . -vPATTERN:destination:pattern --verbose=PATTERN:destination:pattern destination pattern . pattern ovs-appctl(8) . -vFACILITY:facility --verbose=FACILITY:facility facility RFC5424 . facility kern user mail daemon auth syslog lpr news uucp clock ftp ntp audit alert clock2 local0 local1 local2 local3 local4 local5 local6 local7 . daemon local0 --syslog-target . --log-file[=file] . file . file /var/log/openvswitch/ovs-testcontroller.log . --syslog-target=host:port syslog syslog UDP port host . host IP . --syslog-method=method syslog syslog method . : o libc syslog() libc. libc syslog /dev/log . o unix:file . . rsyslogd 8.9 . rsyslogd UDP IP (localhost) . o udp:ip:port UDP. rsyslogd . syslog UDP syslog UDP iptables syslog UDP . o null syslog . OVS_SYSLOG_METHOD libc . --unixctl=socket ovs-testcontroller ( RUNTIME MANAGEMENT COMMANDS ). socket / /run/openvswitch . --unixctl /run/openvswitch/ovs-testcontroller.pid.ctl pid ovs-testcontroller . none socket . -h --help . -V --version . -O [version[,version]...] --protocols=[version[,version]...] OpenFlow OpenFlow . : o OpenFlow10 OpenFlow 1.0. Open vSwitch : o OpenFlow11 OpenFlow 1.1. o OpenFlow12 OpenFlow 1.2. o OpenFlow13 OpenFlow 1.3. o OpenFlow14 OpenFlow 1.4. o OpenFlow15 OpenFlow 1.5. (EXAMPLES) 6653 () OpenFlow: % ovs-testcontroller ptcp: (SEE ALSO) ovs-appctl(8), ovs-ofctl(8), ovs-dpctl(8) Open vSwitch 4.0.0 ovs-testcontroller(8)