diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-30 21:06:51 -0400 |
---|---|---|
committer | shuai chen <chenshuai@huawei.com> | 2016-09-01 02:48:56 +0000 |
commit | 863199f625819b7984ecdcd97b0f79a4ccb201a1 (patch) | |
tree | b212fe070f0f3627d1bc4ea4fc1ea313932a104f /deploy/adapters/ansible/openstack_liberty | |
parent | 87a1af37a0279896f738a80afc41194a686d107a (diff) |
bugfix:enable metadata in DHCP for odl l3
JIRA: COMPASS-476
Change-Id: Ie9734c6b8304a40fbb24e9f6230801c00289d36f
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
(cherry picked from commit e09136c215f9166a98ced9bcced6e068a3ed73d4)
Diffstat (limited to 'deploy/adapters/ansible/openstack_liberty')
-rwxr-xr-x | deploy/adapters/ansible/openstack_liberty/roles/odl_cluster/tasks/odl_controller.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/openstack_liberty/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/openstack_liberty/roles/odl_cluster/tasks/odl_controller.yml index dff7d00b..3c7032d1 100755 --- a/deploy/adapters/ansible/openstack_liberty/roles/odl_cluster/tasks/odl_controller.yml +++ b/deploy/adapters/ansible/openstack_liberty/roles/odl_cluster/tasks/odl_controller.yml @@ -237,7 +237,9 @@ shell: crudini --set /etc/neutron/neutron.conf DEFAULT service_plugins networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin; when: odl_l3_agent == "Enable" - +- name: configure metadata for l3 configuration + shell: crudini --set /etc/neutron/dhcp_agent.ini DEFAULT enable_isolated_metadata True; + when: odl_l3_agent == "Enable" - name: drop and recreate neutron database shell: mysql -e "drop database if exists neutron;"; |