Adding ml2 support to baremetal.
Changes the neutron plugin and router to neutron ml2. The Modular Layer 2 (ml2) plugin is a framework allowing OpenStack Networking to simultaneously utilize the variety of layer 2 networking technologies. It currently works with the existing openvswitch, linuxbridge, and hyperv L2 agents, and is intended to replace and deprecate the monolithic plugins associated with those L2 agents. Change-Id: I4aff2f647c8e0b0ae4014467290482e9ca351386
This commit is contained in:
parent
b249214b98
commit
ebd4b834e6
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
os-svc-daemon neutron-server neutron neutron-server \
|
||||
"--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --config-dir /etc/neutron"
|
||||
"--config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --config-dir /etc/neutron"
|
||||
|
@ -9,7 +9,8 @@ auth_strategy = keystone
|
||||
allow_overlapping_ips = False
|
||||
debug = False
|
||||
verbose = True
|
||||
core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
|
||||
core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
|
||||
service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
|
||||
|
||||
{{#rabbit}}
|
||||
rabbit_host = {{host}}
|
||||
|
@ -0,0 +1,25 @@
|
||||
[ml2]
|
||||
type_drivers = local,flat,vlan,gre,vxlan
|
||||
mechanism_drivers = openvswitch
|
||||
|
||||
[ml2_type_flat]
|
||||
|
||||
[ml2_type_vlan]
|
||||
|
||||
[ml2_type_gre]
|
||||
tunnel_id_ranges = 1:1000
|
||||
|
||||
[ml2_type_vxlan]
|
||||
vni_ranges = 1001:2000
|
||||
|
||||
[database]
|
||||
connection = {{neutron.ovs_db}}
|
||||
|
||||
[ovs]
|
||||
local_ip = {{neutron.ovs.local_ip}}
|
||||
|
||||
[agent]
|
||||
root_helper = sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
|
||||
|
||||
[securitygroup]
|
||||
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
|
Loading…
Reference in New Issue
Block a user