openvswitch-vtep 多个br

[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br0_vtep_ls1"
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "vx4"
            Interface "vx4"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge vtep_bfd
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap3"
            Interface "tortap3"
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0" 

[root@kunpeng82 devuser]# ovs-vsctl add-br br1

[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
Bridge vtep_bfd
Port vtep_bfd
Interface vtep_bfd
type: internal
Port "bfd192.168.16.81"
Interface "bfd192.168.16.81"
type: vxlan
options: {remote_ip="192.168.16.81"}
Bridge "br1"
Port "br1"
Interface "br1"
type: internal
Bridge "br0_vtep_ls1"
Port "0100-tortap3-l"
Interface "0100-tortap3-l"
type: patch
options: {peer="0100-tortap3-p"}
Port "vx1"
Interface "vx1"
type: vxlan
options: {key="33", remote_ip="192.168.16.81"}
Port "0000-tortap1-l"
Interface "0000-tortap1-l"
type: patch
options: {peer="0000-tortap1-p"}
Port "br0_vtep_ls1"
Interface "br0_vtep_ls1"
type: internal
Port "0100-tortap2-l"
Interface "0100-tortap2-l"
type: patch
options: {peer="0100-tortap2-p"}
Bridge "br0"
Port "br0"
Interface "br0"
type: internal
Port "0100-tortap3-p"
Interface "0100-tortap3-p"
type: patch
options: {peer="0100-tortap3-l"}
Port "0100-tortap2-p"
Interface "0100-tortap2-p"
type: patch
options: {peer="0100-tortap2-l"}
Port "tortap1"
tag: 0
Interface "tortap1"
Port "0000-tortap1-p"
Interface "0000-tortap1-p"
type: patch
options: {peer="0000-tortap1-l"}
Port "tortap3"
Interface "tortap3"
Port "tortap2"
tag: 0
Interface "tortap2"
ovs_version: "2.12.0"
[root@kunpeng82 devuser]#


[root@kunpeng82 devuser]# vtep-ctl add-ps br1         ---------------------- 新增vtep
 
[root@kunpeng82 devuser]# vtep-ctl show
7ad71c45-a370-4718-89cd-c15d142f1fce
    Physical_Switch "br1"
    Physical_Switch "br0"
        tunnel_ips: ["192.168.16.81"]
        Physical_Port "tortap1"
            vlan_bindings:
                0="ls0"
        Physical_Port "tortap2"
            vlan_bindings:
                100="ls0"
        Physical_Port "tortap3"
            vlan_bindings:
                100="ls0"
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]#  ps -elf | grep ovs-vtep
4 S root      7403 52972  0  80   0 -  1729 pipe_w 01:32 pts/0    00:00:00 grep --color=auto ovs-vtep
1 R root     11818     1  5  80   0 -  2073 -      Jul02 ?        08:47:08 /bin/python2 /usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach br0
[root@kunpeng82 devuser]# kill -9 11818             -------------------  终止进程
[root@kunpeng82 devuser]#  ps -elf | grep ovs-vtep
4 S root      8442 52972  0  80   0 -  1729 pipe_w 01:33 pts/0    00:00:00 grep --color=auto ovs-vtep
 

vetp 添加多个网桥失败

[root@kunpeng82 devuser]# /bin/python2 /usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach br0 br1
usage: ovs-vtep [-h] [--root-prefix DIR] [--version] [--log-file [LOG_FILE]]
                [-v [VERBOSE [VERBOSE ...]]] [--detach] [--no-chdir]
                [--monitor] [--pidfile [PIDFILE]] [--overwrite-pidfile]
                PS-NAME
ovs-vtep: error: unrecognized arguments: br1
[root@kunpeng82 devuser]# /bin/python2 /usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach br0 --detach  br1
usage: ovs-vtep [-h] [--root-prefix DIR] [--version] [--log-file [LOG_FILE]]
                [-v [VERBOSE [VERBOSE ...]]] [--detach] [--no-chdir]
                [--monitor] [--pidfile [PIDFILE]] [--overwrite-pidfile]
                PS-NAME
ovs-vtep: error: unrecognized arguments: br1
[root@kunpeng82 devuser]# /bin/python2 /usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach br0 
[root@kunpeng82 devuser]# /bin/python2 /usr/share/openvswitch/scripts/ovs-vtep --log-file=/var/log/openvswitch/ovs-vtep.log --pidfile=/var/run/openvswitch/ovs-vtep.pid --detach br1
2020-07-09T01:55:20Z |  0  | daemon | ERR | /var/run/openvswitch/ovs-vtep.pid: already running as pid 58916, aborting
/var/run/openvswitch/ovs-vtep.pid: already running as pid 58916, aborting
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl del-ps br1    ---------------删除
[root@kunpeng82 devuser]# vtep-ctl show
7ad71c45-a370-4718-89cd-c15d142f1fce
    Physical_Switch "br0"
        tunnel_ips: ["192.168.16.81"]
        Physical_Port "tortap1"
            vlan_bindings:
                0="ls0"
        Physical_Port "tortap2"
            vlan_bindings:
                100="ls0"
        Physical_Port "tortap3"
            vlan_bindings:
                100="ls0"
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl show
7ad71c45-a370-4718-89cd-c15d142f1fce
    Physical_Switch "br0"
        tunnel_ips: ["192.168.16.81"]
        Physical_Port "tortap1"
            vlan_bindings:
                0="ls0"
        Physical_Port "tortap2"
            vlan_bindings:
                100="ls0"
        Physical_Port "tortap3"
            vlan_bindings:
                100="ls0"
[root@kunpeng82 devuser]# vtep-ctl list Physical_Switch
_uuid               : 7a04316a-1e20-4bb6-948d-6512c93ed30d
description         : "OVS VTEP Emulator"
management_ips      : []
name                : "br0"
other_config        : {}
ports               : [50d5083a-9b0d-42bb-a186-6fcf7a06159a, d9b21f54-3260-4f75-ba58-3bd5e0f53cba, f8b49078-9c9b-4788-9ec2-4c89c7552359]
switch_fault_status : []
tunnel_ips          : ["192.168.16.81"]
tunnels             : [11823f16-7ee5-45fb-99ee-341ac80f096c, 26a11b6e-bf82-46c6-ae0a-f19daf1817f6]
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl add-ls ls1
[root@kunpeng82 devuser]# vtep-ctl set Logical_Switch tunnel_key=44
vtep-ctl: 'set' command requires at least 3 arguments
[root@kunpeng82 devuser]# vtep-ctl set Logical_Switch ls1 tunnel_key=44
[root@kunpeng82 devuser]#  vtep-ctl list-ls
ls0
ls1
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl add-ls ls2     -----------添加逻辑switch
[root@kunpeng82 devuser]# vtep-ctl set Logical_Switch ls2 tunnel_key=44
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}                     ----没有vxlan44
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# vtep-ctl bind-ls br0 tortap3 100 ls1
vtep-ctl: multiple bindings for vlan 100
[root@kunpeng82 devuser]# vtep-ctl unbind-ls br0 tortap3 100 ls1
vtep-ctl: 'unbind-ls' command takes at most 3 arguments
[root@kunpeng82 devuser]# vtep-ctl unbind-ls br0 tortap3 100 
[root@kunpeng82 devuser]# vtep-ctl bind-ls br0 tortap3 100 ls2
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"                  ---- bind-ls之后有了
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3" 
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]#  vtep-ctl list-ls
ls0
ls1
ls2
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl set Logical_Switch ls2 tunnel_key=44
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2" ------------------还是没有vxlan
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# vtep-ctl list-ps
br0
[root@kunpeng82 devuser]# 
root@ovs11 ovs]# vtep-ctl list-remote-macs ls0
ucast-mac-remote
  7a:2c:ba:c0:62:16 -> vxlan_over_ipv4/10.2.2.102
  c2:fd:9f:ea:3f:e3 -> vxlan_over_ipv4/10.2.2.101
  de:eb:3c:62:65:fc -> vxlan_over_ipv4/10.2.2.103
