按照指南做
http://rdoproject.org/install/packstack/
最后一步,改为。
packstack --allinone --provision-demo=n
--os-neutron-ovs-bridge-mappings=vlan5:br-ex5,vlan4:br-ex4
--os-neutron-ovs-bridge-interfaces=br-ex5:em4,br-ex4:em3
--os-neutron-ml2-type-drivers=vxlan,flat
成功后,修改 /etc/neutron/plugins/ml2/ml2_conf.ini 两处
[ml2]
# Ordered list of network_types to allocate as tenant networks. The default
# value 'local' is useful for single-box testing but provides no connectivity
# between hosts. (list value)
#tenant_network_types = local
tenant_network_types=flat
[ml2_type_flat]
# List of physical_network names with which flat networks can be created. Use
# default '*' to allow flat networks with arbitrary physical_network names. Use
# an empty list to disable flat networks. (list value)
#flat_networks = *
flat_networks=vlan5,vlan4
然后在网页建立网络的时候,选Flat型
分享名称:Openstack--Queen--RDO
分享网址:
http://cqcxhl.cn/article/ipcgdd.html