2. 이번에는 ovs-vsctl show 명령어를 이용해 OpenvSwitch의 가상 네트워크 현황을 확인해 보겠습니다. 내부용 가상 브리지인 br-int와 컴퓨트 노드의 인스턴스 간에 통신을 하는 br-tun 브리지, 외부 통신을 하는 br-enp0s8 브리지가 생성된 것을 확인할 수 있습니다. 또 br-enp0s8에는 외부와 통신할 때 실제로 사용되는 네트워크 디바이스인 enp0s8이 추가되어 있습니다.
stack@ubuntu:~$ sudo ovs-vsctl show 3f70ad60-a2f9-4123-8d2a-d98f64b19a48 Bridge br-int fail_mode: secure Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port “qr-9ac11f5c-18” tag: 1 Interface “qr-9ac11f5c-18” type: internal Port “qr-82d915df-63” tag: 1 Interface “qr-82d915df-63” type: internal Port “qg-b9c70e65-2e” tag: 2 Interface “qg-b9c70e65-2e” type: internal Port “tapb34cbe12-5d” tag: 1 Interface “tapb34cbe12-5d” type: internal Port “int-br-enp0s8” Interface “int-br-enp0s8” type: patch options: {peer=“phy-br-enp0s8”} Bridge br-tun fail_mode: secure Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port br-tun Interface br-tun type: internal Bridge “br-enp0s8” Port “br-enp0s8” Interface “br-enp0s8” type: internal Port “enp0s8” Interface “enp0s8” Port “phy-br-enp0s8” Interface “phy-br-enp0s8” type: patch options: {peer=“int-br-enp0s8”} ovs_version: “2.5.0”