summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch43
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron_git.bb7
2 files changed, 47 insertions, 3 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch b/meta-openstack/recipes-devtools/python/python-neutron/0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch
new file mode 100644
index 0000000..5589296
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-neutron/0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch
@@ -0,0 +1,43 @@
1From 0ae370672b9246664a8159709809bcef635fb3e0 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Tue, 29 Apr 2014 23:57:24 -0400
4Subject: [PATCH] neutron.conf: jumpstart nova state reporting configuration
5
6To enable neutron reporting of vif states to nova, we need to configure
7neutron.conf with auth urls and passwords. While this configuration isn't
8complete, it fills in some required values (and leaves them commented).
9
10Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
11---
12 etc/neutron.conf | 6 +++---
13 1 file changed, 3 insertions(+), 3 deletions(-)
14
15diff --git a/etc/neutron.conf b/etc/neutron.conf
16index 775c75725286..8305f1718c49 100644
17--- a/etc/neutron.conf
18+++ b/etc/neutron.conf
19@@ -303,7 +303,7 @@ notification_driver = neutron.openstack.common.notifier.rpc_notifier
20 # notify_nova_on_port_data_changes = True
21
22 # URL for connection to nova (Only supports one nova region currently).
23-# nova_url = http://127.0.0.1:8774
24+# nova_url = http://%CONTROLLER_IP%:8774
25
26 # Name of nova region to use. Useful if keystone manages more than one region
27 # nova_region_name =
28@@ -315,10 +315,10 @@ notification_driver = neutron.openstack.common.notifier.rpc_notifier
29 # nova_admin_tenant_id =
30
31 # Password for connection to nova in admin context.
32-# nova_admin_password =
33+# nova_admin_password = %SERVICE_PASSWORD%
34
35 # Authorization URL for connection to nova in admin context.
36-# nova_admin_auth_url =
37+# nova_admin_auth_url = http://%CONTROLLER_IP%:35357/v2.0
38
39 # Number of seconds between sending events to nova if there are any events to send
40 # send_events_interval = 2
41--
421.7.10.4
43
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb
index 6deb0d3..5ac0fd2 100644
--- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb
+++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"
7PR = "r0" 7PR = "r0"
8SRCNAME = "neutron" 8SRCNAME = "neutron"
9 9
10SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ 10SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/icehouse \
11 file://ovs_neutron_plugin.ini \ 11 file://ovs_neutron_plugin.ini \
12 file://linuxbridge_conf.ini \ 12 file://linuxbridge_conf.ini \
13 file://neutron-server.init \ 13 file://neutron-server.init \
@@ -15,9 +15,10 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \
15 file://l3_agent.ini \ 15 file://l3_agent.ini \
16 file://dhcp_agent.ini \ 16 file://dhcp_agent.ini \
17 file://neutron-dhcp-agent-netns-cleanup.cron \ 17 file://neutron-dhcp-agent-netns-cleanup.cron \
18 file://0001-neutron.conf-jumpstart-nova-state-reporting-configur.patch \
18 " 19 "
19SRCREV="8cb9d895675f2a89c6b741da4b594f416fbeee5a" 20SRCREV="e0deffc71e5031059530b9b6c2ef3b0765de3d10"
20PV="2013.2.2+git${SRCPV}" 21PV="2014.1+git${SRCPV}"
21 22
22S = "${WORKDIR}/git" 23S = "${WORKDIR}/git"
23 24