diff options
l--------- | plugins/modules/vyos_interface.py | 1 | ||||
l--------- | plugins/modules/vyos_l3_interface.py | 1 | ||||
-rw-r--r-- | test/integration/targets/prepare_vyos_tests/tasks/main.yaml | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/plugins/modules/vyos_interface.py b/plugins/modules/vyos_interface.py new file mode 120000 index 00000000..3459fa1b --- /dev/null +++ b/plugins/modules/vyos_interface.py @@ -0,0 +1 @@ +_vyos_interface.py
\ No newline at end of file diff --git a/plugins/modules/vyos_l3_interface.py b/plugins/modules/vyos_l3_interface.py new file mode 120000 index 00000000..961ef4e6 --- /dev/null +++ b/plugins/modules/vyos_l3_interface.py @@ -0,0 +1 @@ +_vyos_l3_interface.py
\ No newline at end of file diff --git a/test/integration/targets/prepare_vyos_tests/tasks/main.yaml b/test/integration/targets/prepare_vyos_tests/tasks/main.yaml new file mode 100644 index 00000000..494a1d26 --- /dev/null +++ b/test/integration/targets/prepare_vyos_tests/tasks/main.yaml @@ -0,0 +1,10 @@ +--- +- name: Ensure required interfaces are present in running-config + cli_config: + config: "{{ lines }}" + vars: + lines: | + set interfaces ethernet eth0 address dhcp + set interfaces ethernet eth1 + set interfaces ethernet eth2 + set interfaces loopback lo |