aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2018-08-16 12:12:30 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2018-08-18 05:30:34 +0000
commitae40683e9405de2a8d185c1da94bcffe2b2695b6 (patch)
tree744443366981a00df2dbf8f032d136a6172cbcf7 /deploy/adapters/ansible
parent850339f2760b19773becff054733a23f99523269 (diff)
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 <huangxiangyu5@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-xdeploy/adapters/ansible/roles/setup-openvswitch/templates/controller.j22
1 files changed, 1 insertions, 1 deletions
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 %}