diff options
| author | Kate Case <kcase@redhat.com> | 2022-10-12 14:06:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-12 14:06:05 -0400 |
| commit | 7712afd90de9a2b4f6d91f3fbea77de20d6ed40e (patch) | |
| tree | b4e4e5c80b881f9d615898977784680ffbad8de4 /tests/integration/targets/vyos_interface | |
| parent | f985cc431f9dbbf5c23ffc32624ea1eb96abe61c (diff) | |
| download | vyos.vyos-7712afd90de9a2b4f6d91f3fbea77de20d6ed40e.tar.gz vyos.vyos-7712afd90de9a2b4f6d91f3fbea77de20d6ed40e.zip | |
Remove tests for net_* modules (#278)
Diffstat (limited to 'tests/integration/targets/vyos_interface')
| -rw-r--r-- | tests/integration/targets/vyos_interface/tests/cli/net_interface.yaml | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/integration/targets/vyos_interface/tests/cli/net_interface.yaml b/tests/integration/targets/vyos_interface/tests/cli/net_interface.yaml deleted file mode 100644 index 045daa25..00000000 --- a/tests/integration/targets/vyos_interface/tests/cli/net_interface.yaml +++ /dev/null @@ -1,55 +0,0 @@ ---- -- debug: msg="START vyos cli/net_interface.yaml on connection={{ ansible_connection - }}" - -- name: Run vyos lsmod command - register: lsmod_out - vyos.vyos.vyos_command: - commands: - - lsmod - -- name: Set up - delete interface - ansible.netcommon.net_interface: - name: eth1 - state: absent - -- name: Create interface using platform agnostic module - register: result - ansible.netcommon.net_interface: - name: eth1 - state: present - description: test-interface - -- assert: - that: - - result.changed == true - - '"set interfaces ethernet eth1" in result.commands' - - "\"set interfaces ethernet eth1 description 'test-interface'\" in result.commands" - -- name: Configure interface params using platform agnostic module - when: "'virtio_net' not in lsmod_out.stdout[0]" - register: result - ansible.netcommon.net_interface: - name: eth1 - state: present - description: test-interface-1 - speed: 100 - duplex: half - mtu: 256 - -- assert: - that: - - result.changed == true - - "\"set interfaces ethernet eth1 description 'test-interface-1'\" in result.commands" - - '"set interfaces ethernet eth1 speed 100" in result.commands' - - '"set interfaces ethernet eth1 duplex half" in result.commands' - - '"set interfaces ethernet eth1 mtu 256" in result.commands' - when: "'virtio_net' not in lsmod_out.stdout[0]" - -- name: teardown - delete interface - ansible.netcommon.net_interface: - name: eth1 - state: absent - -- debug: msg="END vyos cli/net_interface.yaml on connection={{ ansible_connection - }}" |
