summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_lldp/tests/cli/basic.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_lldp/tests/cli/basic.yaml')
-rw-r--r--tests/integration/targets/vyos_lldp/tests/cli/basic.yaml44
1 files changed, 0 insertions, 44 deletions
diff --git a/tests/integration/targets/vyos_lldp/tests/cli/basic.yaml b/tests/integration/targets/vyos_lldp/tests/cli/basic.yaml
deleted file mode 100644
index b108bbf..0000000
--- a/tests/integration/targets/vyos_lldp/tests/cli/basic.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
----
-- debug: msg="START cli/basic.yaml on connection={{ ansible_connection }}"
-
-- name: Make sure LLDP is not running before tests
- vyos.vyos.vyos_config:
- lines: delete service lldp
-
-- name: Enable LLDP service
- register: result
- vyos.vyos.vyos_lldp:
- state: present
-
-- assert:
- that:
- - result.changed == true
- - '"set service lldp" in result.commands'
-
-- name: Enable LLDP service again (idempotent)
- register: result
- vyos.vyos.vyos_lldp:
- state: present
-
-- assert:
- that:
- - result.changed == false
-
-- name: Disable LLDP service
- register: result
- vyos.vyos.vyos_lldp:
- state: absent
-
-- assert:
- that:
- - result.changed == true
- - '"delete service lldp" in result.commands'
-
-- name:
- register: result
- vyos.vyos.vyos_lldp:
- state: absent
-
-- assert:
- that:
- - result.changed == false