summaryrefslogtreecommitdiff
path: root/openstack/etc/neutron
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-04 16:51:03 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:27 +0000
commit65e6a8a450844e1202f19841f2277532aaffb16b (patch)
tree350c9fcde0a75b674505b1b6916e83c6557078b1 /openstack/etc/neutron
parentfa0c7e137385530d5e987247835672831e95c750 (diff)
downloaddefinitions-65e6a8a450844e1202f19841f2277532aaffb16b.tar.gz
Add some configuration to neutron conf to run in one node
Diffstat (limited to 'openstack/etc/neutron')
-rw-r--r--openstack/etc/neutron/neutron.conf57
1 files changed, 31 insertions, 26 deletions
diff --git a/openstack/etc/neutron/neutron.conf b/openstack/etc/neutron/neutron.conf
index d9de9085..69f36fdd 100644
--- a/openstack/etc/neutron/neutron.conf
+++ b/openstack/etc/neutron/neutron.conf
@@ -1,6 +1,6 @@
[DEFAULT]
# Print more verbose output (set logging level to INFO instead of default WARNING level).
-# verbose = False
+verbose = True
# =========Start Global Config Option for Distributed L3 Router===============
# Setting the "router_distributed" flag to "True" will default to the creation
@@ -11,13 +11,16 @@
# router_distributed = False
#
# ===========End Global Config Option for Distributed L3 Router===============
+
+neutron_metadata_proxy_shared_secret=openstack
+service_neutron_metadata_proxy=True
# Print debugging output (set logging level to DEBUG instead of default WARNING level).
-# debug = False
+debug = True
# Where to store Neutron state files. This directory must be writable by the
# user executing the agent.
-# state_path = /var/lib/neutron
+state_path = /var/lib/neutron
# Where to store lock files
lock_path = $state_path/lock
@@ -60,7 +63,7 @@ lock_path = $state_path/lock
# previous versions, the class name of a plugin can be specified instead of its
# entrypoint name.
#
-# core_plugin =
+core_plugin = ml2
# Example: core_plugin = ml2
# (ListOpt) List of service plugin entrypoints to be loaded from the
@@ -69,7 +72,7 @@ lock_path = $state_path/lock
# with previous versions, the class name of a plugin can be specified instead
# of its entrypoint name.
#
-# service_plugins =
+service_plugins = router
# Example: service_plugins = router,firewall,lbaas,vpnaas,metering
# Paste configuration file
@@ -77,7 +80,7 @@ lock_path = $state_path/lock
# The strategy to be used for auth.
# Supported values are 'keystone'(default), 'noauth'.
-# auth_strategy = keystone
+auth_strategy = keystone
# Base MAC address. The first 3 octets will remain unchanged. If the
# 4h octet is not 00, it will also be used. The others will be
@@ -114,7 +117,7 @@ lock_path = $state_path/lock
# Enable or disable overlapping IPs for subnets
# Attention: the following parameter MUST be set to False if Neutron is
# being used in conjunction with nova security groups
-# allow_overlapping_ips = False
+allow_overlapping_ips = True
# Ensure that configured gateway is on subnet. For IPv6, validate only if
# gateway is not a link local address. Deprecated, to be removed during the
# K release, at which point the check will be mandatory.
@@ -233,29 +236,29 @@ lock_path = $state_path/lock
# ======== neutron nova interactions ==========
# Send notification to nova when port status is active.
-# notify_nova_on_port_status_changes = True
+notify_nova_on_port_status_changes = True
# Send notifications to nova when port data (fixed_ips/floatingips) change
# so nova can update it's cache.
-# notify_nova_on_port_data_changes = True
+notify_nova_on_port_data_changes = True
# URL for connection to nova (Only supports one nova region currently).
-# nova_url = http://127.0.0.1:8774/v2
+nova_url = http://127.0.0.1:8774/v2
# Name of nova region to use. Useful if keystone manages more than one region
# nova_region_name =
# Username for connection to nova in admin context
-# nova_admin_username =
+nova_admin_username = ##NOVA_SERVICE_USER##
# The uuid of the admin nova tenant
-# nova_admin_tenant_id =
+nova_admin_tenant_id = service
# Password for connection to nova in admin context.
-# nova_admin_password =
+nova_admin_password = ##NOVA_SERVICE_PASSWORD##
# Authorization URL for connection to nova in admin context.
-# nova_admin_auth_url =
+nova_admin_auth_url = ##KEYSTONE_ADMIN_URL##
# CA file for novaclient to verify server certificates
# nova_ca_certificates_file =
@@ -340,23 +343,23 @@ lock_path = $state_path/lock
# The RabbitMQ broker address where a single node is used.
# (string value)
-#rabbit_host=localhost
+rabbit_host=##RABBIT_HOST##
# The RabbitMQ broker port where a single node is used.
# (integer value)
-#rabbit_port=5672
+rabbit_port=##RABBIT_PORT##
# RabbitMQ HA cluster host:port pairs. (list value)
-#rabbit_hosts=$rabbit_host:$rabbit_port
+rabbit_hosts=$rabbit_host:$rabbit_port
# Connect over SSL for RabbitMQ. (boolean value)
#rabbit_use_ssl=false
# The RabbitMQ userid. (string value)
-#rabbit_userid=guest
+rabbit_userid=##RABBIT_USER##
# The RabbitMQ password. (string value)
-#rabbit_password=guest
+rabbit_password=##RABBIT_PASSWORD##
# the RabbitMQ login method (string value)
#rabbit_login_method=AMQPLAIN
@@ -425,7 +428,7 @@ lock_path = $state_path/lock
# Driver or drivers to handle sending notifications. (multi
# valued)
-#notification_driver=
+notification_driver=neutron.openstack.common.notifier.rpc_notifier
# AMQP topic used for OpenStack notifications. (list value)
# Deprecated group/name - [rpc_notifier2]/topics
@@ -441,7 +444,7 @@ lock_path = $state_path/lock
# The messaging driver to use, defaults to rabbit. Other
# drivers include qpid and zmq. (string value)
-#rpc_backend=rabbit
+rpc_backend=rabbit
# The default exchange under which topics are scoped. May be
# overridden by an exchange name specified in the
@@ -544,6 +547,7 @@ lock_path = $state_path/lock
# root filter facility.
# Change to "sudo" to skip the filtering and just run the comand directly
# root_helper = sudo
+root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
# =========== items for agent management extension =============
# seconds between nodes reporting state to server; should be less than
@@ -553,12 +557,12 @@ lock_path = $state_path/lock
# =========== end of items for agent management extension =====
[keystone_authtoken]
-auth_host = 127.0.0.1
-auth_port = 35357
+auth_host = ##OPENSTACK_AUTH_HOST##
+auth_port = ##OPENSTACK_AUTH_PORT##
auth_protocol = http
-admin_tenant_name = %SERVICE_TENANT_NAME%
-admin_user = %SERVICE_USER%
-admin_password = %SERVICE_PASSWORD%
+admin_tenant_name = service
+admin_user = ##NEUTRON_SERVICE_USER##
+admin_password = ##NEUTRON_SERVICE_PASSWORD##
[database]
# This line MUST be changed to actually run the plugin.
@@ -571,6 +575,7 @@ admin_password = %SERVICE_PASSWORD%
# be set in the corresponding core plugin '.ini' file. However, it is suggested
# to put the [database] section and its connection attribute in this
# configuration file.
+connection=sqlite:////var/lib/neutron/neutron.sqlite
# Database engine for which script will be generated when using offline
# migration