美文网首页
ovn internal-port 与 veth-pair

ovn internal-port 与 veth-pair

作者: cloudFans | 来源:发表于2022-11-18 10:01 被阅读0次

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/

相关文章

  • ovn internal-port 与 veth-pair

    internal port 是tap 设备,openstack neutron ovn 默认即使用internal...

  • ovn 3个选举 两种超时

    cms <----> ovn-nbdb <----> ovn-northd <----> ovn-sbdb <-...

  • ovn-northd 源码分析

    ovn-northd是ovn中的核心后台进程,主要负责将ovn的高层配置转换成供ovn-controller后台进...

  • ovn隧道类型

    本文简单介绍下ovn支持的隧道类型,具体可参考ovn-architecture[https://www.ovn.o...

  • ovsdb数据库修改

    目前我们维护的ovsdb数据库主要是ovn nb和sb:ovn-nb.ovsschema ,ovn-sb.ovss...

  • ovn 架构介绍

    ovn是什么就不多说了,网上有很多介绍的文章。这里主要是学习下ovn的架构,并通过实践认识一下ovn。ovn代码最...

  • kube-ovn简记

    服务启动顺序ovn-central 要先确定运行,ovs-ovn再确定正常,然后是其他的kube-ovn的容器 重...

  • ovn Southbound DB

    这个数据库包含了OVN的逻辑和物理的配置和状态。它位于OVN架构的核心位置,南向通过ovn-controller和...

  • ovn安全组总结

    本文将针对ovn实现安全组进行技术总结,分为ovn插件安全组实现,ovn逻辑流表,openflow流表三部分进行介...

  • OpenStack中SDN泛谈3 (OVN&Dragonflow

    这一篇讲一下基于OpenvSwitch的SDN。 OVN OVN(Open Virtual Network)是OV...

网友评论

      本文标题:ovn internal-port 与 veth-pair

      本文链接:https://www.haomeiwen.com/subject/rwxpxdtx.html