a mac to ip mapping table populated on each host.
[root@ovs11 ovs]# ovs-vsctl show
82434185-c196-45dd-bcf1-1260e33ceae3
    Bridge vtep_bfd
        Port "bfd10.2.2.101"
            Interface "bfd10.2.2.101"
                type: vxlan
                options: {remote_ip="10.2.2.101"}
        Port "bfd10.2.2.102"
            Interface "bfd10.2.2.102"
                type: vxlan
                options: {remote_ip="10.2.2.102"}
        Port "bfd10.2.2.103"
            Interface "bfd10.2.2.103"
                type: vxlan
                options: {remote_ip="10.2.2.103"}
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
    Bridge "vtep_ls1"
        Port "vx2"
            Interface "vx2"
                type: vxlan
                options: {key="0", remote_ip="10.2.2.102"}
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="0", remote_ip="10.2.2.101"}
        Port "0000-p0-l"
            Interface "0000-p0-l"
                type: patch
                options: {peer="0000-p0-p"}
        Port "vx3"
            Interface "vx3"
                type: vxlan
                options: {key="0", remote_ip="10.2.2.103"}
        Port "vtep_ls1"
            Interface "vtep_ls1"
                type: internal
    Bridge "br0"
        Port "p1"
            Interface "p1"
        Port "br0"
            Interface "br0"
                type: internal
        Port "0000-p0-p"
            Interface "0000-p0-p"
                type: patch
                options: {peer="0000-p0-l"}
        Port "1d53fed7f9284_l"
            Interface "1d53fed7f9284_l"
        Port "p0"
            Interface "p0"
