OpenStack Neutron openvswitch L2 agent 介绍

发布时间: 更新时间: 总字数:208 阅读时间:1m 作者:IP:上海 网址

OpenStack Neutron openvswitch L2 agent 介绍。

L2 agent

OpenVSwitch L2 Agent

ovs-neutron-agent 可以通过设置不同的网络拓扑,来实现 tenant 之间的隔离:

agent 使用 br-tun,br-int,原因:

  • 让 agent 可以处理多种 tunnel 技术
  • segmentation 和 tenant isolation 之间解耦
  • 兼容没有使用 tunnel 的 OVS agents

所有 vm 的 VIF 都插入 br-int

veth 用来连接 br-int 上的 vlan 和物理 linux bridge,期间会通过 flow rule 来 add,modify,strip vlan tag

  • ml2_conf.ini 示例
ini
[ovs]
bridge_mappings = public:br-ex,provider:br-provider,vlan120:br-120
datapath_type = system
ovsdb_connection = tcp:127.0.0.1:6640
local_ip = 10.3.100.153