From e0eb953c41afe5d3b09d6dd560031f2deda51f2a Mon Sep 17 00:00:00 2001 From: Francisco Redondo Marchena Date: Thu, 4 Dec 2014 16:51:37 +0000 Subject: WIP: Add configuration to run neutron in one node Configuration gotten from: https://fosskb.wordpress.com/2014/10/18/openstack-juno-on-ubuntu-14-10/ https://fosskb.wordpress.com/2014/06/10/managing-openstack-internaldataexternal-network-in-one-interface/ --- openstack/etc/neutron/plugins/ml2/ml2_conf.ini | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'openstack/etc/neutron/plugins/ml2/ml2_conf.ini') diff --git a/openstack/etc/neutron/plugins/ml2/ml2_conf.ini b/openstack/etc/neutron/plugins/ml2/ml2_conf.ini index 4fb1a4a3..8c4df301 100644 --- a/openstack/etc/neutron/plugins/ml2/ml2_conf.ini +++ b/openstack/etc/neutron/plugins/ml2/ml2_conf.ini @@ -4,6 +4,7 @@ # # type_drivers = local,flat,vlan,gre,vxlan # Example: type_drivers = flat,vlan,gre,vxlan +type_drivers = flat,vlan # (ListOpt) Ordered list of network_types to allocate as tenant # networks. The default value 'local' is useful for single-box testing @@ -11,6 +12,7 @@ # # tenant_network_types = local # Example: tenant_network_types = vlan,gre,vxlan +tenant_network_types = vlan,flat # (ListOpt) Ordered list of networking mechanism driver entrypoints # to be loaded from the neutron.ml2.mechanism_drivers namespace. @@ -20,6 +22,7 @@ # Example: mechanism_drivers = cisco,logger # Example: mechanism_drivers = openvswitch,brocade # Example: mechanism_drivers = linuxbridge,brocade +mechanism_drivers = openvswitch # (ListOpt) Ordered list of extension driver entrypoints # to be loaded from the neutron.ml2.extension_drivers namespace. @@ -34,6 +37,7 @@ # flat_networks = # Example:flat_networks = physnet1,physnet2 # Example:flat_networks = * +flat_networks = External [ml2_type_vlan] # (ListOpt) List of [::] tuples @@ -43,6 +47,7 @@ # # network_vlan_ranges = # Example: network_vlan_ranges = physnet1:1000:2999,physnet2 +network_vlan_ranges = Physnet1:100:200 [ml2_type_gre] # (ListOpt) Comma-separated list of : tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation @@ -62,10 +67,14 @@ # Example: vxlan_group = 239.1.1.1 [securitygroup] +firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver # Controls if neutron security group is enabled or not. # It should be false when you use nova security group. -# enable_security_group = True +enable_security_group = True # Use ipset to speed-up the iptables security groups. Enabling ipset support # requires that ipset is installed on L2 agent node. # enable_ipset = True + +[ovs] +bridge_mappings=External:br-ex,Intnet1:br-eth1 -- cgit v1.2.1