internal port 是tap 设备,openstack neutron ovn 默认即使用internal port
(nova-libvirt)[root@compute010 /]# ovs-vsctl show
c3e41e42-df62-4ce2-bcdd-a5ab1eb9c503
Bridge br-ex
Port br-ex
Interface br-ex
type: internal
Port ens4f1
Interface ens4f1
Port patch-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9-to-br-int
Interface patch-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9-to-br-int
type: patch
options: {peer=patch-br-int-to-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9}
Bridge br-int
fail_mode: secure
datapath_type: system
Port ovn-contro-0
Interface ovn-contro-0
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.22"}
Port ovn-comput-d
Interface ovn-comput-d
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.56"}
Port ovn-comput-c
Interface ovn-comput-c
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.55"}
Port patch-br-int-to-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9
Interface patch-br-int-to-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9
type: patch
options: {peer=patch-provnet-b82c0de5-ae24-4f39-8fa9-6726593c6da9-to-br-int}
Port tapb94f0f1f-10
Interface tapb94f0f1f-10
Port tap4e5e8169-b0
Interface tap4e5e8169-b0
error: "could not open network device tap4e5e8169-b0 (No such device)"
Port tap43dcf5d5-ed
Interface tap43dcf5d5-ed
Port tap9c6f25b6-70
Interface tap9c6f25b6-70
error: "could not open network device tap9c6f25b6-70 (No such device)"
Port tape48c5469-19
Interface tape48c5469-19
Port tapb052976f-20
Interface tapb052976f-20
Port tapcc38ad6e-a3
Interface tapcc38ad6e-a3
Port tap223ac96c-00
Interface tap223ac96c-00
error: "could not open network device tap223ac96c-00 (No such device)"
Port tap88c6e358-93
Interface tap88c6e358-93
error: "could not open network device tap88c6e358-93 (No such device)"
Port ovn-comput-2
Interface ovn-comput-2
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.35"}
Port ovn-comput-9
Interface ovn-comput-9
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.32"}
Port ovn-comput-4
Interface ovn-comput-4
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.36"}
Port tap92a22d26-17
Interface tap92a22d26-17
Port tapa8739868-11
Interface tapa8739868-11
error: "could not open network device tapa8739868-11 (No such device)"
Port tap0e0f5c57-cf
Interface tap0e0f5c57-cf
error: "could not open network device tap0e0f5c57-cf (No such device)"
Port ovn-comput-10
Interface ovn-comput-10
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.59"}
Port tapc03bed49-c0
Interface tapc03bed49-c0
error: "could not open network device tapc03bed49-c0 (No such device)"
Port tapd9095ffd-5f # 可以看到虚拟机直接使用的tap设备,即internal port
Interface tapd9095ffd-5f
error: "could not open network device tapd9095ffd-5f (No such device)"
Port ovn-comput-b
Interface ovn-comput-b
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.54"}
Port tap503eaca4-c9
Interface tap503eaca4-c9
error: "could not open network device tap503eaca4-c9 (No such device)"
Port tap71c4e450-3e
Interface tap71c4e450-3e
error: "could not open network device tap71c4e450-3e (No such device)"
Port tapa3143019-37
Interface tapa3143019-37
error: "could not open network device tapa3143019-37 (No such device)"
Port ovn-comput-e
Interface ovn-comput-e
type: geneve # 计算节点之前的用于tunnel peer的接口都是使用geneve
options: {csum="true", key=flow, remote_ip="10.120.14.57"}
Port br-int
Interface br-int
type: internal
Port ovn-comput-6
Interface ovn-comput-6
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.31"}
Port ovn-comput-f
Interface ovn-comput-f
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.58"}
Port ovn-comput-0
Interface ovn-comput-0
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.42"}
Port ovn-comput-11
Interface ovn-comput-11
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.60"}
Port tap6d2748c1-f0
Interface tap6d2748c1-f0
error: "could not open network device tap6d2748c1-f0 (No such device)"
Port ovn-comput-3
Interface ovn-comput-3
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.38"}
Port ovn-comput-8
Interface ovn-comput-8
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.51"}
Port tap716f4cd2-2e
Interface tap716f4cd2-2e
Port tap4b7837b2-6a
Interface tap4b7837b2-6a
error: "could not open network device tap4b7837b2-6a (No such device)"
Port ovn-comput-1
Interface ovn-comput-1
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.39"}
Port tap2cb3f621-05
Interface tap2cb3f621-05
Port ovn-comput-a
Interface ovn-comput-a
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.53"}
Port ovn-comput-5
Interface ovn-comput-5
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.34"}
Port tapf4fa1951-01
Interface tapf4fa1951-01
error: "could not open network device tapf4fa1951-01 (No such device)"
Port tap23d06423-03
Interface tap23d06423-03
error: "could not open network device tap23d06423-03 (No such device)"
Port tap666047b1-70
Interface tap666047b1-70
error: "could not open network device tap666047b1-70 (No such device)"
Port ovn-comput-12
Interface ovn-comput-12
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.61"}
Port tapb29b8931-ac
Interface tapb29b8931-ac
error: "could not open network device tapb29b8931-ac (No such device)"
Port tap00a832cb-f3
Interface tap00a832cb-f3
error: "could not open network device tap00a832cb-f3 (No such device)"
Port ovn-comput-13
Interface ovn-comput-13
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.63"}
Port tap76269d6f-12
Interface tap76269d6f-12
error: "could not open network device tap76269d6f-12 (No such device)"
Port tap2efe2e00-f0
Interface tap2efe2e00-f0
error: "could not open network device tap2efe2e00-f0 (No such device)"
Port tap691b84b5-62
Interface tap691b84b5-62
Port tapfddf5d5f-b5
Interface tapfddf5d5f-b5
error: "could not open network device tapfddf5d5f-b5 (No such device)"
Port tap11c36e1f-bf
Interface tap11c36e1f-bf
error: "could not open network device tap11c36e1f-bf (No such device)"
Port ovn-comput-7
Interface ovn-comput-7
type: geneve
options: {csum="true", key=flow, remote_ip="10.120.14.52"}
(nova-libvirt)[root@compute010 /]#
关于深入了解 ovn internal-port : https://arthurchiao.art/blog/ovs-deep-dive-6-internal-port/
网友评论