From e09136c215f9166a98ced9bcced6e068a3ed73d4 Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Tue, 30 Aug 2016 21:06:51 -0400 Subject: bugfix:enable metadata in DHCP for odl l3 JIRA: COMPASS-476 Change-Id: Ie9734c6b8304a40fbb24e9f6230801c00289d36f Signed-off-by: chenshuai@huawei.com --- deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'deploy/adapters/ansible/roles/odl_cluster') diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml index 15513b30..624ae589 100755 --- a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml +++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml @@ -256,7 +256,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;"; -- cgit 1.2.3-korg