summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-13 14:13:14 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-04-13 14:13:14 (GMT)
commitbbce39619578cca7eac3a00847a3100beebe0008 (patch)
treef4663ac9f69921034851a1a892c6c1e64be7c61c
parent57f047bc2401defd5711e62074d9b4572dc3a1dd (diff)
downloaddefinitions-baserock/pedroalvarez/os-ansible-3nodes.tar.gz
Add conf files for neutronbaserock/pedroalvarez/os-ansible-3nodes
-rw-r--r--osconf/neutron/metadata_agent.ini-network12
-rw-r--r--osconf/neutron/ml2_conf.ini-compute23
-rw-r--r--osconf/neutron/ml2_conf.ini-controller23
-rw-r--r--osconf/neutron/ml2_conf.ini-network23
-rw-r--r--osconf/neutron/neutron.conf-compute42
-rw-r--r--osconf/neutron/neutron.conf-controller54
-rw-r--r--osconf/neutron/neutron.conf-network42
7 files changed, 219 insertions, 0 deletions
diff --git a/osconf/neutron/metadata_agent.ini-network b/osconf/neutron/metadata_agent.ini-network
new file mode 100644
index 0000000..cdf063c
--- /dev/null
+++ b/osconf/neutron/metadata_agent.ini-network
@@ -0,0 +1,12 @@
+[DEFAULT]
+use_syslog = True
+
+auth_url = http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+auth_region = regionOne
+admin_tenant_name = service
+admin_user = {{ NEUTRON_SERVICE_USER }}
+admin_password = {{ NEUTRON_SERVICE_PASSWORD }}a
+
+nova_metadata_ip = {{ CONTROLLER_HOST_ADDRESS }}
+
+metadata_proxy_shared_secret = {{ METADATA_PROXY_SHARED_SECRET }}
diff --git a/osconf/neutron/ml2_conf.ini-compute b/osconf/neutron/ml2_conf.ini-compute
new file mode 100644
index 0000000..e1d1b62
--- /dev/null
+++ b/osconf/neutron/ml2_conf.ini-compute
@@ -0,0 +1,23 @@
+[ml2]
+type_drivers = flat,gre
+tenant_network_types = gre
+mechanism_drivers = openvswitch
+
+[ml2_type_flat]
+flat_networks = External
+
+[ml2_type_gre]
+tunnel_id_ranges = 1:1000
+
+[securitygroup]
+firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
+enable_security_group = True
+enable_ipset = True
+
+[ovs]
+local_ip = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
+enable_tunneling = True
+bridge_mappings=External:br-ex,Physnet1:br-eth1
+
+[agent]
+tunnel_types = gre
diff --git a/osconf/neutron/ml2_conf.ini-controller b/osconf/neutron/ml2_conf.ini-controller
new file mode 100644
index 0000000..e1d1b62
--- /dev/null
+++ b/osconf/neutron/ml2_conf.ini-controller
@@ -0,0 +1,23 @@
+[ml2]
+type_drivers = flat,gre
+tenant_network_types = gre
+mechanism_drivers = openvswitch
+
+[ml2_type_flat]
+flat_networks = External
+
+[ml2_type_gre]
+tunnel_id_ranges = 1:1000
+
+[securitygroup]
+firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
+enable_security_group = True
+enable_ipset = True
+
+[ovs]
+local_ip = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
+enable_tunneling = True
+bridge_mappings=External:br-ex,Physnet1:br-eth1
+
+[agent]
+tunnel_types = gre
diff --git a/osconf/neutron/ml2_conf.ini-network b/osconf/neutron/ml2_conf.ini-network
new file mode 100644
index 0000000..e1d1b62
--- /dev/null
+++ b/osconf/neutron/ml2_conf.ini-network
@@ -0,0 +1,23 @@
+[ml2]
+type_drivers = flat,gre
+tenant_network_types = gre
+mechanism_drivers = openvswitch
+
+[ml2_type_flat]
+flat_networks = External
+
+[ml2_type_gre]
+tunnel_id_ranges = 1:1000
+
+[securitygroup]
+firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
+enable_security_group = True
+enable_ipset = True
+
+[ovs]
+local_ip = {{ MANAGEMENT_INTERFACE_IP_ADDRESS }}
+enable_tunneling = True
+bridge_mappings=External:br-ex,Physnet1:br-eth1
+
+[agent]
+tunnel_types = gre
diff --git a/osconf/neutron/neutron.conf-compute b/osconf/neutron/neutron.conf-compute
new file mode 100644
index 0000000..0fdcbcc
--- /dev/null
+++ b/osconf/neutron/neutron.conf-compute
@@ -0,0 +1,42 @@
+[DEFAULT]
+
+state_path = /var/lib/neutron
+lock_path = $state_path/lock
+use_syslog = True
+
+
+rabbit_host={{ RABBITMQ_HOST }}
+rabbit_port={{ RABBITMQ_PORT }}
+rabbit_userid={{ RABBITMQ_USER }}
+rabbit_password={{ RABBITMQ_PASSWORD }}
+notification_driver=neutron.openstack.common.notifier.rpc_notifier
+rpc_backend=rabbit
+
+auth_strategy = keystone
+
+core_plugin = ml2
+service_plugins = router
+allow_overlapping_ips = True
+
+
+## Don't know
+
+api_paste_config = api-paste.ini
+[service_providers]
+service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
+service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
+
+
+[agent]
+root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
+
+###
+
+
+[keystone_authtoken]
+auth_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+identity_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:35357
+admin_tenant_name = service
+admin_user = {{ NEUTRON_SERVICE_USER }}
+admin_password = {{ NEUTRON_SERVICE_PASSWORD }}
+
diff --git a/osconf/neutron/neutron.conf-controller b/osconf/neutron/neutron.conf-controller
new file mode 100644
index 0000000..d611276
--- /dev/null
+++ b/osconf/neutron/neutron.conf-controller
@@ -0,0 +1,54 @@
+[DEFAULT]
+
+state_path = /var/lib/neutron
+lock_path = $state_path/lock
+use_syslog = True
+
+
+rabbit_host={{ RABBITMQ_HOST }}
+rabbit_port={{ RABBITMQ_PORT }}
+rabbit_userid={{ RABBITMQ_USER }}
+rabbit_password={{ RABBITMQ_PASSWORD }}
+notification_driver=neutron.openstack.common.notifier.rpc_notifier
+rpc_backend=rabbit
+
+auth_strategy = keystone
+
+
+core_plugin = ml2
+service_plugins = router
+allow_overlapping_ips = True
+
+
+notify_nova_on_port_status_changes = True
+notify_nova_on_port_data_changes = True
+nova_url = http://{{ CONTROLLER_HOST_ADDRESS }}:8774/v2
+nova_region_name = regionOne
+nova_admin_username = {{ NOVA_SERVICE_USER }}
+nova_admin_tenant_id = {{ SERVICE_TENANT_ID }}
+nova_admin_password = {{ NOVA_SERVICE_PASSWORD }}
+nova_admin_auth_url = http://{{ CONTROLLER_HOST_ADDRESS }}:35357/v2.0
+
+## Don't know
+
+api_paste_config = api-paste.ini
+[service_providers]
+service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
+service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
+
+
+[agent]
+root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
+
+###
+
+[database]
+connection=postgresql://{{ NEUTRON_DB_USER }}:{{ NEUTRON_DB_PASSWORD }}@{{ CONTROLLER_HOST_ADDRESS }}/neutron
+
+[keystone_authtoken]
+auth_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+identity_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:35357
+admin_tenant_name = service
+admin_user = {{ NEUTRON_SERVICE_USER }}
+admin_password = {{ NEUTRON_SERVICE_PASSWORD }}
+
diff --git a/osconf/neutron/neutron.conf-network b/osconf/neutron/neutron.conf-network
new file mode 100644
index 0000000..8910656
--- /dev/null
+++ b/osconf/neutron/neutron.conf-network
@@ -0,0 +1,42 @@
+[DEFAULT]
+
+state_path = /var/lib/neutron
+lock_path = $state_path/lock
+use_syslog = True
+
+
+rabbit_host={{ RABBITMQ_HOST }}
+rabbit_port={{ RABBITMQ_PORT }}
+rabbit_userid={{ RABBITMQ_USER }}
+rabbit_password={{ RABBITMQ_PASSWORD }}
+notification_driver=neutron.openstack.common.notifier.rpc_notifier
+rpc_backend=rabbit
+
+auth_strategy = keystone
+
+core_plugin = ml2
+service_plugins = router
+allow_overlapping_ips = True
+
+## Don't know
+
+api_paste_config = api-paste.ini
+[service_providers]
+service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
+service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
+
+
+[agent]
+root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
+
+###
+
+
+
+[keystone_authtoken]
+auth_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:5000/v2.0
+identity_uri = http://{{ CONTROLLER_HOST_ADDRESS }}:35357
+admin_tenant_name = service
+admin_user = {{ NEUTRON_SERVICE_USER }}
+admin_password = {{ NEUTRON_SERVICE_PASSWORD }}
+