diff options
author | CaptTrews <capttrews@gmail.com> | 2019-12-04 00:26:13 +0000 |
---|---|---|
committer | CaptTrews <capttrews@gmail.com> | 2019-12-04 00:26:13 +0000 |
commit | f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba (patch) | |
tree | 133958d96ff13a3df7bae53742d138ac9bfd2884 /tests/integration/targets/vyos_l3_interface | |
parent | df640eaacf60e82e6cf6f8b10236894eef1cc8ce (diff) | |
download | vyos.vyos-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.tar.gz vyos.vyos-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.zip |
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'tests/integration/targets/vyos_l3_interface')
-rw-r--r-- | tests/integration/targets/vyos_l3_interface/tasks/main.yaml | 2 | ||||
-rw-r--r-- | tests/integration/targets/vyos_l3_interface/tests/cli/basic.yaml | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/tests/integration/targets/vyos_l3_interface/tasks/main.yaml b/tests/integration/targets/vyos_l3_interface/tasks/main.yaml index 415c99d..d4cf26f 100644 --- a/tests/integration/targets/vyos_l3_interface/tasks/main.yaml +++ b/tests/integration/targets/vyos_l3_interface/tasks/main.yaml @@ -1,2 +1,2 @@ --- -- { include: cli.yaml, tags: ['cli'] } +- {include: cli.yaml, tags: ['cli']} diff --git a/tests/integration/targets/vyos_l3_interface/tests/cli/basic.yaml b/tests/integration/targets/vyos_l3_interface/tests/cli/basic.yaml index 9ad6955..3c24b11 100644 --- a/tests/integration/targets/vyos_l3_interface/tests/cli/basic.yaml +++ b/tests/integration/targets/vyos_l3_interface/tests/cli/basic.yaml @@ -147,9 +147,9 @@ - name: Set IP addresses on aggregate vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } - - { name: eth2, ipv4: 192.168.4.10/24 } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64"} + - {name: eth2, ipv4: 192.168.4.10/24} register: result - assert: @@ -163,9 +163,9 @@ - name: Set IP addresses on aggregate (idempotent) vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } - - { name: eth2, ipv4: 192.168.4.10/24 } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64"} + - {name: eth2, ipv4: 192.168.4.10/24} register: result - assert: @@ -175,9 +175,9 @@ - name: Remove IP addresses on aggregate vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } - - { name: eth2, ipv4: 192.168.4.10/24 } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64"} + - {name: eth2, ipv4: 192.168.4.10/24} state: absent register: result @@ -192,9 +192,9 @@ - name: Remove IP addresses on aggregate (idempotent) vyos.vyos.vyos_l3_interface: aggregate: - - { name: eth1, ipv4: 192.168.2.10/24 } - - { name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64" } - - { name: eth2, ipv4: 192.168.4.10/24 } + - {name: eth1, ipv4: 192.168.2.10/24} + - {name: eth2, ipv4: 192.168.3.10/24, ipv6: "fd5d:12c9:2201:1::1/64"} + - {name: eth2, ipv4: 192.168.4.10/24} state: absent register: result |