OPENSTACK支持ovs和gateway两种网络形式。OVS类似vmware的port group,gateway类似NSX edge gateway。

以下面例子为例,data-port=接受vlan tag的uplink,ext-port=不接受vlan tag的native uplink。

neutron-gateway: charm: local:trusty/neutron-gateway num_units: 3 to:

  • controller-node=0
  • controller-node=1
  • controller-node=2 options: data-port: bond1 bridge-mappings: physnet1:br-data                 mapping后面的内容只是名字和注释,此名字在openstack建vlan型network时会用到 vlan-ranges: physnet1:100:4094 #ext-port: bond1 instance-mtu: 1400