mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 09:46:53 +01:00
58 lines
2.4 KiB
Plaintext
58 lines
2.4 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_networking/microshift-networking.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="microshift-OVS-snapshot_{context}"]
|
|
= Getting a snapshot of OVS interfaces from a running cluster
|
|
|
|
A snapshot represents the state and data of OVS interfaces at a specific point in time.
|
|
|
|
.Procedure
|
|
|
|
* To see a snapshot of OVS interfaces from a running {microshift-short} cluster, use the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo ovs-vsctl show
|
|
----
|
|
+
|
|
.Example OVS interfaces in a running cluster
|
|
[source,terminal]
|
|
----
|
|
9d9f5ea2-9d9d-4e34-bbd2-dbac154fdc93
|
|
Bridge br-ex
|
|
Port br-ex
|
|
Interface br-ex
|
|
type: internal
|
|
Port patch-br-ex_localhost.localdomain-to-br-int <1>
|
|
Interface patch-br-ex_localhost.localdomain-to-br-int
|
|
type: patch
|
|
options: {peer=patch-br-int-to-br-ex_localhost.localdomain} <2>
|
|
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 <3>
|
|
Port b47b1995ada84f4
|
|
Interface b47b1995ada84f4 <4>
|
|
Port "3031f43d67c167f"
|
|
Interface "3031f43d67c167f" <5>
|
|
Port br-int
|
|
Interface br-int
|
|
type: internal
|
|
Port ovn-k8s-mp0 <6>
|
|
Interface ovn-k8s-mp0
|
|
type: internal
|
|
ovs_version: "2.17.3"
|
|
----
|
|
<1> The `patch-br-ex_localhost.localdomain-to-br-int` and `patch-br-int-to-br-ex_localhost.localdomain` are OVS patch ports that connect `br-ex` and `br-int`.
|
|
<2> The `patch-br-ex_localhost.localdomain-to-br-int` and `patch-br-int-to-br-ex_localhost.localdomain` are OVS patch ports that connect `br-ex` and `br-int`.
|
|
<3> The pod interface `eebee1ce5568761` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
|
|
<4> The pod interface `b47b1995ada84f4` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
|
|
<5> The pod interface `3031f43d67c167f` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
|
|
<6> The OVS internal port for hairpin traffic,`ovn-k8s-mp0` is created by the `ovnkube-master` container. |