Openstack网络类型由vxlan变成vxlan配置修改

56次阅读

共计 889 个字符,预计需要花费 3 分钟才能阅读完成。

# vi /etc/neutron/plugins/ml2/ml2_conf.ini
修改前:
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan
mechanism_drivers = openvswitch,l2population
extension_drivers = port_security
[ml2_type_flat]
flat_networks = provider
[ml2_type_vlan]
#network_vlan_ranges = provider:1:1000
[ml2_type_vxlan]
vni_ranges = 1:1000
[securitygroup]
enable_ipset = true

->
修改前后:
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vlan
mechanism_drivers = openvswitch,l2population
extension_drivers = port_security
[ml2_type_flat]
flat_networks = provider
[ml2_type_vlan]
network_vlan_ranges = provider:1:1000
[ml2_type_vxlan]
# vni_ranges = 1:1000
[securitygroup]
enable_ipset = true
# vi /etc/neutron/plugins/ml2/openvswitch_agent.ini
[agent]
tunnel_types =
l2_population = True
[ovs]
bridge_mappings = provider:br-provider
local_ip = 10.0.0.11
[securitygroup]
firewall_driver = iptables_hybrid
重启计算及网络:
# systemctl restart openstack-nova-api.service
# systemctl restart neutron-*

正文完
 0