summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini
diff options
context:
space:
mode:
authorAndy Ning <andy.ning@windriver.com>2014-06-13 11:21:16 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-06-18 15:08:37 -0400
commitc030ef7f8c2a15f7c7d0faa7122d99b853133e9f (patch)
treec45413abdf3bf0e703614c4f5ff6df2317a432d4 /meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini
parentd4843bbf0b3d2c7019be1d67c174a9826e69e41a (diff)
downloadmeta-cloud-services-c030ef7f8c2a15f7c7d0faa7122d99b853133e9f.tar.gz
Add metadata service support to controller node
The metadata service is working as the following: - metadata is being served by nova-api on controller at port 8775. - VM instance requests metadata by 169.254.169.254 (eg, curl http://169.254.169.254/latest/meta-data) - metadata request comes to neutron-ns-metadata-proxy on controller in dhcp network name space. - neutron-ns-metadata-proxy forwards the request to neutron-metadata-agent through a unix domain socket (/var/lib/neutron/metadata_proxy). - neutron-metadata-agent sends the request to nova-api on port 8775 to be serviced. To support metadata service, neutron-ns-metadata-proxy is baked into the controller image. Also neutron-metadata-agent startup script (/etc/init.d/neutron-metadata-agent) and config file (/etc/neutron/metadata_agent.ini) are added to start up metadata agent at system initialization. dhcp_agent.ini and nova.conf are updated as well. A README.metadata is added in the Documentation/ directory. Signed-off-by: Andy Ning <andy.ning@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini b/meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini
index f9b1523..7cc648f 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini
+++ b/meta-openstack/recipes-devtools/python/python-neutron/dhcp_agent.ini
@@ -37,6 +37,7 @@ interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
37# be activated when the subnet does not contain any router port. The guest 37# be activated when the subnet does not contain any router port. The guest
38# instance must be configured to request host routes via DHCP (Option 121). 38# instance must be configured to request host routes via DHCP (Option 121).
39# enable_isolated_metadata = False 39# enable_isolated_metadata = False
40enable_isolated_metadata = True
40 41
41# Allows for serving metadata requests coming from a dedicated metadata 42# Allows for serving metadata requests coming from a dedicated metadata
42# access network whose cidr is 169.254.169.254/16 (or larger prefix), and 43# access network whose cidr is 169.254.169.254/16 (or larger prefix), and