diff --git a/plugins/modules/vyos_interface.py b/plugins/modules/vyos_interface.py new file mode 120000 index 0000000..3459fa1 --- /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 0000000..961ef4e --- /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 0000000..494a1d2 --- /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