vtep-ctl(8) Open vSwitch Manual vtep-ctl(8) (NAME) vtep-ctl - VTEP (SYNOPSIS) vtep-ctl [] -- [] [] [-- [] []]... (DESCRIPTION) vtep-ctl VTEP . vtep(5) . vtep-ctl ovsdb-server VTEP . . vtep-ctl . vtep-ctl ( (OPTIONS) ). . -- . (-- .) ( ) . (EXAMPLES) . (OPTIONS) vtep-ctl . . -- . --db=server vtep-ctl . server OVSDB ovsdb(7) . unix:/run/openvswitch/db.sock . --no-syslog vtep-ctl . . --verbose=vtep_ctl:syslog:warn . --oneline . \n \ . . list find . --dry-run vtep-ctl . -t secs --timeout=secs secs 0 vtep-ctl . secs . vtep-ctl SIGALRM . ( .) (Table Formatting Options) list find . -f format --format=format . format : table . list () . html HTML. csv RFC 4180 . json JSON RFC 4627. JSON . JSON : caption . . headings . . data . . . OVSDB OVSDB . -d format --data=format json json . format : string () Database Values ovs-vsctl(8). bare : [] {} . . json JSON RFC 4627 . --no-headings . --pretty JSON . JSON . . JSON . --bare --format=list --data=bare --no-headings. --max-column-width=n n . . . (Public Key Infrastructure Options) -p privkey.pem --private-key=privkey.pem PEM vtep-ctl SSL/TLS . -c cert.pem --certificate=cert.pem PEM -p --private-key . (CA) SSL/TLS . -C cacert.pem --ca-cert=cacert.pem PEM CA vtep-ctl 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 . --bootstrap-ca-cert=cacert.pem cacert.pem -C --ca-cert . vtep-ctl CA SSL/TLS SSL/TLS PEM . SSL/TLS CA . SSL/TLS (man-in-the- middle) CA (bootstrapping) . SSL/TLS CA SSL/TLS . SSL/TLS CA . -C --ca-cert . --peer-ca-cert=peer-cacert.pem PEM SSL/TLS . peer-cacert.pem CA vtep-ctl -c --certificate. vtep-ctl --certificate --peer-ca-cert . SSL/TLS CA vtep-ctl . CA SSL/TLS . -v[spec] --verbose=[spec] . spec dbg . spec : o vlog/list ovs-appctl(8) . o syslog console file . ( --detach vtep-ctl .) 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/vtep-ctl.log . --syslog-target=host:port syslog UDP port host . host IP . --syslog-method=method method syslog syslog . : o libc syslog() libc . libc syslog /dev/log . o unix:file . . rsyslogd 8.9 . rsyslogd UDP IP . o udp:ip:port UDP . rsyslogd . syslog UDP syslog UDP iptables syslog . o null syslog . OVS_SYSLOG_METHOD libc . -h --help . -V --version . (COMMANDS) vtep-ctl . (Physical Switch Commands) . [--may-exist] add-ps pswitch pswitch . . --may-exist . --may-exist pswitch . [--if-exists] del-ps pswitch pswitch . --if-exists . --if-exists . list-ps . ps-exists pswitch pswitch . vtep-ctl 0 . vtep-ctl 2 . (Port Commands) VTEP . list-ports pswitch pswitch . [--may-exist] add-port pswitch port pswitch port . --may-exist . --may-exist port pswitch . [--if-exists] del-port [pswitch] port port . pswitch port pswitch port . --if-exists . --if-exists . (Logical Switch Commands) . [--may-exist] add-ls lswitch lswitch . (locator binding) . --may-exist . --may-exist lswitch . [--if-exists] del-ls lswitch lswitch . --if-exists . --if-exists . list-ls . ls-exists lswitch lswitch . vtep-ctl 0 . vtep-ctl 2 . bind-ls pswitch port vlan lswitch lswitch port/vlan pswitch . unbind-ls pswitch port vlan port/vlan pswitch . list-bindings pswitch port port pswitch . set-replication-mode lswitch replication-mode lswitch replication-mode "service_node" "source_node" . (L2) . . (service node) ( VTEP) . (service node replication) . (source node replication) . . . . get-replication-mode lswitch lswitch . "service_node" "source_node" . "service_node" . (Logical Router Commands) . [--may-exist] add-lr lrouter lrouter . --may-exist . --may-exist lrouter . [--if-exists] del-lr lrouter lrouter . --if-exists . --if-exists . list-lr . lr-exists lrouter lrouter . vtep-ctl 0 . vtep-ctl 2 . (Local MAC Binding Commands) MAC . VTEP MAC . add-ucast-local lswitch mac [encap] ip mac encap lswitch ip . encap "vxlan_over_ipv4" . VTEP MAC . del-ucast-local lswitch mac mac lswitch . VTEP MAC . add-mcast-local lswitch mac [encap] ip ip encap MAC mac lswitch . encap "vxlan_over_ipv4" . VTEP MAC . del-mcast-local lswitch mac [encap] ip ip encap MAC mac lswitch . encap "vxlan_over_ipv4" . VTEP MAC . clear-local-macs lswitch MAC lswitch . list-local-macs lswitch MAC lswitch . (Remote MAC Binding Commands) MAC . MAC . add-ucast-remote lswitch mac [encap] ip mac encap lswitch ip . encap "vxlan_over_ipv4" . MAC . del-ucast-remote lswitch mac mac lswitch . MAC . add-mcast-remote lswitch mac [encap] ip ip encap MAC mac lswitch . encap "vxlan_over_ipv4" . MAC . del-mcast-remote lswitch mac [encap] ip ip encap MAC mac lswitch . encap "vxlan_over_ipv4" . MAC . clear-remote-macs lswitch MAC lswitch . list-remote-macs lswitch MAC lswitch . (Manager Connectivity) managers Global Managers . ovsdb-server managers OVSDB ( Open vSwitch ) vtep-ctl . get-manager () . del-manager () . set-manager target... . target OVSDB pssl:6640 ovsdb(7) . (Database Commands) ovsdb . ovsdb vtep-ctl . table . record . record UUID . column . : Global VTEP . . . Manager OVSDB. ( tcp:1.2.3.4) . Physical_Switch VTEP . . Physical_Port . Logical_Binding_Stats VLAN . Logical_Switch . . Ucast_Macs_Local MAC . Ucast_Macs_Remote MAC . Mcast_Macs_Local MAC . Mcast_Macs_Remote MAC . Physical_Locator_Set . Physical_Locator . . UUID ( ) . - _ . man m Manager . . : integer -2**63 2**63-1 . real . Boolean true false . string null . . true false UUID ( ) . JSON . ("") . UUID RFC 4122 f81d4fae-7dec-11d0-a765-00a0c91e6bf6 @name get create vtep-ctl. . . [] . . - . . 4096 . . <<>> (maps) - . key=value key value . ( ) . . {} . ( other-config={0=x,1=y} other-config=0=x other-config=1=y ). [--if-exists] [--columns=column[,column]...] list table [record]... record . table . --columns . . --if-exists record . --if-exists record . [--columns=column[,column]...] find table [column[:key]=value]... table column value key column key value . = : = != < > <= >= column[:key] value . column[:key] value . . . . . ( - .) {=} {!=} . {<=} column[:key] value . flood-vlans{<=}1,2 flood-vlans 1 2 . {<} column[:key] value . flood-vlans{<}1,2 flood-vlans 1 2 . {>=} {>} {<=} {<} . flood- vlans{>=}1,2 flood-vlans 1 2 . Open vSwitch 2.16 : {in} column[:key] value . ( {<=} .) {not-in} column[:key] value . (= != < > <= >=) key column key . other- config:mtu!=1500 mtu 1500 mtu . key column key . other-config:mtu{!=}1500 mtu 1500 mtu . < > . --columns . . UUID vtep-ctl . [--if-exists] [--id=@name] get table record [column[:key]]... column record table . (map) key key . --if-exists record key record . --if-exists record key . @name vtep-ctl UUID UUID record . --id column . get record table . --id --if-exists . [--if-exists] set table record column[:key]=value... column record table value . key key ( ) . --if-exists record . --if-exists record . [--if-exists] add table record column [key=]value... - column record table . column key . key value ( set ). --if-exists record . --if-exists record . [--if-exists] remove table record column value... [--if-exists] remove table record column key... [--if-exists] remove table record column key=value... - column record table . : value . : key - key value . . --if-exists record . --if-exists record . [--if-exists] clear table record column... column record table . . --if-exists record . --if-exists record . [--id=(@name | uuid] create table column[:key]=value... table column . . UUID . @name UUID vtep-ctl UUID . create . uuid UUID . (ovs-vsctl ) Open vSwitch Open_vSwitch . QoS Queue Open_vSwitch . ovs-vsctl . create ovs-vsctl Open_vSwitch . (EXAMPLES) . [--if-exists] destroy table record... record table . --if-exists record . --all destroy table table . (ovs-vsctl ) destroy QoS Queue . Open_vSwitch . . destroy . (EXAMPLES) . wait-until table record [column[:key]=value]... table record column value key column key value . find . column[:key]=value record . . (ovs-vsctl ) wait-until ovs-vsctl . wait-until bridge br0 -- get bridge br0 datapath_id br0 datapath_id get bridge br0 datapath_id -- wait-until bridge br0 ovs-vsctl br0 . vtep-ctl --timeout=0 --wait-until . comment [arg]... . (EXIT STATUS) 0 . 1 . 2 switch ps-exists . (SEE ALSO) ovsdb-server(1), vtep(5). Open vSwitch March 2013 vtep-ctl(8)