openstack ovs-vsctl show port 类型

有时候,我们需要查看openstack的网桥、端口等信息,往往通过ovs-vsctl show查看,但展现的信息是什么意思呢?

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Bridge br-provider
Port br-provider
Interface br-provider
type: internal
Port "em2"
Interface "em2"
Port phy-br-provider
Interface phy-br-provider
type: patch
options: {peer=int-br-provider}
Bridge br-int
fail_mode: secure
Port "qvo92caa21b-22"
tag: 4
Interface "qvo92caa21b-22"
Port int-br-provider
Interface int-br-provider
type: patch
options: {peer=phy-br-provider}
Port "qvo27815ccd-3e"
tag: 4
Interface "qvo27815ccd-3e"
Port br-int
Interface br-int
type: internal
类型 说明
Normal 用户可以把操作系统中的网卡绑定到ovs上,ovs会生成一个普通端口处理这块网卡进出的数据包。
Internal nternal时,ovs会创建一块虚拟网卡,端口收到的所有数据包都会交给该网卡,发出的包会通过该端口交给ovs。当ovsi创建一个新网桥时,默认会创建一个与网桥同名的Internal Port。
Patch 当机器中有多个ovs网桥时,可以使用Patch Port把两个网桥连起来。Patch Port总是成对出现,分别连接在两个网桥,在两个网桥之间交换数据。
Tunnel 隧道端口是一种虚拟端口,支持使用gre或vxlan等隧道技术与位于网络上其他位置的远程端口通讯。
Vxlan