contiv 1.2.1

This commit is contained in:
Erwan Miran
2018-09-17 16:45:05 +02:00
parent 3cd38e0d4c
commit bcaf2f9ea3
16 changed files with 220 additions and 62 deletions

View File

@@ -0,0 +1,9 @@
---
- name: reset | check contiv vxlan_sys network device
stat:
path: "/sys/class/net/vxlan_sys_{{ contiv_vxlan_port | default('4789') }}"
register: contiv_vxlan_sys
- name: reset | remove the vxlan_sys network device created by contiv
command: "ip link del vxlan_sys_{{ contiv_vxlan_port | default('4789') }}"
when: contiv_vxlan_sys.stat.exists