aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Yaple <sam@yaple.net>2015-08-10 03:38:34 +0000
committerSam Yaple <sam@yaple.net>2015-08-11 11:07:33 +0000
commitb27163411f23f8a011827c67e02a5b674773fe6f (patch)
tree384baefff20f3957f5f3c8b2f281638d07e3b05a
parent0f2c67d92945ae2bb8852bb3fdf42d108de6be64 (diff)
downloadkolla-b27163411f23f8a011827c67e02a5b674773fe6f.tar.gz
kolla-b27163411f23f8a011827c67e02a5b674773fe6f.zip
Update neutron confs and ports
Cleanup all options in the minimal neutron confs. Remove options where the default value was specified explicitly. Updated ports and bindings to be configurable. Partially-Implements: blueprint update-configs Change-Id: I420ea1469e7bbe87aca0754cd3507098501f1de5
-rw-r--r--ansible/roles/neutron/templates/dhcp_agent.ini.j21
-rw-r--r--ansible/roles/neutron/templates/l3_agent.ini.j22
-rw-r--r--ansible/roles/neutron/templates/metadata_agent.ini.j29
-rw-r--r--ansible/roles/neutron/templates/ml2_conf.ini.j29
-rw-r--r--ansible/roles/neutron/templates/neutron.conf.j213
5 files changed, 8 insertions, 26 deletions
diff --git a/ansible/roles/neutron/templates/dhcp_agent.ini.j2 b/ansible/roles/neutron/templates/dhcp_agent.ini.j2
index 8332c5ca5..1c24673cc 100644
--- a/ansible/roles/neutron/templates/dhcp_agent.ini.j2
+++ b/ansible/roles/neutron/templates/dhcp_agent.ini.j2
@@ -1,4 +1,3 @@
# dhcp_agent.ini
[DEFAULT]
dnsmasq_config_file = /etc/neutron/dnsmasq.conf
-dhcp_delete_namespaces = true
diff --git a/ansible/roles/neutron/templates/l3_agent.ini.j2 b/ansible/roles/neutron/templates/l3_agent.ini.j2
index 9d2fcdf74..1bb7234ee 100644
--- a/ansible/roles/neutron/templates/l3_agent.ini.j2
+++ b/ansible/roles/neutron/templates/l3_agent.ini.j2
@@ -1,6 +1,4 @@
# l3_agent.ini
[DEFAULT]
-router_delete_namespaces = true
-enable_metadata_proxy = true
agent_mode = legacy
external_network_bridge =
diff --git a/ansible/roles/neutron/templates/metadata_agent.ini.j2 b/ansible/roles/neutron/templates/metadata_agent.ini.j2
index f5302889a..f5adfc4b7 100644
--- a/ansible/roles/neutron/templates/metadata_agent.ini.j2
+++ b/ansible/roles/neutron/templates/metadata_agent.ini.j2
@@ -2,12 +2,3 @@
[DEFAULT]
nova_metadata_ip = {{ kolla_internal_address }}
metadata_proxy_shared_secret = {{ metadata_secret }}
-auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }}
-auth_url = http://{{ kolla_internal_address }}:{{ keystone_admin_port }}
-auth_region = {{ openstack_region_name }}
-auth_plugin = password
-project_domain_id = default
-user_domain_id = default
-project_name = service
-username = neutron
-password = {{ neutron_keystone_password }}
diff --git a/ansible/roles/neutron/templates/ml2_conf.ini.j2 b/ansible/roles/neutron/templates/ml2_conf.ini.j2
index 3bc515741..92ec89c87 100644
--- a/ansible/roles/neutron/templates/ml2_conf.ini.j2
+++ b/ansible/roles/neutron/templates/ml2_conf.ini.j2
@@ -11,14 +11,11 @@ mechanism_drivers = linuxbridge,l2population
{% endif %}
[ml2_type_vlan]
-#network_vlan_ranges = external:1000:1999
+network_vlan_ranges =
[ml2_type_flat]
flat_networks = physnet1
-[ml2_type_gre]
-tunnel_id_ranges = 1:1000
-
[ml2_type_vxlan]
vni_ranges = 1:1000
vxlan_group = 239.1.1.1
@@ -29,15 +26,13 @@ firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewal
{% elif neutron_plugin_agent == "linuxbridge" %}
firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver
{% endif %}
-enable_ipset = true
-enable_security_group = true
+{% if neutron_plugin_agent == "openvswitch" %}
[agent]
tunnel_types = vxlan
l2_population = true
arp_responder = true
-{% if neutron_plugin_agent == "openvswitch" %}
[ovs]
bridge_mappings = physnet1:{{ neutron_bridge_name }}
{% elif neutron_plugin_agent == "linuxbridge" %}
diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2
index d5616cd3f..c9bf4725c 100644
--- a/ansible/roles/neutron/templates/neutron.conf.j2
+++ b/ansible/roles/neutron/templates/neutron.conf.j2
@@ -4,11 +4,12 @@ verbose = true
debug = true
bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
+bind_port = {{ neutron_server_port }}
-lock_path = /var/lock/neutron
+#lock_path = /var/lock/neutron
api_paste_config = /usr/share/neutron/api-paste.ini
-notification_driver = neutron.openstack.common.notifier.rpc_notifier
+notification_driver = noop
{% if neutron_plugin_agent == "openvswitch" %}
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
@@ -20,11 +21,6 @@ allow_overlapping_ips = true
core_plugin = ml2
service_plugins = router
-
-nova_url = http://{{ kolla_internal_address }}:{{ nova_api_port }}/v2
-notify_nova_on_port_data_changes = True
-notify_nova_on_port_status_change = True
-
[nova]
auth_url = http://{{ kolla_internal_address }}:{{ keystone_admin_port }}
auth_plugin = password
@@ -35,6 +31,9 @@ project_name = service
username = nova
password = {{ nova_keystone_password }}
+[oslo_concurrency]
+lock_path = /var/lib/neutron/tmp
+
[oslo_messaging_rabbit]
rabbit_host = {{ kolla_internal_address }}
rabbit_userid = {{ rabbitmq_user }}