summaryrefslogtreecommitdiff
path: root/test/integration/targets/vyos_command
diff options
context:
space:
mode:
authorBradley A. Thornton <bthornto@thethorntons.net>2019-08-08 12:29:41 -0700
committerBradley A. Thornton <bthornto@thethorntons.net>2019-08-08 12:29:41 -0700
commita330106b2e2c811db49477d71b8a472c964d2aeb (patch)
treeae05d893d8bed2d04db942d4c103996b26b10be7 /test/integration/targets/vyos_command
parent5472435af823398fc63e049d7efe0938b532f3c9 (diff)
downloadvyos.vyos-a330106b2e2c811db49477d71b8a472c964d2aeb.tar.gz
vyos.vyos-a330106b2e2c811db49477d71b8a472c964d2aeb.zip
fixed
Diffstat (limited to 'test/integration/targets/vyos_command')
-rw-r--r--test/integration/targets/vyos_command/aliases (renamed from test/integration/targets/vyos_command/vyos_command/aliases)0
-rw-r--r--test/integration/targets/vyos_command/defaults/main.yaml (renamed from test/integration/targets/vyos_command/vyos_command/defaults/main.yaml)0
-rw-r--r--test/integration/targets/vyos_command/tasks/cli.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml)0
-rw-r--r--test/integration/targets/vyos_command/tasks/main.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tasks/main.yaml)0
-rw-r--r--test/integration/targets/vyos_command/tests/cli/bad_operator.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml)2
-rw-r--r--test/integration/targets/vyos_command/tests/cli/cli_command.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml)0
-rw-r--r--test/integration/targets/vyos_command/tests/cli/contains.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml)2
-rw-r--r--test/integration/targets/vyos_command/tests/cli/invalid.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml)4
-rw-r--r--test/integration/targets/vyos_command/tests/cli/output.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml)6
-rw-r--r--test/integration/targets/vyos_command/tests/cli/timeout.yaml (renamed from test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml)2
10 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/targets/vyos_command/vyos_command/aliases b/test/integration/targets/vyos_command/aliases
index 539d9574..539d9574 100644
--- a/test/integration/targets/vyos_command/vyos_command/aliases
+++ b/test/integration/targets/vyos_command/aliases
diff --git a/test/integration/targets/vyos_command/vyos_command/defaults/main.yaml b/test/integration/targets/vyos_command/defaults/main.yaml
index 9ef5ba51..9ef5ba51 100644
--- a/test/integration/targets/vyos_command/vyos_command/defaults/main.yaml
+++ b/test/integration/targets/vyos_command/defaults/main.yaml
diff --git a/test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml b/test/integration/targets/vyos_command/tasks/cli.yaml
index 890d3acf..890d3acf 100644
--- a/test/integration/targets/vyos_command/vyos_command/tasks/cli.yaml
+++ b/test/integration/targets/vyos_command/tasks/cli.yaml
diff --git a/test/integration/targets/vyos_command/vyos_command/tasks/main.yaml b/test/integration/targets/vyos_command/tasks/main.yaml
index 415c99d8..415c99d8 100644
--- a/test/integration/targets/vyos_command/vyos_command/tasks/main.yaml
+++ b/test/integration/targets/vyos_command/tasks/main.yaml
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml b/test/integration/targets/vyos_command/tests/cli/bad_operator.yaml
index 9e9de9f7..bf3334f2 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/bad_operator.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/bad_operator.yaml
@@ -2,7 +2,7 @@
- debug: msg="START cli/bad_operator.yaml on connection={{ ansible_connection }}"
- name: test bad operator
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
- show version
- show interfaces
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml b/test/integration/targets/vyos_command/tests/cli/cli_command.yaml
index caeb2021..caeb2021 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/cli_command.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/cli_command.yaml
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml b/test/integration/targets/vyos_command/tests/cli/contains.yaml
index 85c6e86a..b8665fa7 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/contains.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/contains.yaml
@@ -2,7 +2,7 @@
- debug: msg="START cli/contains.yaml on connection={{ ansible_connection }}"
- name: test contains operator
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
- show version
- show interface
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml b/test/integration/targets/vyos_command/tests/cli/invalid.yaml
index e6d25e41..672f6e81 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/invalid.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/invalid.yaml
@@ -2,7 +2,7 @@
- debug: msg="START cli/invalid.yaml on connection={{ ansible_connection }}"
- name: run invalid command
- vyos_command:
+ vyos.vyos.vyos_command:
commands: show foo
register: result
ignore_errors: yes
@@ -10,7 +10,7 @@
- assert: { that: result.failed }
- name: run commands that include invalid command
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
- show version
- show foo
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml b/test/integration/targets/vyos_command/tests/cli/output.yaml
index 294f62f7..bdc8b2a8 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/output.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/output.yaml
@@ -2,7 +2,7 @@
- debug: msg="START cli/output.yaml on connection={{ ansible_connection }}"
- name: get output for single command
- vyos_command:
+ vyos.vyos.vyos_command:
commands: show version
register: result
@@ -13,7 +13,7 @@
- result.stdout_lines is defined
- name: get output for multiple commands
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
- show version
- show interfaces
@@ -26,7 +26,7 @@
- result.stdout | length == 2
- name: Get output for multiple commands that call less explicitly
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
# NOTE: We only test show commands that will output <ANSIBLE_VYOS_TERMINAL_LENGTH
# Otherwise you will get ": "command timeout triggered"
diff --git a/test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml b/test/integration/targets/vyos_command/tests/cli/timeout.yaml
index 4994ebff..e4716ed6 100644
--- a/test/integration/targets/vyos_command/vyos_command/tests/cli/timeout.yaml
+++ b/test/integration/targets/vyos_command/tests/cli/timeout.yaml
@@ -2,7 +2,7 @@
- debug: msg="START cli/timeout.yaml on connection={{ ansible_connection }}"
- name: test bad condition
- vyos_command:
+ vyos.vyos.vyos_command:
commands:
- show version
wait_for: