From ae40683e9405de2a8d185c1da94bcffe2b2695b6 Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 16 Aug 2018 12:12:30 +0800 Subject: Fix tenant interface type JIRA: - In setup-openvswitch role, tenant interface type is static which will cause failure during network restart. Set it to manual instead. Change-Id: Id6fdaa2b7fbae9d8a6d243b43ec35868af4c2fdd Signed-off-by: Harry Huang --- deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/adapters/ansible/roles/setup-openvswitch') diff --git a/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 b/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 index f7b9756b..315e9fb9 100755 --- a/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 +++ b/deploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j2 @@ -26,7 +26,7 @@ iface {{ intf_external }} inet manual {% set intf_tenant = intf_tenant + '.' + contr_sys_mappings["tenant"]["vlan_tag"]|string %} {% endif %} auto {{ intf_tenant }} -iface {{ intf_tenant }} inet static +iface {{ intf_tenant }} inet manual {% if contr_sys_mappings["tenant"]["vlan_tag"] | int %} vlan-raw-device {{ intf_tenant }} {% endif %} -- cgit 1.2.3-korg