testfix: IP address based on dci (#32279)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/32281/head
Trishna Guha 7 years ago committed by GitHub
parent a16db95ddb
commit 9712761367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save