diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
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 @@ | |||
| 1 | From 0ae370672b9246664a8159709809bcef635fb3e0 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 3 | Date: Tue, 29 Apr 2014 23:57:24 -0400 | ||
| 4 | Subject: [PATCH] neutron.conf: jumpstart nova state reporting configuration | ||
| 5 | |||
| 6 | To enable neutron reporting of vif states to nova, we need to configure | ||
| 7 | neutron.conf with auth urls and passwords. While this configuration isn't | ||
| 8 | complete, it fills in some required values (and leaves them commented). | ||
| 9 | |||
| 10 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 11 | --- | ||
| 12 | etc/neutron.conf | 6 +++--- | ||
| 13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/etc/neutron.conf b/etc/neutron.conf | ||
| 16 | index 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 | -- | ||
| 42 | 1.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" | |||
| 7 | PR = "r0" | 7 | PR = "r0" |
| 8 | SRCNAME = "neutron" | 8 | SRCNAME = "neutron" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ | 10 | SRC_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 | " |
| 19 | SRCREV="8cb9d895675f2a89c6b741da4b594f416fbeee5a" | 20 | SRCREV="e0deffc71e5031059530b9b6c2ef3b0765de3d10" |
| 20 | PV="2013.2.2+git${SRCPV}" | 21 | PV="2014.1+git${SRCPV}" |
| 21 | 22 | ||
| 22 | S = "${WORKDIR}/git" | 23 | S = "${WORKDIR}/git" |
| 23 | 24 | ||
