Getting a snapshot of OVS interfaces from a running node
To capture the current state of OVS interface and data from a running MicroShift node, you can run sudo ovs-vsctl show on the node.
-
To see a snapshot of OVS interfaces from a running MicroShift node, enter the following command:
$ sudo ovs-vsctl showExample OVS interfaces in a running node9d9f5ea2-9d9d-4e34-bbd2-dbac154fdc93 Bridge br-ex Port br-ex Interface br-ex type: internal Port patch-br-ex_localhost.localdomain-to-br-int Interface patch-br-ex_localhost.localdomain-to-br-int type: patch options: {peer=patch-br-int-to-br-ex_localhost.localdomain} Bridge br-int fail_mode: secure datapath_type: system Port patch-br-int-to-br-ex_localhost.localdomain Interface patch-br-int-to-br-ex_localhost.localdomain type: patch options: {peer=patch-br-ex_localhost.localdomain-to-br-int} Port eebee1ce5568761 Interface eebee1ce5568761 Port b47b1995ada84f4 Interface b47b1995ada84f4 Port "3031f43d67c167f" Interface "3031f43d67c167f" Port br-int Interface br-int type: internal Port ovn-k8s-mp0 Interface ovn-k8s-mp0 type: internal ovs_version: "2.17.3"where:
patch-br-ex_localhost.localdomain-to-br-int-
Specifies OVS patch ports that connects
br-int. patch-br-int-to-br-ex_localhost.localdomain-
Specifies OVS patch ports that connects
br-ex. eebee1ce5568761-
Specifies the pod interface named with the first 15 bits of the pod sandbox ID and is plugged into the
br-intbridge. b47b1995ada84f4-
Specifies the pod interface named with the first 15 bits of the pod sandbox ID and is plugged into the
br-intbridge. 3031f43d67c167f-
Specifies the pod interface named with the first 15 bits of the pod sandbox ID and is plugged into the
br-intbridge. ovn-k8s-mp0-
Specifies OVS internal port for hairpin traffic,
ovn-k8s-mp0is created by theovnkube-mastercontainer.