testfix: IP address based on dci (#32279)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
a16db95ddb
commit
9712761367
1 changed files with 2 additions and 2 deletions
|
@ -29,14 +29,14 @@
|
||||||
- name: set vlan with address
|
- name: set vlan with address
|
||||||
vyos_vlan: &address
|
vyos_vlan: &address
|
||||||
vlan_id: 5
|
vlan_id: 5
|
||||||
address: 172.24.5.0/24
|
address: 192.168.5.12/24
|
||||||
interfaces: eth0
|
interfaces: eth0
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
that:
|
that:
|
||||||
- "result.changed == true"
|
- "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)
|
- name: set vlan with address(idempotence)
|
||||||
vyos_vlan: *address
|
vyos_vlan: *address
|
||||||
|
|
Loading…
Reference in a new issue