testfix: IP address based on dci (#32279)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-10-28 10:05:29 +05:30 committed by GitHub
parent a16db95ddb
commit 9712761367
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,14 +29,14 @@
- name: set vlan with address
vyos_vlan: &address
vlan_id: 5
address: 172.24.5.0/24
address: 192.168.5.12/24
interfaces: eth0
register: result
- assert:
that:
- "result.changed == true"
- "'set interfaces ethernet eth0 vif 5 address 172.24.5.0/24' in result.commands"
- "'set interfaces ethernet eth0 vif 5 address 192.168.5.12/24' in result.commands"
- name: set vlan with address(idempotence)
vyos_vlan: *address