diff options
author | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-04-29 16:45:39 +0530 |
---|---|---|
committer | Rohit Thakur <rohitthakur2590@outlook.com> | 2020-04-29 16:45:39 +0530 |
commit | 7344ffc5dc646bbb362c5cd157a1828c3d1537ec (patch) | |
tree | 33b5cd79bb26f04bbc3f628ef3dec4abe056f73e /tests/integration/targets/vyos_interfaces/vars | |
parent | 77e8b041b2983415ac36eb6264f6e385ac87b074 (diff) | |
download | vyos-ansible-old-7344ffc5dc646bbb362c5cd157a1828c3d1537ec.tar.gz vyos-ansible-old-7344ffc5dc646bbb362c5cd157a1828c3d1537ec.zip |
new states added
Signed-off-by: Rohit Thakur <rohitthakur2590@outlook.com>
Diffstat (limited to 'tests/integration/targets/vyos_interfaces/vars')
-rw-r--r-- | tests/integration/targets/vyos_interfaces/vars/main.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/integration/targets/vyos_interfaces/vars/main.yaml b/tests/integration/targets/vyos_interfaces/vars/main.yaml index b730080..4c8307e 100644 --- a/tests/integration/targets/vyos_interfaces/vars/main.yaml +++ b/tests/integration/targets/vyos_interfaces/vars/main.yaml @@ -133,6 +133,23 @@ overridden: vifs: - vlan_id: 200 enabled: true +rendered: + commands: + - set interfaces ethernet eth0 duplex 'auto' + - set interfaces ethernet eth0 speed 'auto' + - delete interfaces ethernet eth0 disable + - set interfaces ethernet eth1 duplex 'auto' + - delete interfaces ethernet eth1 disable + - set interfaces ethernet eth1 speed 'auto' + - set interfaces ethernet eth1 description 'Configured by Ansible - Interface 1' + - set interfaces ethernet eth1 mtu '1500' + - set interfaces ethernet eth1 vif 100 description 'Eth1 - VIF 100' + - set interfaces ethernet eth1 vif 100 mtu '400' + - set interfaces ethernet eth1 vif 101 description 'Eth1 - VIF 101' + - set interfaces ethernet eth2 disable + - set interfaces ethernet eth2 description 'Configured by Ansible - Interface 2 (ADMIN DOWN)' + - set interfaces ethernet eth2 mtu '600' + deleted: commands: - delete interfaces ethernet eth1 description |