diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron/ovs_neutron_plugin.ini | 1 | ||||
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-neutron_git.bb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/ovs_neutron_plugin.ini b/meta-openstack/recipes-devtools/python/python-neutron/ovs_neutron_plugin.ini index 54f50b0..9d5c83b 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron/ovs_neutron_plugin.ini +++ b/meta-openstack/recipes-devtools/python/python-neutron/ovs_neutron_plugin.ini | |||
| @@ -87,6 +87,7 @@ tunnel_id_ranges = 1:1000 | |||
| 87 | # this hypervisor. | 87 | # this hypervisor. |
| 88 | # | 88 | # |
| 89 | # Default: local_ip = | 89 | # Default: local_ip = |
| 90 | local_ip = %CONTROLLER_IP% | ||
| 90 | 91 | ||
| 91 | # (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples | 92 | # (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples |
| 92 | # mapping physical network names to the agent's node-specific OVS | 93 | # mapping physical network names to the agent's node-specific OVS |
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index 1621923..9b291df 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
| @@ -35,7 +35,7 @@ do_install_append() { | |||
| 35 | sed -e "s:^# core_plugin.*:core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2:g" \ | 35 | sed -e "s:^# core_plugin.*:core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2:g" \ |
| 36 | -i ${WORKDIR}/neutron.conf | 36 | -i ${WORKDIR}/neutron.conf |
| 37 | 37 | ||
| 38 | echo "rabbit_host = ${CONTROLLER_IP}" >> ${WORKDIR}/neutron.conf | 38 | sed -e "s:^# rabbit_host =.*:rabbit_host = ${CONTROLLER_IP}:" -i ${WORKDIR}/neutron.conf |
| 39 | 39 | ||
| 40 | for file in ovs_neutron_plugin.ini linuxbridge_conf.ini | 40 | for file in ovs_neutron_plugin.ini linuxbridge_conf.ini |
| 41 | do | 41 | do |
| @@ -56,7 +56,7 @@ do_install_append() { | |||
| 56 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ | 56 | install -m 600 ${S}/etc/policy.json ${NEUTRON_CONF_DIR}/ |
| 57 | 57 | ||
| 58 | PLUGIN=openvswitch | 58 | PLUGIN=openvswitch |
| 59 | ARGS="" | 59 | ARGS="--config-file=${sysconfdir}/${SRCNAME}/neutron.conf --config-file=${sysconfdir}/${SRCNAME}/plugins/openvswitch/ovs_neutron_plugin.ini" |
| 60 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 60 | if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 61 | install -d ${D}${sysconfdir}/init.d | 61 | install -d ${D}${sysconfdir}/init.d |
| 62 | sed "s:@plugin@:/etc/neutron/plugins/$PLUGIN/ovs_neutron_plugin.ini:" \ | 62 | sed "s:@plugin@:/etc/neutron/plugins/$PLUGIN/ovs_neutron_plugin.ini:" \ |
