koll-ansible
로 배포된 오픈스택의 경우이거나 각 컴포넌트들이 컨테이너로 동작하는 형태의 오픈스택인 경우
docker
나 podman
을 통해 ovn_controller
컨테이너에 들어가서 ovs-vsctl show
명령어를 내려야 한다.
controller
노드에서 해당 정보를 조회하는것은 의미가 없다.
[root@tp-control1 kolla]# docker exec -it ovn_controller bash (ovn-controller)[root@tp-control1 /]# ovs-vsctl show 4167dc9e-91d6-4ca6-901e-d598cfe5dcb5 Bridge br-ex Port patch-provnet-afbeb316-baba-47ff-b845-1831d0942cba-to-br-int Interface patch-provnet-afbeb316-baba-47ff-b845-1831d0942cba-to-br-int type: patch options: {peer=patch-br-int-to-provnet-afbeb316-baba-47ff-b845-1831d0942cba} Port br-ex Interface br-ex type: internal Port enp3s0 Interface enp3s0 Bridge br-int fail_mode: secure datapath_type: system Port br-int Interface br-int type: internal Port tapa5f9944b-63 tag: 4095 trunks: [4095] Interface tapa5f9944b-63 type: internal Port ovn-tp-com-0 Interface ovn-tp-com-0 type: geneve options: {csum="true", key=flow, remote_ip="192.168.8.21"} Port ovn-tp-com-1 Interface ovn-tp-com-1 type: geneve options: {csum="true", key=flow, remote_ip="192.168.8.22"} Port ovn-tp-con-0 Interface ovn-tp-con-0 type: geneve options: {csum="true", key=flow, remote_ip="192.168.8.12"} Port patch-br-int-to-provnet-afbeb316-baba-47ff-b845-1831d0942cba Interface patch-br-int-to-provnet-afbeb316-baba-47ff-b845-1831d0942cba type: patch options: {peer=patch-provnet-afbeb316-baba-47ff-b845-1831d0942cba-to-br-int} Port ovn-tp-con-1 Interface ovn-tp-con-1 type: geneve options: {csum="true", key=flow, remote_ip="192.168.8.13"} (ovn-controller)[root@tp-control1 /]#