[root@kunpeng82 devuser]# #vtep-ctl add-ucast-remote ls1 00:00:00:00:00:ac 192.168.16.83
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# vtep-ctl --columns=MAC list Ucast_Macs_Remote
[root@kunpeng82 devuser]# vtep-ctl list-remote-macs ls1
ucast-mac-remote

mcast-mac-remote                       ---------------什么都没有

[root@kunpeng82 devuser]# vtep-ctl list-remote-macs ls0
ucast-mac-remote

mcast-mac-remote
  unknown-dst -> vxlan_over_ipv4/192.168.16.81

[root@kunpeng82 devuser]# vtep-ctl list-remote-macs ls2
ucast-mac-remote

mcast-mac-remote

[root@kunpeng82 devuser]# 
[root@kunpeng82 devuser]# ovs-vsctl add-port vtep_bfd  bfd192.168.16.83 -- set interface bfd192.168.16.83 type=vxlan options:remote_ip=192.168.16.83  options:key=44
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
        Port "bfd192.168.16.83"
            Interface "bfd192.168.16.83"
                type: vxlan
                options: {key="44", remote_ip="192.168.16.83"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# vtep-ctl add  Logical_Switch ls2 tunnel_key=44 
vtep-ctl: 'add' command requires at least 4 arguments
[root@kunpeng82 devuser]# vtep-ctl set   Logical_Switch ls2 tunnel_key=44 
[root@kunpeng82 devuser]# ovs-vsctl show
ec7f002f-352c-476c-8348-5f2c86c8194f
    Bridge "br1"
        Port "br1"
            Interface "br1"
                type: internal
    Bridge "br0_vtep_ls1"
        Port "br0_vtep_ls1"
            Interface "br0_vtep_ls1"
                type: internal
        Port "vx1"
            Interface "vx1"
                type: vxlan
                options: {key="33", remote_ip="192.168.16.81"}
        Port "0100-tortap2-l"
            Interface "0100-tortap2-l"
                type: patch
                options: {peer="0100-tortap2-p"}
        Port "0000-tortap1-l"
            Interface "0000-tortap1-l"
                type: patch
                options: {peer="0000-tortap1-p"}
    Bridge "br0_vtep_ls2"
        Port "0100-tortap3-l"
            Interface "0100-tortap3-l"
                type: patch
                options: {peer="0100-tortap3-p"}
        Port "br0_vtep_ls2"
            Interface "br0_vtep_ls2"
                type: internal
    Bridge vtep_bfd
        Port vtep_bfd
            Interface vtep_bfd
                type: internal
        Port "bfd192.168.16.81"
            Interface "bfd192.168.16.81"
                type: vxlan
                options: {remote_ip="192.168.16.81"}
        Port "bfd192.168.16.83"
            Interface "bfd192.168.16.83"
                type: vxlan
                options: {key="44", remote_ip="192.168.16.83"}
    Bridge "br0"
        Port "0100-tortap2-p"
            Interface "0100-tortap2-p"
                type: patch
                options: {peer="0100-tortap2-l"}
        Port "br0"
            Interface "br0"
                type: internal
        Port "0100-tortap3-p"
            Interface "0100-tortap3-p"
                type: patch
                options: {peer="0100-tortap3-l"}
        Port "tortap1"
            tag: 0
            Interface "tortap1"
        Port "tortap3"
            Interface "tortap3"
        Port "0000-tortap1-p"
            Interface "0000-tortap1-p"
                type: patch
                options: {peer="0000-tortap1-l"}
        Port "tortap2"
            tag: 0
            Interface "tortap2"
    ovs_version: "2.12.0"
[root@kunpeng82 devuser]# 
原文地址:https://www.cnblogs.com/dream397/p/13271822.html