ovs-vswitchd.conf.db(5) Open vSwitch Manual ovs-vswitchd.conf.db(5) (NAME) ovs-vswitchd.conf.db - Open_vSwitch Open vSwitch . Open_vSwitch . Open_vSwitch . Open_vSwitch << >> (root set). (Common Columns) other_config external_ids . . other_config: - - . . other_config - . external_ids: - - Open vSwitch Open vSwitch. Open vSwitch - . - . (TABLE SUMMARY) Open_vSwitch . . Open_vSwitch Open vSwitch. Bridge (Bridge). Port . Interface . Flow_Table OpenFlow QoS (QoS) Queue QoS. Mirror (Port mirroring). Controller OpenFlow. Manager OVSDB. NetFlow NetFlow. Datapath (Datapath). CT_Zone CT_Zone. CT_Timeout_Policy CT_Timeout_Policy. SSL SSL. sFlow sFlow. IPFIX IPFIX. Flow_Sample_Collector_Set Flow_Sample_Collector_Set. AutoAttach AutoAttach. Open_vSwitch (Open_vSwitch TABLE) Open vSwitch. Open_vSwitch . (Summary): (Configuration): datapaths -Datapath bridges Bridge ssl SSL external_ids : system-id external_ids : hostname external_ids : rundir other_config : stats-update-interval other_config : flow-restore-wait true false other_config : flow-limit other_config : max-idle other_config : max-revalidator other_config : min-revalidate-pps other_config : offloaded-stats-delay other_config : hw-offload true false other_config : hw-offload-priority other_config : n-offload-threads other_config : tc-policy none skip_hw skip_sw other_config : dpdk-init false true try other_config : dpdk-lcore-mask other_config : pmd-cpu-mask other_config : dpdk-alloc-mem other_config : dpdk-socket-mem other_config : dpdk-socket-limit other_config : dpdk-hugepage-dir other_config : dpdk-probe-at-init true false other_config : dpdk-extra other_config : vhost-sock-dir other_config : vhost-iommu-support true false other_config : vhost-postcopy-support true false other_config : per-port-memory true false other_config : shared-mempool-config other_config : tx-flush-interval other_config : pmd-perf-metrics true false other_config : smc-enable true false other_config : pmd-rxq-assign cycles group roundrobin other_config : pmd-rxq-isolate true false other_config : n-handler-threads other_config : n-revalidator-threads other_config : emc-insert-inv-prob other_config : vlan-limit other_config : bundle-idle-timeout other_config : offload-rebalance true false other_config : pmd-auto-lb true false other_config : pmd-auto-lb-rebal-interval other_config : pmd-auto-lb-load-threshold other_config : pmd-auto-lb-improvement-threshold other_config : pmd-sleep-max other_config : userspace-tso-enable true false other_config : explicit-sampled-drops true false (Status): next_cfg cur_cfg dpdk_initialized (boolean) (Statistics): other_config : enable-statistics true false statistics : cpu statistics : load_average statistics : memory statistics : process_NAME statistics : file_systems (Version Reporting): ovs_version db_version system_type system_version dpdk_version (Capabilities): datapath_types iface_types (Database Configuration): manager_options Manager (IPsec): other_config : private_key other_config : certificate other_config : ca_cert (Plaintext Tunnel Policy): other_config : ipsec_skb_mark (Common Columns): other_config - external_ids - (Details): (Configuration): datapaths: -Datapath (datapath) . datapath_type Bridge . Datapath . bridges: Bridge (bridges) . ssl: SSL SSL/TLS . external_ids : system-id: Open vSwitch. . external_ids : hostname: (hostname) Open vSwitch . 2.6.2 (FQDN) . external_ids : rundir: Open vSwitch 2.8 Open vSwitch . . other_config:vhost-sock-dir . other_config : stats-update-interval: 5,000 . statistics : Port Interface Mirror. 5000 . OpenFlow . other_config : flow-restore-wait: true false ovs-vswitchd (flow table) : (drop) OpenFlow (standalone). . ovs-vswitchd << >> (hot-upgrade) . . ovs-vswitchd true (datapath) . false ovs-vswitchd . true ovs-vswitchd . . false ovs-vswitchd . ovs-vswitchd : 1. ovs-vswitchd. 2. other_config:flow-restore-wait true. 3. ovs-vswitchd. 4. ovs-ofctl ( OpenFlow) OpenFlow . 5. other_config:flow-restore-wait false ( ). <> <> ovs-ctl . other_config : flow-limit: 0 (flows) . OVS . . 200000 . other_config : max-idle: 500 ( ) (idle) (cache) . OVS . . 10000 . other_config : max-revalidator: 100 ( ) (revalidator threads) . . OVS max- idle max-revalidator . . 500 . other_config : min-revalidate-pps: 0 (pps) max- revalidator . 0 pps . 5 . other_config : offloaded-stats-delay: 0 ( ) (offloaded flows) . other_config:min-revalidate-pps . 2000 . other_config : hw-offload: true false true netdev (netdev flow offload) . false . . Open vSwitch (hardware offloading) . . <<>> . OpenFlow Open vSwitch . (dump) ovs-appctl dpctl/dump-flows ovs-dpctl . ovs-vswitchd(8) . other_config : hw-offload-priority: . . . tc,dpdk . . other_config : n-offload-threads: 1 10 . 1 . . (userspace datapath) other_config:hw-offload . other_config : tc-policy: none skip_hw skip_sw . : none . skip_sw . skip_hw . other_config:hw-offload . none . other_config : dpdk-init: false true try true try DPDK . (vswitch) DPDK . true DPDK ovs-vswitchd (abort) . try ovs-vswitchd DPDK . false . . false dpdk . other_config : dpdk-lcore-mask: 1 dpdk lcore . DPDK lcore DPDK . ( <<0x123>>) <> . . (1) lcore (pin) . . DPDK (main thread) DPDK . DPDK (worker threads) . OVS ( other_config:pmd-cpu-mask) DPDK . (handler) (revalidator) OVS DPDK . . DPDK OVS (cpu affinity) OVS . other_config : pmd-cpu-mask: (affinity) (PMD) . <<-c COREMASK>> EAL dpdk <> . . pmd . . pmd NUMA NUMA . other_config : dpdk-alloc-mem: 0 (hugepage pool) . dpdk-socket- mem . other_config : dpdk-socket-mem: (hugepage pool) . . 1024,0,2048 0 1024 1 0 2 2048 3 ( ) 0 . other_config:dpdk- socket-mem other_config:dpdk-alloc-mem NUMA . DPDK . other_config:dpdk-socket-mem other_config:dpdk-alloc-mem other_config:dpdk-socket-mem . . other_config : dpdk-socket-limit: (hugepage) . . 0 . OVS . . other_config : dpdk-hugepage-dir: (mount point) hugetlbfs . DPDK ( /dev/hugepages ). . other_config : dpdk-probe-at-init: true false DPDK (/) . false () OVS DPDK other_config:dpdk-extra . DPDK class=eth,mac=XX:XX:XX:XX:XX:XX . OVS . (link status) . mlx5 OVS . other_config:dpdk-extra (-a --allow) (-b --block) DPDK . false . other_config : dpdk-extra: EAL DPDK . . . other_config : vhost-sock-dir: external_ids:rundir vhost-user . external_ids:rundir . . other_config : vhost-iommu-support: true false vHost IOMMU vhost virtio . vHost IOMMU QEMU vhost REPLY_ACK ( vHost IOMMU ) 2.9.1 . true vHost IOMMU - vHost OvS-DPDK DPDK 17.11 . . other_config : vhost-postcopy-support: true false vHost post-copy (live migration) dpdkvhostuserclient post-copy pre-copy . true vHost post-copy dpdkvhostuserclient . DPDK 18.11 QEMU 2.12 . . other_config : per-port-memory: true false OVS DPDK MTU mempool . true . DPDK . . dpdk-init true . other_config : shared-mempool-config: mempool dpdk . : other_config:shared-mempool-config=< user-shared-mempool-mtu-list> : o ::= NULL | o ::= | , o ::= | o ::= o ::= : dpdk-init true . other_config : tx-flush-interval: 0 1,000,000 (output batch) netdev . (throughput) (latency) . . 0 ( ). other_config : pmd-perf-metrics: true false (PMD) . 1% . false . other_config : smc-enable: true false (Signature Match Cache) SMC EMC (megaflow) . EMC . SMC EMC . false . other_config : pmd-rxq-assign: cycles group roundrobin RX ( ) . : cycles (Rxqs) . roundrobin (round-robin) . group . cycles . Rxq . : Rxq pmd-rxq-affinity . other_config : pmd-rxq-isolate: true false (pin) Rx . false Rxq pmd-rxq-affinity . OVS Rxq . true . false pmd-rxq-assign group . other_config : n-handler-threads: 1 . . . ( system netdev) n-handler-threads . other_config : n-revalidator-threads: 1 . . (revalidator threads) . . n-handler-threads . . ( system netdev) n-handler-threads . other_config : emc-insert-inv-prob: 0 4,294,967,295 (1/emc-insert-inv-prob) (EMC - Exact Match Cache) . emc-insert-inv-prob EMC . 1 (1/1 = 100%) EMC . 100 EMC 1% (1/100 =) . other_config : vlan-limit: 0 VLAN . VLAN (payload) 802.1q 0x8100 . Open vSwitch 2 VLAN . vlan-limit . 1 . Open vSwitch 2.8 ( VLAN ) . other_config : bundle-idle-timeout: 1 ( ) (bundles) . OpenFlow . 10 . other_config : offload-rebalance: true false (HW offload rebalancing) (OOR - Out of Resources) . (pps) . true . false . . (hw-offload). <> <> . other_config : pmd-auto-lb: true false PMD ( ) PMD ( > other_config:pmd-auto-lb-load- threshold) RX PMD . RX PMD . false . true . . PMD (poll) . other_config : pmd-auto-lb-rebal-interval: 0 20,000 ( ) PMD. 1 . 0 1 . PMD ( ) . other_config : pmd-auto-lb-load-threshold: 0 100 PMD ( ) PMD PMD . 95% . other_config : pmd-auto-lb-improvement-threshold: 0 100 PMD PMD . 0 . 25% . other_config : pmd-sleep-max: PMD Rx . Rx PMD . 0 PMD Rx . 10000 . other_config:pmd-sleep-max= : o ::= NULL | o ::= | , o ::= | o ::= o ::= : other_config : userspace-tso-enable: true false true (TCP Segmentation Offloading TSO) . TCP TCP (checksum) . false . . Open vSwitch DPDK . . other_config : explicit-sampled-drops: true false (drop) . ( ) . (: sFlow IPFIX ) . . Open vSwitch . false . (Status): next_cfg: (Sequence number) . Open vSwitch . cur_cfg: Open vSwitch next_cfg . dpdk_initialized: (boolean) other_config:dpdk-init true DPDK True . (Statistics): statistics - Open vSwitch . ( ) . - . other_config : enable-statistics: true false . true statistics false . statistics : cpu: 1 (CPU) Open vSwitch . . statistics : load_average: (load average) . statistics : memory: Open vSwitch . : 1. (RAM) . 2. . 3. . . 4. (swap). 5. swap . . . statistics : process_NAME: - NAME Open vSwitch name ( process_ovs-vswitchd). . : 1. (virtual memory size) . 2. (resident set size) . 3. . 4. (monitor) . 5. . 6. . --monitor . 0 . --monitor . << >> Open vSwitch ( /var/run/openvswitch) .pid (PID) - . name pid . Open vSwitch . - . statistics : file_systems: . : 1. (Mount point) / /var/log. (underscore) . 2. . 3. . Open vSwitch - . (Version Reporting): Open vSwitch . . . ovs_version: Open vSwitch 1.1.0. db_version: (schema) 1.2.3. ovsdb-tool(1) . Open vSwitch . system_type: Open vSwitch KVM. . system_version: system_type 4.18.0-372.19.1.el8_6 RHEL 8.6 4.18.0-372.19.1. . dpdk_version: DPDK. (Capabilities): (instance) Open vSwitch . datapath_types: dpif . datapath_type Bridge . iface_types: netdev . type Interface . (Database Configuration): Open vSwitch (ovsdb-server) Open vSwitch (ovs-vswitchd) . OVSDB ssl . Open vSwitch IP (in-band control) . manager_options: Manager Open vSwitch . Manager . ovsdb-server . ovsdb-server --remote=db:Open_vSwitch,Open_vSwitch,manager_options . Open vSwitch . (IPsec): IPsec . options Interface . options ipsec_ . IPsec OVS . IPsec : 1. (Pre- shared keys): . options:psk . 2. (Self- signed certificates): private_key certificate . options:remote_cert . . 3. (CA-signed certificates): . options:remote_name (CN) . CA . other_config : private_key: PEM IPsec . other_config : certificate: PEM IPsec . x.509 3 (CN) (SAN) . other_config : ca_cert: PEM CA IPsec . (Plaintext Tunnel Policy): IPsec . ovs-vswitchd (datapath) IPsec . (race condition) : (plaintext) . OVS . other_config : ipsec_skb_mark: value/mask . skb_mark (drop) . IPsec OVS . : 1/1 skb_mark 1 . OpenFlow skb_mark 1 . skb_mark 0 . 0/1 skb_mark 0 . skb_mark 1 . () . (Common Columns): (Common Columns) . other_config: - external_ids: - Bridge (Bridge TABLE) (bridge) Open_vSwitch. Bridge <<>> Port ports Bridge . (Summary): (Core Features): name ( ) ports Port mirrors Mirror netflow NetFlow sflow sFlow ipfix IPFIX flood_vlans auto_attach AutoAttach OpenFlow (OpenFlow Configuration): controller Controller flow_tables -Flow_Table fail_mode secure standalone datapath_id datapath_version other_config : datapath-id other_config : dp-desc other_config : dp-sn other_config : disable-in-band true false other_config : in-band-queue other_config : controller-queue-size protocols OpenFlow10 OpenFlow11 OpenFlow12 OpenFlow13 OpenFlow14 OpenFlow15 (Spanning Tree Configuration): STP (STP Configuration): stp_enable (boolean) other_config : stp-system-id other_config : stp-priority other_config : stp-hello-time other_config : stp-max-age other_config : stp-forward-delay other_config : mcast-snooping-aging-time other_config : mcast-snooping-table-size other_config : mcast-snooping-disable-flood-unregistered true false STP (STP Status): status : stp_bridge_id status : stp_designated_root status : stp_root_path_cost (Rapid Spanning Tree): RSTP (RSTP Configuration): rstp_enable (boolean) other_config : rstp-address other_config : rstp-priority other_config : rstp-ageing-time other_config : rstp-force-protocol-version other_config : rstp-max-age other_config : rstp-forward-delay other_config : rstp-transmit-hold-count RSTP (RSTP Status): rstp_status : rstp_bridge_id rstp_status : rstp_root_id rstp_status : rstp_root_path_cost rstp_status : rstp_designated_id rstp_status : rstp_designated_port_id rstp_status : rstp_bridge_port_id (Multicast Snooping Configuration): mcast_snooping_enable (boolean) (Other Features): datapath_type external_ids : bridge-id other_config : hwaddr other_config : forward-bpdu true false other_config : mac-aging-time other_config : mac-table-size (Common Columns): other_config - external_ids - (Details): (Core Features): name: immutable string (must be unique within table) . . - . Interface ( Port) name Interface . Interface . ports: set of Ports . mirrors: set of Mirrors (Port mirroring). netflow: optional NetFlow NetFlow. sflow: optional sFlow sFlow(R). ipfix: optional IPFIX IPFIX. flood_vlans: set of up to 4,096 integers, in range 0 to 4,095 VLAN VLAN MAC MAC (flood) . MAC VLAN (RSPAN VLAN) . . SLB ( bond_mode Port ) flood_vlans . . auto_attach: optional AutoAttach (Auto Attach). OpenFlow (OpenFlow Configuration): controller: set of Controllers OpenFlow. OpenFlow . (meter table) OpenFlow . . . flow_tables: map of integer-Flow_Table pairs, key in range 0 to 254 OpenFlow. OpenFlow . fail_mode: optional string, either secure or standalone . . . . : standalone ( inactivity_probe ) Open vSwitch . Open vSwitch MAC . Open vSwitch . secure Open vSwitch . . standalone Open vSwitch . standalone (forwarding loops) STP . secure STP ( stp_enable ). fail_mode . fail_mode . fail_mode OpenFlow . datapath_id: optional string OpenFlow . . ( . other-config:datapath-id .) datapath_version: string . . datapath_id Datapath . . other_config : datapath-id: optional string OpenFlow . 0x . . other_config : dp-desc: optional string . switch3 in room 3120. OFPMP_DESC (ofp_desc). OpenFlow ( ..) ofp_desc << ASCII NULL>> . ASCII . other_config : dp-sn: optional string . . OFPMP_DESC (ofp_desc). other- config:dp-desc ASCII . other_config : disable-in-band: optional string, either true or false true (in-band control) . other_config : in-band-queue: optional string, containing an integer, in range 0 to 4,294,967,295 . OpenFlow . QoS . other_config : controller-queue-size: optional string, containing an integer, in range 1 to 512 OpenFlow . . . : . protocols: set of strings, one of OpenFlow10, OpenFlow11, OpenFlow12, OpenFlow13, OpenFlow14, or OpenFlow15 OpenFlow . OpenFlow 1.0 1.1 1.2 1.3 1.4 1.5 . (Spanning Tree Configuration): (STP) IEEE 802.1D . (redundant links) . 802.1D-1998 . Open vSwitch (RSTP) (Rapid Spanning Tree Configuration) . STP (STP Configuration): stp_enable: boolean . STP . (Bond) . STP RSTP . RSTP . other_config : stp-system-id: optional string STP ( bridge-id) xx:xx:xx:xx:xx:xx. MAC . other_config : stp-priority: optional string, containing an integer, in range 0 to 65,535 ( bridge-id). bridge-id . 0x8000 . other_config : stp-hello-time: optional string, containing an integer, in range 1 to 10 hello (designated ports) . hello . other_config : stp-max-age: optional string, containing an integer, in range 6 to 40 . . other_config : stp-forward-delay: optional string, containing an integer, in range 4 to 30 forwarding . . other_config : mcast-snooping-aging-time: optional string, containing an integer, at least 1 . ( ) . . other_config : mcast-snooping-table-size: optional string, containing an integer, at least 1 . . . other_config : mcast-snooping-disable-flood-unregistered: optional string, either true or false false . true . STP (STP Status): - 802.1D-1998 . STP ( stp_enable). status : stp_bridge_id: optional string xxxx.yyyyyyyyyyyy x STP y STP x y . status : stp_designated_root: optional string status:stp_bridge_id. status:stp_bridge_id . status : stp_root_path_cost: optional string . . . (Rapid Spanning Tree): (RSTP) STP . RSTP 802.1D-2004 STP . STP RSTP . RSTP (RSTP Configuration): rstp_enable: boolean . RSTP . (Bond) . STP RSTP . RSTP . other_config : rstp-address: optional string RSTP ( bridge-id) xx:xx:xx:xx:xx:xx. MAC . other_config : rstp-priority: optional string, containing an integer, in range 0 to 61,440 ( bridge-id). bridge-id . 0x8000 (32768) . . other_config : rstp-ageing-time: optional string, containing an integer, in range 10 to 1,000,000 (Ageing Time) . . other_config : rstp-force-protocol-version: optional string, containing an integer (Force Protocol Version) . ( STP) ( ) . other_config : rstp-max-age: optional string, containing an integer, in range 6 to 40 . . other_config : rstp-forward-delay: optional string, containing an integer, in range 4 to 30 STP Forwarding. . other_config : rstp-transmit-hold-count: optional string, containing an integer, in range 1 to 10 (Transmit Hold Count) . . RSTP (RSTP Status): - 802.1D-2004 . RSTP ( rstp_enable). rstp_status : rstp_bridge_id: optional string x.yyy.zzzzzzzzzzzz x RSTP y z STP x y z . rstp_status : rstp_root_id: optional string rstp_status:rstp_bridge_id. rstp_status:rstp_bridge_id . rstp_status : rstp_root_path_cost: optional string, containing an integer, at least 0 . . . rstp_status : rstp_designated_id: optional string RSTP rstp_status:rstp_bridge_id. rstp_status : rstp_designated_port_id: optional string RSTP . rstp_status : rstp_bridge_port_id: optional string RSTP . (Multicast Snooping Configuration): (RFC 4541) (IGMP) (MLD) . IGMP MLD . IGMPv1 IGMPv2 IGMPv3 MLDv1 MLDv2 . mcast_snooping_enable: boolean . . (Other Features): datapath_type: string . system . netdev . Open vSwitch datapath_types Open_vSwitch . external_ids : bridge-id: optional string . other_config : hwaddr: optional string xx:xx:xx:xx:xx:xx . other_config : forward-bpdu: optional string, either true or false BPDU NORMAL . false ( ) . true . : o STP ( stp_enable Bridge ) STP OpenFlow . STP . o LLDP ( lldp Interface ) LLDP OpenFlow . Open vSwitch STP true . MAC : 01:80:c2:00:00:00 (STP) IEEE 802.1D. 01:80:c2:00:00:01 (Pause frame) IEEE. 01:80:c2:00:00:0x . 00:e0:2b:00:00:00 (EDP). 00:e0:2b:00:00:04 00:e0:2b:00:00:06 (EAPS). 01:00:0c:cc:cc:cc (CDP) VLAN (VTP) (DTP) (PAgP) . 01:00:0c:cc:cc:cd PVSTP+. 01:00:0c:cd:cd:cd STP Uplink Fast. 01:00:0c:00:00:00 Inter Switch Link. 01:00:0c:cc:cc:cx CFM. other_config : mac-aging-time: optional string, containing an integer, at least 1 MAC . ( ) . . MAC . . MAC . other_config : mac-table-size: optional string, containing an integer, at least 1 MAC . . . (Common Columns): (Common Columns) . other_config: map of string-string pairs external_ids: map of string-string pairs Port (Port TABLE) Bridge. <<>> interfaces . . << (bonded port)>> ( (Bonding Configuration) ). Interface . (Summary): name ( ) interfaces Interface VLAN (VLAN Configuration): vlan_mode access dot1q-tunnel native-tagged native-untagged trunk tag trunks cvlans other_config : qinq-ethtype 802.1ad 802.1q other_config : priority-tags always if-nonzero never (Bonding Configuration): bond_mode active-backup balance-slb balance-tcp other_config : bond-hash-basis other_config : lb-output-action true false other_config : bond-primary other_config : all-members-active true false (Link Failure Detection): other_config : bond-detect-mode carrier miimon other_config : bond-miimon-interval bond_updelay bond_downdelay LACP (LACP Configuration): lacp active off passive other_config : lacp-system-id other_config : lacp-system-priority other_config : lacp-time fast slow other_config : lacp-fallback-ab true false (Rebalancing Configuration): other_config : bond-rebalance-interval bond_fake_iface (boolean) (Spanning Tree Protocol): STP (STP Configuration): other_config : stp-enable true false other_config : stp-port-num other_config : stp-port-priority other_config : stp-path-cost STP (STP Status): status : stp_port_id status : stp_state blocking disabled forwarding learning listening status : stp_sec_in_state status : stp_role alternate designated root (Rapid Spanning Tree Protocol): RSTP (RSTP Configuration): other_config : rstp-enable true false other_config : rstp-port-priority other_config : rstp-port-num other_config : rstp-path-cost other_config : rstp-port-admin-edge true false other_config : rstp-port-auto-edge true false other_config : rstp-port-mcheck true false RSTP (RSTP Status): rstp_status : rstp_port_id rstp_status : rstp_port_role Alternate Backup Designated Disabled Root rstp_status : rstp_port_state Disabled Discarding Forwarding Learning rstp_status : rstp_designated_bridge_id rstp_status : rstp_designated_port_id rstp_status : rstp_designated_path_cost RSTP (RSTP Statistics): rstp_statistics : rstp_tx_count rstp_statistics : rstp_rx_count rstp_statistics : rstp_error_count rstp_statistics : rstp_uptime (Multicast Snooping): other_config : mcast-snooping-flood true false other_config : mcast-snooping-flood-reports true false (Other Features): qos QoS mac fake_bridge (boolean) protected (boolean) external_ids : fake-bridge-* other_config : transient true false bond_active_slave (Port Statistics): : STP (Statistics: STP transmit and receive counters): statistics : stp_tx_count statistics : stp_rx_count statistics : stp_error_count (Common Columns): other_config - external_ids - (Details): name: immutable string (must be unique within table) . . . name Interface . Interface . interfaces: set of 1 or more Interfaces . (bonded Port) . VLAN (VLAN Configuration): VLAN ( << Virtual LAN>>) . VLAN <>> (FAQ) Open vSwitch . VLAN VLAN 802.1Q 802.1ad VLAN . ( VLAN VLAN 0 .) VLAN . VLAN . VLAN VLAN ( ) VLAN . VLAN VLAN ( ) . VLAN Open vSwitch << (normal switching)>> . OpenFlow << (normal action)>> OpenFlow . VLAN : trunk (trunk) VLAN trunks ( VLAN) . VLAN 802.1Q 802.1Q VLAN 0 . VLAN 802.1Q . VLAN (drop). access (access) VLAN tag . 802.1Q . 802.1Q VLAN VLAN VLAN . native-tagged native-tagged 802.1Q native-tagged < (native VLAN)>> ( tag) . native-untagged native-untagged native-tagged native-untagged VLAN 802.1Q . dot1q-tunnel dot1q-tunnel . VLAN tag VLAN VLAN (service VLAN) 802.1Q . 802.1Q . dot1q-tunnel (double-tagged) tag VLAN 802.1Q . VLAN ( VLAN) tag VLAN () . cvlans VLAN . VLAN . vlan_mode: optional string, one of access, dot1q-tunnel, native-tagged, native-untagged, or trunk VLAN . : o tag . trunks . o . trunks . tag: optional integer, in range 0 to 4,095 VLAN . native-tagged native-untagged VLAN . . trunks: set of up to 4,096 integers, in range 0 to 4,095 trunk native-tagged native-untagged VLAN VLAN 802.1Q VLAN . . native-tagged native-untagged VLAN trunks VLAN . cvlans: set of up to 4,096 integers, in range 0 to 4,095 dot1q-tunnel VLAN . VLAN . . other_config : qinq-ethtype: optional string, either 802.1ad or 802.1q dot1q-tunnel TPID 802.1Q VLAN . dot1q-tunnel 802.1Q VLAN dot1q- tunnel . VLAN dot1q-tunnel . 802.1ad TPID 0x88a8 . 802.1q TPID 0x8100 . . other_config : priority-tags: optional string, one of always, if-nonzero, or never 802.1Q : VLAN . VLAN << (priority- tagged)>> 802.1Q ( ). 802.1Q VLAN . Open vSwitch VLAN 802.1Q . if-nonzero . if-nonzero VLAN Open vSwitch 802.1Q . always 802.1Q . native-tagged VLAN native-tagged . (Bonding Configuration): << (bonded port)>> . (load balancing) (fail-over) . . (bond) : balance-slb MAC VLAN . active-backup . . 802.3ad LACP . LACP other- config:lacp-fallback-ab true active-backup : balance-tcp IP TCP/UDP . . . bond_mode: optional string, one of active-backup, balance-slb, or balance-tcp . active-backup . other_config : bond-hash-basis: optional string, containing an integer . . active-backup . other_config : lb-output-action: optional string, either true or false lb_output balance-tcp. rss balance-tcp (recirculation) . . other_config : bond-primary: optional string (up) . other_config:bond_mode active-backup balance-tcp active-backup ( LACP other_config:lacp-fallback-ab true ). other_config : all-members-active: optional string, either true or false / balance- slb. lacp off . all_slaves_active . . (Link Failure Detection): . Open vSwitch . other_config : bond-detect-mode: optional string, either carrier or miimon . carrier . miimon MII . other_config : bond-miimon-interval: optional string, containing an integer MII . other_config:bond-detect-mode miimon . bond_updelay: integer (up) . 0 . . . bond_downdelay: integer (down) . 0 . LACP (LACP Configuration): LACP ( ) IEEE . LACP . lacp: optional string, one of active, off, or passive LACP . LACP . LACP . active LACP . passive LACP . LACP LACP other-config:lacp-fallback-ab true . off . other_config : lacp-system-id: optional string LACP Port. LACP . MAC . . other_config : lacp-system-priority: optional string, containing an integer, in range 1 to 65,535 LACP Port. LACP . other_config : lacp-time: optional string, either fast or slow LACP Port . slow . fast LACP . slow . other_config : lacp-fallback-ab: optional string, either true or false openvswitch LACP . LACP true openvswitch active- backup . false . LACP LACP . (Rebalancing Configuration): balance-slb balance-tcp . other_config : bond-rebalance-interval: optional string, containing an integer, in range 0 to 2,147,483,647 . ( ). . bond_fake_iface: boolean . . (Spanning Tree Protocol): 802.1D-1998 Bridge stp_enable . STP (STP Configuration): other_config : stp-enable: optional string, either true or false STP ( STP ) . false STP . other_config : stp-port-num: optional string, containing an integer, in range 1 to 255 (port-id). . . other_config : stp-port-priority: optional string, containing an integer, in range 0 to 255 ( port-id). port-id . 0x80 . other_config : stp-path-cost: optional string, containing an integer, in range 0 to 65,535 . . . STP (STP Status): status : stp_port_id: optional string . stp-port-num stp-port-priority other_config . status : stp_state: optional string, one of blocking, disabled, forwarding, learning, or listening STP . status : stp_sec_in_state: optional string, containing an integer, at least 0 STP . status : stp_role: optional string, one of alternate, designated, or root STP . (Rapid Spanning Tree Protocol): 802.1D-1998 Bridge stp_enable . RSTP (RSTP Configuration): other_config : rstp-enable: optional string, either true or false RSTP ( RSTP ) . false RSTP . other_config : rstp-port-priority: optional string, containing an integer, in range 0 to 240 . 0x80 (128) . . port-id . port-id . other_config : rstp-port-num: optional string, containing an integer, in range 1 to 4,095 RSTP port-id . OpenFlow . port-id . other_config : rstp-path-cost: optional string, containing an integer . . . other_config : rstp-port-admin-edge: optional string, either true or false (admin edge) . false . other_config : rstp-port-auto-edge: optional string, either true or false (auto edge) . true . other_config : rstp-port-mcheck: optional string, either true or false mcheck . false . RST BPDU MigrateTime STP LAN RSTP BPDU . mcheck STP . true false false true . RSTP (RSTP Status): rstp_status : rstp_port_id: optional string . rstp-port-num rstp-port-priority other_config . rstp_status : rstp_port_role: optional string, one of Alternate, Backup, Designated, Disabled, or Root RSTP . rstp_status : rstp_port_state: optional string, one of Disabled, Discarding, Forwarding, or Learning RSTP . rstp_status : rstp_designated_bridge_id: optional string RSTP rstp_status:rstp_bridge_id Bridge. rstp_status : rstp_designated_port_id: optional string RSTP . rstp_status : rstp_designated_path_cost: optional string, containing an integer RSTP . . RSTP (RSTP Statistics): rstp_statistics : rstp_tx_count: optional integer RSTP BPDU . rstp_statistics : rstp_rx_count: optional integer RSTP BPDU . rstp_statistics : rstp_error_count: optional integer RSTP BPDU . rstp_statistics : rstp_uptime: optional integer RSTP . (Multicast Snooping): other_config : mcast-snooping-flood: optional string, either true or false true ( Reports) . other_config : mcast-snooping-flood-reports: optional string, either true or false true (Reports) . (Other Features): qos: optional QoS (QoS) . mac: optional string MAC MAC . MAC MAC . fake_bridge: boolean (sub-bridge) VLAN Bridge ovs-vsctl(8) . protected: boolean . . . . false . external_ids : fake-bridge-*: optional string ( fake_bridge ) fake-bridge- external_ids Bridge fake-bridge-bridge-id. other_config : transient: optional string, either true or false true ovs-ctl start --delete-transient-ports . bond_active_slave: optional string MAC . (Port Statistics): - . other_config:stats- update-interval Open_vSwitch . : STP (Statistics: STP transmit and receive counters): statistics : stp_tx_count: optional integer BPDU STP . statistics : stp_rx_count: optional integer BPDU STP . statistics : stp_error_count: optional integer BPDU STP . (runt) . (Common Columns): (Common Columns) . other_config: map of string-string pairs external_ids: map of string-string pairs Interface (Interface TABLE) Port. (Summary): (Core Features): name ( ) ifindex 0 4,294,967,295 mac_in_use mac error OpenFlow (OpenFlow Port Number): ofport ofport_request 1 65,279 (System- Specific Details): type (Tunnel Options): options : remote_ip options : local_ip options : in_key options : out_key options : dst_port options : key options : tos options : ttl options : df_default true false options : egress_pkt_mark : vxlan (Tunnel Options: vxlan only): options : exts options : packet_type legacy_l2 legacy_l3 ptap : gre (Tunnel Options: gre only): options : packet_type legacy_l2 legacy_l3 ptap options : seq true false : gre ip6gre geneve bareudp vxlan (Tunnel Options): options : csum true false : IPsec (Tunnel Options: IPsec): options : psk options : remote_cert options : remote_name : erspan (Tunnel Options: erspan only): options : erspan_idx options : erspan_ver options : erspan_dir options : erspan_hwid : Bareudp (Tunnel Options: Bareudp only): options : payload_type : srv6 (Tunnel Options: srv6 only): options : srv6_segs options : srv6_flowlabel compute copy zero Patch (Patch Options): options : peer PMD ( ): options : n_rxq 1 options : dpdk-devargs other_config : pmd-rxq-affinity options : xdp-mode best-effort generic native-with-zerocopy native options : vhost-server-path options : vhost-max-queue-pairs 1 128 options : tx-retries-max 0 32 options : n_rxq_desc 1 options : n_txq_desc 1 options : dpdk-vf-mac options : rx-steering rss+lacp rss other_config : tx-steering hash thread EMC ( ): other_config : emc-enable true false (MTU): mtu mtu_request 1 (Interface Status): admin_state down up link_state down up link_resets link_speed duplex full half lacp_current status - status : driver_name status : driver_version status : firmware_version status : peer_ifindex status : source_ip status : tunnel_egress_iface status : tunnel_egress_iface_carrier down up dpdk: status : port_no status : numa_id status : min_rx_bufsize status : max_rx_pktlen status : max_rx_queues status : max_tx_queues status : max_mac_addrs status : max_hash_mac_addrs status : max_vfs status : max_vmdq_pools status : n_rxq status : n_txq status : rx_csum_offload status : if_type status : if_descr status : bus_info status : dpdk-vf-mac status : rx-steering status : rx_steering_queue status : rss_queues dpdkvhostuser: status : mode status : features status : num_of_vrings status : numa status : socket status : status status : vring_n_size status : userspace-tso afxdp: status : xdp-mode (Statistics): : (Successful transmit and receive counters): statistics : rx_packets statistics : rx_bytes statistics : tx_packets statistics : tx_bytes : (Receive errors): statistics : rx_dropped statistics : rx_frame_err statistics : rx_over_err statistics : rx_crc_err statistics : rx_errors : (Transmit errors): statistics : tx_dropped statistics : collisions statistics : tx_errors (Ingress Policing): ingress_policing_rate 0 ingress_policing_kpkts_rate 0 ingress_policing_burst 0 ingress_policing_kpkts_burst 0 (BFD): BFD (BFD Configuration): bfd : enable true false bfd : min_rx 1 bfd : min_tx 1 bfd : decay_min_rx bfd : forwarding_if_rx true false bfd : cpath_down true false bfd : check_tnl_key true false bfd : bfd_local_src_mac bfd : bfd_local_dst_mac bfd : bfd_remote_dst_mac bfd : bfd_src_ip bfd : bfd_dst_ip bfd : oam bfd : mult 1 255 BFD (BFD Status): bfd_status : state admin_down down init up bfd_status : forwarding true false bfd_status : diagnostic bfd_status : remote_state admin_down down init up bfd_status : remote_diagnostic bfd_status : flap_count 0 (CFM): cfm_mpid cfm_flap_count cfm_fault cfm_fault_status : recv cfm_fault_status : rdi cfm_fault_status : maid cfm_fault_status : loopback cfm_fault_status : overflow cfm_fault_status : override cfm_fault_status : interval cfm_remote_opstate down up cfm_health 0 100 cfm_remote_mpids other_config : cfm_interval other_config : cfm_extended true false other_config : cfm_demand true false other_config : cfm_opstate down up other_config : cfm_ccm_vlan 1 4,095 other_config : cfm_ccm_pcp 1 7 (Bonding Configuration): other_config : lacp-port-id 1 65,535 other_config : lacp-port-priority 1 65,535 other_config : lacp-aggregation-key 1 65,535 (Virtual Machine Identifiers): external_ids : attached-mac external_ids : iface-id external_ids : iface-status active inactive external_ids : vm-id Auto Attach (Auto Attach Configuration): lldp : enable true false (Flow control Configuration): options : rx-flow-ctrl true false options : tx-flow-ctrl true false options : flow-ctrl-autoneg true false (Link State Change detection mode): options : dpdk-lsc-interrupt true false (Hardware Offload Configuration): other_config : hw-offload-priority (Common Columns): other_config - external_ids - (Details): (Core Features): name: ( ) . - . (non- bonded) . . (datapath) : o BSD internal tap system 15 . . o patch . . OpenFlow 15 ovs-ofctl OpenFlow 15 . ifindex: 0 4,294,967,295 SNMP MIB-II RFC 1213 2863 0. ifindex SNMP sFlow . mac_in_use: MAC . mac: . MAC : o MAC mac Port ( ) MAC ( MAC ). ( Mirror ) . o MAC . o MAC . MAC . . MAC Open vSwitch ip . error: -1 ofport Open vSwitch . Open vSwitch . OpenFlow (OpenFlow Port Number): Open vSwitch OpenFlow . ofport_request Open vSwitch OpenFlow . Open vSwitch . Open vSwitch ofport . Open vSwitch 1 32,767 ( ) . 32,768 . ofport: OpenFlow . Open vSwitch . <<>> OpenFlow (OFPP_LOCAL) 65,534 . 1 65,279 ( ) . -1 . ofport_request: 1 65,279 OpenFlow . . 2.1 Open vSwitch : OpenFlow Open vSwitch OpenFlow . ofport_request Open vSwitch . (System-Specific Details): type: . Open vSwitch iface_types Open_vSwitch . : system eth0 . << >> Open vSwitch . system . internal . name name << >> . (bonding) <<>> <<>> . tap TUN/TAP Open vSwitch . Open vSwitch . down tx_dropped . Open vSwitch tx_packets tx_dropped . geneve IPv4/IPv6 Geneve (http://tools.ietf.org/html/draft-ietf-nvo3-geneve). Geneve ovs-ofctl . gre (GRE) IPv4 2 3. ip6gre (GRE) IPv6 2. vxlan UDP VXLAN RFC 7348 . Open vSwitch UDP 4789 IANA . VXLAN (ephemeral) . patch (patch cable) . gtpu GPRS (GTP) IP (GPRS) GSM UMTS LTE . GTP-U GPRS . IPv4 IPv6 PPP . http://www.3gpp.org/DynaReport/29281.htm . Open vSwitch UDP 2152 . GTP . Bareudp Bareudp L3 L3 MPLS IP NSH UDP . srv6 IPv6 (SRv6) L3 < IPv6>> < IPv6>> (SRH) RFC 8754 . SRH SRv6 . (Tunnel Options): type geneve bareudp gre ip6gre vxlan srv6 . type options:remote_ip options:local_ip options:in_key . . options:in_key options:local_ip . options:in_key bareudp srv6 . bareudp srv6 . options : remote_ip: . : o IPv4 IPv6 ( DNS) 192.168.0.123. (unicast) . o flow. . tun_src tun_ipv6_src . remote_ip=flow tun_dst tun_ipv6_dst IP set_field. tun_src . options : local_ip: . IP . . : o IPv4/IPv6 ( DNS) 192.168.12.3. o flow. IP OVS . IP tun_dst tun_ipv6_dst . local_ip=flow tun_src tun_ipv6_src IP set_field. IP . remote_ip=flow . IP tun_dst tun_ipv6_dst . options : in_key: bareudp srv6 . : o 0. 0 . options:in_key . o 24 ( Geneve VXLAN) 32 ( GRE). . o flow. . tun_id . ovs-fields(7) OpenFlow . options : out_key: bareudp srv6 . : o 0. . options:out_key . o 24 ( Geneve VXLAN) 32 ( GRE). . o flow. set_tunnel Nicira OpenFlow ( 0 ). ovs-fields(7) Nicira OpenFlow . options : dst_port: . UDP ( Geneve VXLAN). options : key: . in_key out_key. options : tos: . ToS . ToS DSCP ECN ECN . inherit IPv4 IPv6 ToS ( 0 ). ECN . 0 . options : ttl: . TTL . inherit IPv4 IPv6 TTL ( 64 ). TTL . options : df_default: true false . Don't Fragment MTU . false . options : egress_pkt_mark: . pkt_mark . . : vxlan: options : exts: . VXLAN . : o gbp: VXLAN-GBP (group policy context) VXLAN . tun_gbp_id tun_gbp_flags ovs-fields(7) . (https://tools.ietf.org/html/draft-smith-vxlan-group-policy) o gpe: IETF https://tools.ietf.org/html/draft-ietf-nvo3-vxlan-gpe. VXLAN . VXLAN IPv4 IPv6 NSH MPLS . options : packet_type: legacy_l2 legacy_l3 ptap : o legacy_l2 . o legacy_l3 (L3) OpenFlow . gpe options:exts . o ptap Open vSwitch packet_type OpenFlow 1.5 . gpe options:exts . : gre: gre . options : packet_type: legacy_l2 legacy_l3 ptap : o legacy_l2 . o legacy_l3 (L3) OpenFlow . o ptap . Open vSwitch packet_type OpenFlow 1.5 . options : seq: true false . 4 GRE. true . . : gre ip6gre geneve bareudp vxlan: gre ip6gre geneve bareudp vxlan . options : csum: true false . ( GRE UDP) . ( ) UDP IPv6 GRE UDP IPv4 . false . true . . . (datapath) geneve vxlan 4.0 . gre ip6gre Open vSwitch GRE . : IPsec: IPsec . gre geneve vxlan . IPsec Open_vSwitch . options : psk: PSK . . options : remote_cert: (self-signed) PEM . x.509 3 (CN) (SAN) . options : remote_name: CA (CN) . : erspan: erspan . options : erspan_idx: / 20 ERSPAN (/). . options : erspan_ver: ERSPAN: 1 1 ( II) 2 2 ( III). options : erspan_dir: ERSPAN v2 . 1 (egress) 0 (ingress). options : erspan_hwid: ERSPAN 6 ERSPAN v2 . : Bareudp: options : payload_type: ethertype l3 bareudp . ethertype l3 (IP MPLS) . : srv6: options : srv6_segs: (SRH) . IPv6 "fc00:100::1,fc00:200::1,fc00:300::1". options:remote_ip . options : srv6_flowlabel: compute copy zero . (flowlabel) IPv6 . IPv6 . net.ipv6.seg6_flowlabel : o copy IPv6 IPv6 . IPv6 0 . o zero 0 . o compute L3/L4 . Patch (Patch Options): (patch ports) type patch . ( << >>) . veth . ( ) . (loop) OpenFlow. (datapaths) system netdev. p0 p1 br0 br1 : ovs-vsctl add-port br0 p0 - set Interface p0 type=patch options:peer=p1 \ - add-port br1 p1 - set Interface p1 type=patch options:peer=p0 options : peer: name Interface . peer Interface Interface . name peer . (PMD): netdev PMD . options : n_rxq: 1 rx netdev PMD . 0 rx . vHost DPDK . options : dpdk-devargs: PCI PMD . eth_driver_namex driver_name PMD DPDK x . dpdk . other_config : pmd-rxq-affinity: RX CPU . : other_config:pmd-rxq-affinity= o ::= NULL | o ::= | , o ::= : options : xdp-mode: best-effort generic native-with-zerocopy native XDP . native-with-zerocopy XDP (zero-copy) RX TX . . native native-with-zerocopy . . . generic XDP skb . . best-effort () . netdev-afxdp . best-effort . options : vhost-server-path: vHost User QEMU . dpdkvhostuserclient . options : vhost-max-queue-pairs: 1 128 vHost . backend vhost- user VDUSE . dpdkvhostuserclient . 1 . options : tx-retries-max: 0 32 tx vhost . dpdkvhostuserclient . 8 . options : n_rxq_desc: 1 rx ( rx) dpdk . 2 . 2048 rx . options : n_txq_desc: 1 tx ( tx) dpdk . 2 . 2048 tx . options : dpdk-vf-mac: VF . MAC : o MAC . o (bifurcated) MAC netdevice . VF dpdk . options : rx-steering: rss+lacp rss Rx . : rss Rx RSS. . rss+lacp RSS Rx . Rx LACP . options:n_rxq . Rx Rx . Rx / rte_flow rx-steering rss . other_config:hw-offload . rx-steering rss . dpdk . other_config : tx-steering: hash thread Tx . thread (1:1) txq Tx PMD (N:1) . 1 . hash Tx 5 (5-tuple) . thread . (EMC): / EMC . other_config : emc-enable: true false (EMC) . other_config:emc- insert-inv-prob . true . (MTU): MTU ( ) . MTU 1500 . MTU . MTU mtu_request . Open vSwitch mtu . mtu: MTU . MTU . Open vSwitch . mtu_request: 1 MTU ( ) . MTU . RFC 791 68 . IP 65535 . internal Open vSwitch MTU MTU . (Interface Status): 5 . (link speed) . . admin_state: down up . link_state: down up . (carrier status) . Port miimon miimon . link_resets: Open vSwitch link_state Interface . link_speed: . 0 . duplex: full half (duplex) . lacp_current: LACP . LACP LACP . LACP . LACP . status: - - . type status:driver_name . status : driver_name: . status : driver_version: . status : firmware_version: (firmware) . status : peer_ifindex: veth veth . veth . veth ( status:driver_name "veth" ). . status : source_ip: IP IPv4/IPv6 gre. status : tunnel_egress_iface: . options:remote_ip . . status : tunnel_egress_iface_carrier: down up (carrier) status:tunnel_egress_iface . dpdk: DPDK. status : port_no: DPDK. status : numa_id: NUMA . status : min_rx_bufsize: RX. status : max_rx_pktlen: RX. status : max_rx_queues: RX. status : max_tx_queues: TX. status : max_mac_addrs: MAC. status : max_hash_mac_addrs: MAC MTA UTA. status : max_vfs: MAC MTA UTA. VF. status : max_vmdq_pools: VMDq. status : n_rxq: Rx. status : n_txq: Tx. status : rx_csum_offload: Rx . status : if_type: ifTYPE MIB IANA. status : if_descr: . status : bus_info: (Vendor ID) (Device ID) PCI. status : dpdk-vf-mac: VF. VF dpdk . status : rx-steering: Rx . status : rx_steering_queue: rx. rx-steering . status : rss_queues: rss. rx-steering . dpdkvhostuser: netdev dpdkvhostuser dpdkvhostuserclient. status : mode: () () . status : features: virtio virtio. status : num_of_vrings: virtqueue . status : numa: numa . status : socket: . status : status: . status : vring_n_size: virtqueue n virtqueue 0..(num_of_vrings-1) . status : userspace-tso: userspace-tso . afxdp: AF_XDP. status : xdp-mode: XDP . options:xdp-mode . (Statistics): - . . other_config:stats-update-interval Open_vSwitch . ( select OVSDB) (hot-unplug) . OpenFlow struct ofp_port_stats . . : : statistics : rx_packets: . statistics : rx_bytes: . statistics : tx_packets: . statistics : tx_bytes: . : : statistics : rx_dropped: RX. statistics : rx_frame_err: (frame alignment). statistics : rx_over_err: (overrun) RX. statistics : rx_crc_err: CRC. statistics : rx_errors: . : : statistics : tx_dropped: TX. statistics : collisions: (collisions). statistics : tx_errors: . (Ingress Policing): (ingress policing) . ( ) . (policing) (QoS) . QoS ( QoS Queue ). . OVS DPDK . OVS DPDK << >> (token bucket) . : o ingress_policing_burst . . o ( ) . (forward) . . o ingress_policing_rate . : o ingress_policing_kpkts_burst . . o . . . o ingress_policing_kpkts_rate . (fragmented) IP . . . IP . . IP . : ( TCP ) ( UDP ). . ingress_policing_rate: 0 (kbps). . 0 () . ingress_policing_kpkts_rate: 0 kpps ( 1 kpps 1000 pps ). . 0 () . ingress_policing_burst: 0 / (burst size) (kb). 0 8000 . ingress_policing_rate 0 . TCP . MTU . 80% ingress_policing_rate TCP . ingress_policing_kpkts_burst: 0 / kpkts ( 1 kpkts 1000 ). 0 16 kpkts . ingress_policing_kpkts_rate 0 . TCP . 80% ingress_policing_kpkts_rate TCP . (BFD): BFD RFC 5880 RFC 5881 BFD . Open vSwitch BFD CFM . BFD BFD . . Open vSwitch (detection multiplier) BFD . BFD . BFD Open vSwitch RFC 5880 . Open vSwitch (Authentication) << >> (Echo Mode) . OVS 2.13 BFD . OVS 2.14 BFD BFD BFD OVS . BFD (BFD Configuration): BFD - bfd . bfd : enable: true false true BFD Interface. BFD . bfd : min_rx: 1 BFD BFD . . 1000 . bfd : min_tx: 1 BFD BFD . . 100 . bfd : decay_min_rx: bfd:min_rx . bfd:min_rx bfd:decay_min_rx CPU (idle) . 0 . bfd:decay_min_rx bfd:min_rx . bfd : forwarding_if_rx: true false true Interface / (I/O) . BFD . BFD 100 * bfd:min_rx . bfd:forwarding false . bfd : cpath_down: true false true . << >> (concatenated path down) . false . bfd : check_tnl_key: true false BFD true . BFD . bfd : bfd_local_src_mac: MAC BFD xx:xx:xx:xx:xx:xx . mac BFD . bfd : bfd_local_dst_mac: MAC BFD xx:xx:xx:xx:xx:xx . 00:23:20:00:00:01 . bfd : bfd_remote_dst_mac: MAC BFD xx:xx:xx:xx:xx:xx . MAC BFD . MAC BFD . bfd : bfd_src_ip: IP BFD IPv4 . 169.254.1.1 . bfd : bfd_dst_ip: IP BFD IPv4 . 169.254.1.0 . bfd : oam: ( Geneve) OAM . true BFD OAM . bfd : mult: 1 255 BFD 3 . BFD . BFD (BFD Status): - bfd_status BFD . BFD ( bfd:enable) - bfd_status . bfd_status : state: admin_down down init up BFD . UP BFD . bfd_status : forwarding: true false BFD Interface . UP . bfd_status : diagnostic: . 4.1 [RFC 5880] . bfd_status : remote_state: admin_down down init up BFD . bfd_status : remote_diagnostic: . 4.1 [RFC 5880] . bfd_status : flap_count: 0 (flaps) bfd_status:forwarding . bfd_status:forwarding . (CFM): 802.1ag (CFM) (MPs) (MA) . MA . (CCMs) . 802.1ag . Open vSwitch . . in_key in_key flow CFM CCM . cfm_mpid: (MPID) . MPID MA . MPID . CFM Interface . 802.1ag MPID [1, 8191] . ( other_config:cfm_extended ) MPID . cfm_flap_count: cfm . cfm_fault . cfm_fault: (heartbeats) . Interface (bonds) . . CCM 3.5 . CCM CCM . CCM . CCM MPID . cfm_fault_status : recv: (none) CFM CCM Interface . cfm_fault_status : rdi: (none) CFM CCM RDI . CCM RDI CCM . . cfm_fault_status : maid: (none) CFM CCM MAID Open vSwitch . CFM MPID MAID . Open vSwitch CCM MAID . cfm_fault_status : loopback: (none) CFM CCM MPID cfm_mpid Interface . . cfm_fault_status : overflow: (none) CFM CFM CCM . cfm_fault_status : override: (none) CFM ovs-appctl . cfm_fault_status : interval: (none) CFM CCM . cfm_remote_opstate: down up up down . other_config:cfm_opstate . cfm_health: 0 100 CCM 21 other_config:cfm_intervals . cfm_remote_mpids . . 21 other_config:cfm_intervals . . . . 100 . cfm_remote_mpids: CFM Open vSwitch CCM . MPID . MPID Interface . other_config : cfm_interval: CFM. . 3 10 100 1,000 10,000 60,000 600,000 . . ( other_config:cfm_extended ) 65,535 . 1000 . 100 . other_config : cfm_extended: true false true CFM . . 802.1ag cfm_interval . MPID . false . other_config : cfm_demand: true false true other_config:cfm_extended CFM (demand mode) . Interface . CCM . CCM 100 * other_config:cfm_interval . CFM . : o ovs-vswitchd (datapath) 3.5 * MAX(other_config:cfm_interval, 500) . o . o Interface CCM other_config:cfm_opstate . CCM RDI . other_config : cfm_opstate: down up down CFM CCM . Interface CFM . Open vSwitch opdown CCM Interface OpenFlow bundle . CFM . up . other_config : cfm_ccm_vlan: 1 4,095 CFM VLAN CCM . random CCM VLAN . other_config : cfm_ccm_pcp: 1 7 CFM VLAN CCM PCP VLAN other_config:cfm_ccm_vlan . other_config:cfm_ccm_vlan VLAN . (Bonding Configuration): other_config : lacp-port-id: 1 65,535 LACP Interface. LACP . other_config : lacp-port-priority: 1 65,535 LACP Interface. LACP (Interface) . other_config : lacp-aggregation-key: 1 65,535 LACP Interface. (Interface) Port . (Virtual Machine Identifiers): - . - . -uuid . external_ids : attached-mac: MAC << >> xx:xx:xx:xx:xx:xx. external_ids : iface-id: . external_ids : iface-status: active inactive external_ids:iface-id . <> <> external_ids:iface-id . active inactive . external_ids:iface-id active external_ids:iface-status . (VM migration) external_ids:iface-id active . active external_ids:iface-id . : <<>> ( ) . <<>> external_ids:iface-id active . external_ids : vm-id: . (Auto Attach Configuration): . lldp : enable: true false true LLDP Interface. LLDP . (Flow control Configuration): IEEE 802.1Qbb (pause) MAC . dpdk . options : rx-flow-ctrl: true false Rx true . Rx . options : tx-flow-ctrl: true false Tx true . Tx . options : flow-ctrl-autoneg: true false true . . (Link State Change detection mode): options : dpdk-lsc-interrupt: true false false (poll mode) (LSC) (interrupt mode) DPDK . . dpdk netdev . (Hardware Offload Configuration): other_config : hw-offload-priority: . none . none . none . . other_config:hw- offload-priority . . . : ovs-vsctl add-port br0 p1 - \ set Interface p1 other_config:hw-offload-priority=none (Common Columns): (Common Columns) . other_config: - external_ids: - Flow_Table (Flow_Table TABLE) OpenFlow . (Summary): name (Eviction Policy): flow_limit overflow_policy evict refuse groups (Classifier Optimization): prefixes (Common Columns): external_ids - (Details): name: . ovs-ofctl dump-tables. . (Eviction Policy): Open vSwitch flow_limit . Open vSwitch Open vSwitch (<<>> <>) : o overflow_policy evict. o << >> (table mod request) +OpenFlow 1.4 ( ovs-ofctl -O OpenFlow14 mod-table br0 0 evict br0). . : 1. groups . . groups . 2. . . 3. (importance) . (<<>> OpenFlow 1.4 . OpenFlow .) 4. . (idle timeout) (hard timeout) . . ( flow_limit .) flow_limit: . Open vSwitch . overflow_policy: evict refuse OpenFlow flow_limit . : refuse . overflow_policy . evict . groups: overflow_policy evict flow_limit . NXM field[] field[start..end] NXM_OF_IN_PORT[]. NXM meta-flow.h . Open vSwitch . overflow_policy <> +OpenFlow 1.4 . (Classifier Optimization): prefixes: (prefix tracking) . (classifier) (wildcarding) (datapath flows) . IP . IP (proper prefixes) (). (userspace) . . (userspace upcalls) . . : tun_id tun_src tun_dst tun_ipv6_src tun_ipv6_dst nw_src nw_dst ( ip_src ip_dst) ipv6_src ipv6_dst. ( tun_id IP .) prefixes=ip_dst,ip_src,ipv6_dst,ipv6_src . IPv4 IPv6 . none . : ovs-vsctl set Bridge br0 flow_tables:0=@N1 -- --id=@N1 create Flow_Table name=table0 OpenFlow . ovs-vsctl set Flow_Table table0 prefixes=ip_dst,ip_src IPv4 . . . (Common Columns): (Common Columns) . external_ids: - QoS (QoS TABLE) (QoS) Port . (Summary): type queues -Queue linux-htb linux-hfsc (Configuration for linux-htb and linux-hfsc): other_config : max-rate QoS egress- policer (Configuration for egress-policer QoS): other_config : cir other_config : cbs other_config : eir other_config : ebs linux-sfq (Configuration for linux-sfq): other_config : perturb other_config : quantum linux-netem (Configuration for linux-netem): other_config : latency other_config : limit other_config : loss other_config : jitter (Common Columns): other_config - external_ids - (Details): type: QoS . : linux-htb <> . tc-htb(8) ( http://linux.die.net/man/8/tc-htb) HTB (http://luxik.cdi.cz/~devik/qos/htb/manual/userg.htm) . linux-hfsc <> . http://linux-ip.net/articles/hfsc.en . linux-sfq <> . tc-sfq(8) ( http://linux.die.net/man/8/tc-sfq) . linux-codel <> . tc-codel(8) ( http://man7.org/linux/man-pages/man8/tc-codel.8.html) . linux-fq_codel <> . tc-fq_codel(8) ( http://man7.org/linux/man-pages/man8/tc-fq_codel.8.html) . linux-netem <> . tc-netem(8) ( http://man7.org/linux/man-pages/man8/tc-netem.8.html) . linux-noop << >> (No operation) . Open vSwitch . QoS . type Open vSwitch QoS . egress-policer (egress policer) DPDK rte_meter DPDK. rte_meter (policing) . OVS (token bucket) . rte_meter QoS rte_meter (CPU) . . . trtcm-policer DPDK (Two-Rate, Three-Color marker) RFC 4115. (color-blind) (color-aware) . . RFC 4115 . << >> other_config . queues: -Queue Queue. type . queue_id OpenFlow struct ofp_action_enqueue . << >> . OpenFlow . Queue dscp other_config . ( 1.6 Open vSwitch . .) linux-htb linux-hfsc (Configuration for linux-htb and linux-hfsc): linux-htb linux-hfsc - : other_config : max-rate: (bit/s). . (link rate) . 10 Gbps . QoS egress-policer (Configuration for egress-policer QoS): type QoS egress-policer (egress policing) DPDK . - . other_config : cir: (Committed Information Rate CIR) IP IP ( ) . . cir (pps ) . CIR 46000000 . <<1,000,000 x 46>> 1,000,000 46 IP FCS . other_config : cbs: (Committed Burst Size CBS) . . . cbs / . cbs . other_config : eir: (Excess Information Rate EIR) IP IP ( ) . . eir (pps ) . EIR 46000000 . <<1,000,000 x 46>> 1,000,000 46 IP FCS . other_config : ebs: (Excess Burst Size EBS) . . . ebs / . ebs . linux-sfq (Configuration for linux-sfq): linux-sfq - : other_config : perturb: (perturbations) (). . . . (packet reordering) . other_config : quantum: QoS linux-sfq (round-robin) (dequeue). MTU . linux-netem (Configuration for linux-netem): linux-netem - : other_config : latency: . (latency) (us) . other_config : limit: qdisc . 1000 . other_config : loss: (loss) . other_config : jitter: (jitter) . (us) . (Common Columns): (Common Columns) . other_config: - external_ids: - Queue (Queue TABLE) (QoS) . queues QoS . (Summary): dscp QoS linux-htb (Configuration for linux-htb QoS): other_config : min-rate other_config : max-rate other_config : burst other_config : priority QoS linux-hfsc (Configuration for linux-hfsc QoS): other_config : min-rate other_config : max-rate (Common Columns): other_config - external_ids - (Details): dscp: Open vSwitch Queue DSCP . Queue Queue . DSCP Queue . QoS linux-htb (Configuration for linux-htb QoS): linux-htb QoS queue_id . - . other_config : min-rate: (bit/s). other_config : max-rate: (bit/s). . . . other_config : burst: . <<>> . . linux-htb burst . other_config : priority: priority . . . QoS linux-hfsc (Configuration for linux-hfsc QoS): linux-hfsc QoS queue_id . - . other_config : min-rate: (bit/s). other_config : max-rate: (bit/s). . . . (Common Columns): (Common Columns) . other_config: - external_ids: - Mirror (Mirror TABLE) (port mirror) Bridge. <<>> (mirrored) . SPAN RSPAN . Open vSwitch (ingress) VLAN . (egress) VLAN . Open vSwitch 2.5 Open vSwitch 2.4 . : Open vSwitch 2.4 Open vSwitch 2.5 . Open vSwitch . output_port select_dst_port select_src_port Mirror . (Summary): name (Selecting Packets for Mirroring): select_all select_dst_port Port select_src_port Port select_vlan filter (Mirroring Destination Configuration): output_port Port output_vlan snaplen : (Statistics: Mirror counters): statistics : tx_packets statistics : tx_bytes (Common Columns): external_ids - (Details): name: Mirror. (Selecting Packets for Mirroring): VLAN . select_all: true . select_dst_port: Port . select_src_port: Port . select_vlan: VLAN . VLAN . filter: filter . . (syntax) filter ovs-fields(7) . in_port select_src_port . select_all select_dst_port select_src_port select_vlan . (Mirroring Destination Configuration): . . output_port: Port . . . Open vSwitch . ( SPAN ) GRE . output_vlan: VLAN . output_vlan (trunk) VLAN output_vlan . VLAN output_vlan VLAN . RSPAN . MAC VLAN other_config:forward-bpdu Interface . : VLAN . : Open vSwitch VLAN 123 . . Open vSwitch VLAN 123 . MAC . Open vSwitch . VLAN VLAN . VLAN . MAC . . VLAN VLAN . Open vSwitch VLAN flood_vlans Bridge . GRE VLAN . snaplen: . snaplen snaplen . . : (Statistics: Mirror counters): - . other_config:stats-update-interval Open_vSwitch . statistics : tx_packets: . statistics : tx_bytes: . (Common Columns): (Common Columns) . external_ids: - Controller (Controller TABLE) OpenFlow. (Summary): (Core Features): type primary service target connection_mode in-band out-of-band (Controller Failure Detection and Handling): max_backoff 1,000 inactivity_probe (Asynchronous Messages): enable_async_messages (optional boolean) (Controller Rate Limiting): controller_queue_size 1 512 controller_rate_limit 100 controller_burst_limit 25 (Controller Rate Limiting Statistics): status : packet-in-TYPE-bypassed 0 status : packet-in-TYPE-queued 0 status : packet-in-TYPE-dropped 0 status : packet-in-TYPE-backlog 0 (Additional In-Band Configuration): local_ip local_netmask local_gateway (Controller Status): is_connected (boolean) role master other slave status : last_error status : state ACTIVE BACKOFF CONNECTING IDLE VOID status : sec_since_connect 0 status : sec_since_disconnect 1 (Connection Parameters): other_config : dscp (Common Columns): external_ids - other_config - (Details): (Core Features): type: primary service Open vSwitch OpenFlow . : (Primary controllers) OpenFlow . . fail_mode Bridge . Open vSwitch . OpenFlow . (Service controllers) OpenFlow ovs-ofctl. . fail_mode Bridge . Open vSwitch . . target: . : ssl:host[:port] SSL/TLS (port) host DNS ( unbound ) IP . ssl Open_vSwitch SSL/TLS . port 6653 . SSL/TLS Open vSwitch . tcp:host[:port] TCP (port) host DNS ( unbound ) IP ( ) . host IPv6 tcp:[::1]:6653. port 6653 . : pssl:[port][:host] SSL/TLS TCP (port) . host DNS ( unbound ) IP IP (IPv4 IPv6) . host IPv6 pssl:6653:[::1]. port 6653 . host IPv4 ( IPv6) . ssl Open_vSwitch SSL/TLS . port 6653 . SSL/TLS Open vSwitch . ptcp:[port][:host] TCP (port) . host DNS ( unbound ) IP IP (IPv4 IPv6) . host IPv6 ptcp:6653:[::1]. host IPv4 . port 6653 . target . target . connection_mode: in-band out-of-band Open vSwitch OpenFlow : in-band OpenFlow . Open vSwitch OpenFlow . ( Open vSwitch .) . out-of-band OpenFlow . ovs-vswitchd . . (Controller Failure Detection and Handling): max_backoff: 1,000 . . inactivity_probe: (inactivity probe). Open vSwitch . Open vSwitch . . 0 . (Asynchronous Messages): OpenFlow . << >> (asynchronous messages) . . enable_async_messages: (optional boolean) OpenFlow ( ) . false Open vSwitch . NXT_SET_ASYNC_CONFIG Nicira OpenFlow . (Controller Rate Limiting): OpenFlow . OpenFlow . Open vSwitch . OpenFlow : << >> (misses) (action) . Open vSwitch . . OpenFlow . (QoS) . QoS ingress_policing_rate Interface . controller_queue_size: 1 512 OpenFlow . 512 . other_config:controller-queue-size ( ) 100 . : (latency) . controller_rate_limit: 100 OpenFlow . . controller_burst_limit: 25 Open vSwitch . . . controller_rate_limit . controller_rate_limit 250 . (Controller Rate Limiting Statistics): . OpenFlow ( ) . : miss TYPE action TYPE OpenFlow. . status : packet-in-TYPE-bypassed: 0 . status : packet-in-TYPE-queued: 0 . status : packet-in-TYPE-dropped: 0 . status:packet-in-TYPE-queued . status : packet-in-TYPE-backlog: 0 . 0 controller_burst_limit . (Additional In-Band Configuration): ( connection_mode ). . . local_ip: IP 192.168.0.123. local_netmask local_gateway . local_netmask: IP () 255.255.255.0. local_ip IP A B C . local_gateway: IP (gateway) 192.168.0.1. . (Controller Status): is_connected: (boolean) true false . role: master other slave . : other OpenFlow . master other . ovs-vswitchd slave . slave OpenFlow . . OFPT_PACKET_IN OFPT_FLOW_REMOVED OFPT_PORT_STATUS . status : last_error: strerror(errno). . status : state: ACTIVE BACKOFF CONNECTING IDLE VOID : VOID . BACKOFF (). CONNECTING . ACTIVE . IDLE . (keep-alive). . . status : sec_since_connect: 0 ( ). . status : sec_since_disconnect: 1 ( ). . (Connection Parameters): Open vSwitch. other_config : dscp: (DSCP) (TOS) IP . DSCP (QoS) IP . DSCP Open vSwitch . 48 . DSCP 0 63 . (Common Columns): (Common Columns) . external_ids: - other_config: - Manager (Manager TABLE) Open vSwitch (OVSDB). Open vSwitch (ovsdb-server) Open vSwitch (ovs-vswitchd) . (in-band) . Open vSwitch . (listen) . (Summary): (Core Features): target ( ) connection_mode in-band out-of-band (Client Failure Detection and Handling): max_backoff 1,000 inactivity_probe (Status): is_connected (boolean) status : last_error status : state ACTIVE BACKOFF CONNECTING IDLE VOID status : sec_since_connect 0 status : sec_since_disconnect 0 status : locks_held status : locks_waiting status : locks_lost status : n_connections 2 status : bound_port (Connection Parameters): other_config : dscp (Common Columns): external_ids - other_config - (Details): (Core Features): target: ( ) (managers). : ssl:host[:port] SSL/TLS (port) host DNS ( unbound ) IP . ssl Open_vSwitch SSL/TLS . port 6640 . SSL/TLS Open vSwitch . tcp:host[:port] TCP (port) host DNS ( unbound ) IP ( ) . host IPv6 tcp:[::1]:6640. port 6640 . pssl:[port][:host] SSL/TLS TCP (port) . port 0 . host DNS ( unbound ) IP IP (IPv4 IPv6) . host IPv6 pssl:6640:[::1]. host IPv4 ( IPv6) . ssl Open_vSwitch SSL/TLS . port 6640 . SSL/TLS Open vSwitch . ptcp:[port][:host] TCP (port) . port 0 . host DNS ( unbound ) IP IP (IPv4 IPv6) . host IPv6 ptcp:6640:[::1]. host IPv4 . port 6640 . target . target . connection_mode: in-band out-of-band Open vSwitch OVSDB : in-band Open vSwitch . Open vSwitch OpenFlow . ( Open vSwitch .) . out-of-band Open vSwitch Open vSwitch . ovs-vswitchd . . (Client Failure Detection and Handling): max_backoff: 1,000 . . inactivity_probe: (inactivity probe). Open vSwitch . Open vSwitch . . 0 . (Status): - is_connected . - target . target ( ptcp: punix:) n_connections is_connected - . target - - . . is_connected: (boolean) true false . status : last_error: strerror(errno). . status : state: ACTIVE BACKOFF CONNECTING IDLE VOID : VOID . BACKOFF (). CONNECTING . ACTIVE . IDLE . (keep-alive). . . status : sec_since_connect: 0 ( ). . status : sec_since_disconnect: 0 ( ). . status : locks_held: OVSDB . . status : locks_waiting: OVSDB . . status : locks_lost: OVSDB OVSDB . . status : n_connections: 2 target ( ptcp: pssl:) . - . status : bound_port: target ptcp: pssl: TCP OVSDB . ( target 0 .) (Connection Parameters): Open vSwitch. other_config : dscp: (DSCP) (TOS) IP . DSCP (QoS) IP . DSCP Open vSwitch . 48 . DSCP 0 63 . (Common Columns): (Common Columns) . external_ids: - other_config: - NetFlow (NetFlow TABLE) (NetFlow target). (NetFlow) IP . (Summary): targets engine_id engine_type active_timeout - add_id_to_interface (boolean) (Common Columns): external_ids - (Details): targets: ip:port. ip DNS. engine_id: (Engine ID) . (datapath index) . engine_type: (Engine type) . . active_timeout: - . 0 ( ) -1 . (passive timeout) . Open vSwitch OpenFlow (CPU) . . add_id_to_interface: (boolean) false (ingress) (egress) OpenFlow . true . (collectors) . . (Common Columns): (Common Columns) . external_ids: - Datapath (Datapath TABLE) (datapath) Open_vSwitch. (datapath) Open vSwitch . Open vSwitch : (userspace). system datapath_type Bridge . DPDK AF-XDP netdev datapath_type Bridge . . . (Summary): datapath_version ct_zones -CT_Zone (Capabilities): capabilities : max_vlan_headers capabilities : recirc true false capabilities : lb_output_action true false (Connection-Tracking Capabilities): capabilities : ct_state true false capabilities : ct_state_nat true false capabilities : ct_zone true false capabilities : ct_mark true false capabilities : ct_label true false capabilities : ct_orig_tuple true false capabilities : ct_orig_tuple6 true false capabilities : masked_set_action true false capabilities : tnl_push_pop true false capabilities : ufid true false capabilities : trunc true false capabilities : nd_ext true false (Clone Actions): capabilities : clone true false capabilities : sample_nesting capabilities : ct_eventmask true false capabilities : ct_clear true false capabilities : max_hash_alg capabilities : check_pkt_len true false capabilities : ct_timeout true false capabilities : explicit_drop_action true false capabilities : ct_zero_snat true false capabilities : ct_flush true false capabilities : psample true false ct_zone_default_limit (Common Columns): external_ids - (Details): datapath_version: (datapath) Open vSwitch . (userspace) Open vSwitch . ( ovs_version Open_vSwitch Open vSwitch .) : o ovs-vswitchd (built-in) . Open vSwitch . o . ovs-vswitchd . Open vSwitch : . / . VXLAN . . ct_zones: -CT_Zone (connection tracking zones). . 0 ( OpenFlow ). (Capabilities): capabilities . netdev Open vSwitch ovs-vswitchd . OVS ovs-vswitchd . Open vSwitch . OpenFlow capabilities:ct_state true . . . capabilities : max_vlan_headers: 802.1q VLAN (slow path) ovs-vswitchd . VLAN . other-config:vlan-limit Open_vSwitch . capabilities : recirc: true false true (recirculation) OVS_KEY_ATTR_RECIRC_ID . MPLS - (active- active load balancing) . capabilities : lb_output_action: true false true balance-tcp . hash recirc lb_output . balance-tcp netdev . (bond buckets) . other-config:lb-output-action Port . (Connection-Tracking Capabilities): Open vSwitch . capabilities : ct_state: true false true OVS_KEY_ATTR_CT_STATE ct_state OpenFlow ( ovs-fields(7) ) snat dnat . false false . Open vSwitch ct_state ct . capabilities : ct_state_nat: true false true snat dnat ct_state OpenFlow . ct_state true . false Open vSwitch snat dnat ct_state nat ct . capabilities : ct_zone: true false true OVS_KEY_ATTR_CT_ZONE . false Open vSwitch ct_zone ct . capabilities : ct_mark: true false true OVS_KEY_ATTR_CT_MARK . false Open vSwitch ct_mark ct_mark ct . capabilities : ct_label: true false true OVS_KEY_ATTR_CT_LABEL . false Open vSwitch ct_label ct_label ct . capabilities : ct_orig_tuple: true false true - (5-tuple) IPv4 . false Open vSwitch ct_nw_src ct_nw_dst ct resubmit force ct . ( . .) capabilities:ct_orig_tuple6 false Open vSwitch ct_nw_proto ct_tp_src ct_tp_dst . capabilities : ct_orig_tuple6: true false true - IPv6 . false Open vSwitch ct_ipv6_src ct_ipv6_dst . capabilities : masked_set_action: true false true OVS_ACTION_ATTR_SET . (megaflows) . capabilities : tnl_push_pop: true false true tnl_push pop . (native tunneling) . capabilities : ufid: true false true OVS_FLOW_ATTR_UFID . UFID (revalidation) . capabilities : trunc: true false true OVS_ACTION_ATTR_TRUNC . false output (truncation) Open vSwitch . capabilities : nd_ext: true false true OVS_KEY_ATTR_ND_EXTENSIONS ICMPv6 "ND reserved" "ND option type" . false . (Clone Actions): Open vSwitch OpenFlow . OpenFlow ct meter output (truncation) encap decap dec_nsh_ttl . . . output OpenFlow (patch port) ct NAT ( ) . Open vSwitch << >> . Open vSwitch . Open vSwitch . capabilities : clone: true false true OVS_ACTION_ATTR_CLONE . . Open vSwitch . ( clone OpenFlow OVS_ACTION_ATTR_CLONE . clone .) capabilities : sample_nesting: (nesting) OVS_ACTION_ATTR_SAMPLE. Open vSwitch OVS_ACTION_ATTR_CLONE ( ) . capabilities : ct_eventmask: true false true OVS_ACTION_ATTR_CT OVS_CT_ATTR_EVENTMASK . true Open vSwitch (event mask) conntrack . Open vSwitch TCP (CPU) . capabilities : ct_clear: true false true OVS_ACTION_ATTR_CT_CLEAR . false ct_clear OpenFlow . capabilities : max_hash_alg: dp_hash . Open vSwitch () . capabilities : check_pkt_len: true false true OVS_ACTION_ATTR_CHECK_PKT_LEN . false Open vSwitch check_pkt_larger Open vSwitch . capabilities : ct_timeout: true false true OVS_CT_ATTR_TIMEOUT OVS_ACTION_ATTR_CT . false Open vSwitch CT_Timeout_Policy . capabilities : explicit_drop_action: true false true OVS_ACTION_ATTR_DROP . false (explicit drop action) . capabilities : ct_zero_snat: true false true SNAT (all-zero SNAT) . IP src nat(src=0.0.0.0). (commit) (ephemeral port) . SNAT . capabilities : ct_flush: true false true Nicira OpenFlow CT NXT_CT_FLUSH . NXT_CT_FLUSH CT . capabilities : psample: true false true OVS_ACTION_ATTR_PSAMPLE . false . ct_zone_default_limit: limit . . 0 . (Common Columns): (Common Columns) . external_ids: - CT_Zone (CT_Zone TABLE) (Summary): timeout_policy CT_Timeout_Policy limit (Common Columns): external_ids - (Details): timeout_policy: CT_Timeout_Policy . . limit: . ct_zone_default_limit . 0 . (Common Columns): (Common Columns) . external_ids: - CT_Timeout_Policy (CT_Timeout_Policy TABLE) (Summary): (Timeouts): timeouts - icmp_first icmp_reply tcp_close tcp_close_wait tcp_established tcp_fin_wait tcp_last_ack tcp_retransmit tcp_syn_recv tcp_syn_sent2 tcp_syn_sent tcp_time_wait tcp_unack udp_first udp_multiple udp_single TCP (TCP Timeouts): timeouts : tcp_syn_sent timeouts : tcp_syn_recv timeouts : tcp_established timeouts : tcp_fin_wait timeouts : tcp_close_wait timeouts : tcp_last_ack timeouts : tcp_time_wait timeouts : tcp_close timeouts : tcp_syn_sent2 timeouts : tcp_retransmit timeouts : tcp_unack UDP (UDP Timeouts): timeouts : udp_first timeouts : udp_single timeouts : udp_multiple ICMP (ICMP Timeouts): timeouts : icmp_first timeouts : icmp_reply (Common Columns): external_ids - (Details): (Timeouts): timeouts: - icmp_first icmp_reply tcp_close tcp_close_wait tcp_established tcp_fin_wait tcp_last_ack tcp_retransmit tcp_syn_recv tcp_syn_sent2 tcp_syn_sent tcp_time_wait tcp_unack udp_first udp_multiple udp_single timeouts - . - . . TCP (TCP Timeouts): timeouts : tcp_syn_sent: TCP SYN conntrack. timeouts : tcp_syn_recv: TCP SYN-ACK conntrack. timeouts : tcp_established: . timeouts : tcp_fin_wait: TCP FIN conntrack. timeouts : tcp_close_wait: TCP ACK TCP FIN. . timeouts : tcp_last_ack: TCP FIN conntrack . . timeouts : tcp_time_wait: TCP ACK TCP FIN conntrack. timeouts : tcp_close: TCP RST conntrack. timeouts : tcp_syn_sent2: TCP SYN conntrack ( simultaneous open). . timeouts : tcp_retransmit: . . timeouts : tcp_unack: SYN TCP . . UDP (UDP Timeouts): timeouts : udp_first: UDP conntrack. (userspace datapath) . timeouts : udp_single: conntrack UDP . timeouts : udp_multiple: UDP . ICMP (ICMP Timeouts): timeouts : icmp_first: ICMP conntrack. timeouts : icmp_reply: ICMP . . (Common Columns): (Common Columns) . external_ids: - SSL (SSL TABLE) / (SSL/TLS) Open_vSwitch. (Summary): private_key certificate ca_cert bootstrap_ca_cert (boolean) (Common Columns): external_ids - (Details): private_key: PEM SSL/TLS . certificate: PEM (CA) . ca_cert: PEM CA . bootstrap_ca_cert: (boolean) true Open vSwitch SSL/TLS CA PEM . SSL/TLS CA . CA SSL/TLS (man-in-the-middle) . (bootstrapping) . (Common Columns): (Common Columns) . external_ids: - sFlow (sFlow TABLE) sFlow(R). (sFlow) . (Summary): agent header polling sampling targets (Common Columns): external_ids - (Details): agent: (agent) IP sFlow . IP . IP . . IP local_ip Controller . IP sFlow . header: . 128 . polling: (polling) . 30 . sampling: . 400 400 . targets: sFlow ip:port. (Common Columns): (Common Columns) . external_ids: - IPFIX (IPFIX TABLE) IPFIX. (IPFIX) . IPFIX Open vSwitch . IPFIX Open vSwitch : o (per-bridge sampling) Open vSwitch IPFIX . IPFIX ipfix Bridge . Flow_Sample_Collector_Set . o (flow-based sampling) sample OpenFlow IPFIX . sample ovs-actions(7) . : IPFIX IPFIX Flow_Sample_Collector_Set Bridge ( sample ) IPFIX . ipfix Bridge . (Summary): targets cache_active_timeout 0 4,200 cache_max_flows 0 4,294,967,295 stats_interval 1 3,600 template_interval 1 3,600 other_config : enable-tunnel-sampling true false other_config : virtual_obs_id (Per-Bridge Sampling): sampling 1 4,294,967,295 obs_domain_id 0 4,294,967,295 obs_point_id 0 4,294,967,295 other_config : enable-input-sampling true false other_config : enable-output-sampling true false (Common Columns): external_ids - (Details): targets: IPFIX ip:port. cache_active_timeout: 0 4,200 IPFIX . 0 . 0 . cache_max_flows: 0 4,294,967,295 IPFIX . 0 . 0 . stats_interval: 1 3,600 ( ) IPFIX 4.3 IETF RFC 5101. 600 . template_interval: 1 3,600 ( ) (Template) IPFIX (Observation Domain ID). 600 . other_config : enable-tunnel-sampling: true false (7-tuples) IPFIX true . . : tunnelType: : 891 6876 (VMware). : . : (identifier). : : 0x01 VxLAN 0x02 GRE 0x07 GENEVE. tunnelKey: : 892 6876 (VMware). : (octetarray) . : (identifier). : VxLAN (VNI ) GENEVE (VNI ) GRE ( ) . (network byte order) . tunnelSourceIPv4Address: : 893 6876 (VMware). : . : (identifier). : IPv4 IP . tunnelDestinationIPv4Address: : 894 6876 (VMware). : . : (identifier). : IPv4 IP . tunnelProtocolIdentifier: : 895 6876 (VMware). : . : (identifier). : IP . (payload) IP . tunnelSourceTransportPort: : 896 6876 (VMware). : . : (identifier). : (transport) . UDP TCP SCTP . tunnelDestinationTransportPort: : 897 6876 (VMware). : . : (identifier). : (transport) . UDP TCP SCTP . 2.5.90 Open vSwitch other_config:enable-tunnel-sampling . 2.5.90 Open vSwitch other_config:enable-tunnel-sampling . other_config : virtual_obs_id: IPFIX . << >> (virtual observation ID) . IP . 254 . IPFIX . : virtualObsID: : 898 6876 (VMware). : . : (identifier). : . 2.5.90 Open vSwitch . (Per-Bridge Sampling): . . sampling: 1 4,294,967,295 . 400 400 . obs_domain_id: 0 4,294,967,295 (Observation Domain ID) IPFIX IPFIX . 0 . obs_point_id: 0 4,294,967,295 (Observation Point ID) IPFIX IPFIX . 0 . other_config : enable-input-sampling: true false Open vSwitch IPFIX . false . other_config : enable-output-sampling: true false Open vSwitch IPFIX . false . (Common Columns): (Common Columns) . external_ids: - Flow_Sample_Collector_Set (Flow_Sample_Collector_Set TABLE) IPFIX sample OpenFlow . ipfix IPFIX IPFIX . IPFIX ( IPFIX ). local_group_id (datapath) . local_group_id observation_domain_id observation_point_id (network byte order). . psample . : local_group_id ipfix . (Summary): id 0 4,294,967,295 bridge Bridge ipfix IPFIX local_group_id 0 4,294,967,295 (Common Columns): external_ids - (Details): id: 0 4,294,967,295 collector_set_id sample OpenFlow. bridge: Bridge sample OpenFlow IPFIX . ipfix: IPFIX IPFIX . local_group_id: 0 4,294,967,295 . (Common Columns): (Common Columns) . external_ids: - AutoAttach (AutoAttach TABLE) (Auto Attach) . IETF Auto-Attach SPBM IEEE 802.1AB (LLDP) IEEE 802.1aq (SPB) SPB . OVS SPB . (Auto Attach AA) LLDP (AAC) (AAS) . LLDP -- (TLVs) . TLV AA . TLV AA AA AA . AAC AAS . OVS OVS AA AA SPB . AA AAC TLV AAC AAS . Auto Attach VLAN SPB (ISIDs) SPB . VLAN SPB . VLAN ISID ovs-vsctl . Auto Attach OVS LLDP . TLV LLDP TLV AA . LLDP OVS . LLDP . (Summary): system_name system_description mappings - 0 16,777,215 0 4,095 (Details): system_name: system_name LLDP . . system_description: system_description LLDP . . mappings: - 0 16,777,215 0 4,095 (ISID) SPB VLAN. Open vSwitch 4.0.0 DB Schema 8.8.0 ovs-vswitchd.conf.db(5)