diff options
Diffstat (limited to 'tests/integration/targets/vyos_ospfv2/vars/main.yaml')
-rw-r--r-- | tests/integration/targets/vyos_ospfv2/vars/main.yaml | 97 |
1 files changed, 10 insertions, 87 deletions
diff --git a/tests/integration/targets/vyos_ospfv2/vars/main.yaml b/tests/integration/targets/vyos_ospfv2/vars/main.yaml index 70d25fc7..1f1b9ba8 100644 --- a/tests/integration/targets/vyos_ospfv2/vars/main.yaml +++ b/tests/integration/targets/vyos_ospfv2/vars/main.yaml @@ -1,43 +1,7 @@ --- merged: before: {} - commands: - - set protocols ospf mpls-te enable - - set protocols ospf mpls-te router-address '192.0.11.11' - - set protocols ospf redistribute bgp - - set protocols ospf redistribute bgp metric-type 2 - - set protocols ospf redistribute bgp metric 10 - - set protocols ospf default-information originate metric-type 2 - - set protocols ospf default-information originate always - - set protocols ospf default-information originate metric 10 - - set protocols ospf default-information originate route-map ingress - - set protocols ospf auto-cost reference-bandwidth '2' - - set protocols ospf parameters router-id '192.0.1.1' - - set protocols ospf parameters opaque-lsa - - set protocols ospf parameters abr-type 'cisco' - - set protocols ospf parameters rfc1583-compatibility - - set protocols ospf passive-interface eth1 - - set protocols ospf passive-interface eth2 - - set protocols ospf max-metric router-lsa on-shutdown 10 - - set protocols ospf max-metric router-lsa administrative - - set protocols ospf max-metric router-lsa on-startup 10 - - set protocols ospf log-adjacency-changes 'detail' - - set protocols ospf neighbor 192.0.11.12 priority 2 - - set protocols ospf neighbor 192.0.11.12 poll-interval 10 - - set protocols ospf neighbor 192.0.11.12 - - set protocols ospf area '2' - - set protocols ospf area 2 authentication plaintext-password - - set protocols ospf area 2 shortcut enable - - set protocols ospf area 2 area-type normal - - set protocols ospf area '3' - - set protocols ospf area 3 area-type nssa - - set protocols ospf area 4 range 192.0.3.0/24 cost 10 - - set protocols ospf area 4 range 192.0.3.0/24 - - set protocols ospf area 4 range 192.0.4.0/24 cost 12 - - set protocols ospf area 4 range 192.0.4.0/24 - - set protocols ospf area 4 area-type stub default-cost 20 - - set protocols ospf area '4' - - set protocols ospf area 4 network 192.0.2.0/24 + commands: "{{ merged_commands }}" after: areas: - area_id: "2" @@ -94,6 +58,7 @@ merged: - metric: 10 metric_type: 2 route_type: bgp + merged_update: before: areas: @@ -209,6 +174,7 @@ merged_update: - delete protocols ospf area 4 area-type stub - set protocols ospf area 4 network 192.0.22.0/24 - set protocols ospf area 4 network 192.0.32.0/24 + populate: areas: - area_id: "2" @@ -265,20 +231,9 @@ populate: - metric: 10 metric_type: 2 route_type: bgp + replaced: - commands: - - delete protocols ospf passive-interface eth2 - - delete protocols ospf area 3 - - delete protocols ospf area 4 range 192.0.3.0/24 cost - - delete protocols ospf area 4 range 192.0.3.0/24 - - delete protocols ospf area 4 range 192.0.4.0/24 cost - - delete protocols ospf area 4 range 192.0.4.0/24 - - set protocols ospf mpls-te router-address '192.0.22.22' - - set protocols ospf area 4 range 1.1.2.0/24 cost 10 - - set protocols ospf area 4 range 1.1.2.0/24 - - set protocols ospf area 4 network 192.0.12.0/24 - - set protocols ospf area 4 network 192.0.22.0/24 - - set protocols ospf area 4 network 192.0.32.0/24 + commands: "{{ replaced_commands }}" after: areas: - area_id: "2" @@ -331,44 +286,10 @@ replaced: - metric: 10 metric_type: 2 route_type: bgp + rendered: - commands: - - set protocols ospf mpls-te enable - - set protocols ospf mpls-te router-address '192.0.11.11' - - set protocols ospf redistribute bgp - - set protocols ospf redistribute bgp metric-type 2 - - set protocols ospf redistribute bgp metric 10 - - set protocols ospf default-information originate metric-type 2 - - set protocols ospf default-information originate always - - set protocols ospf default-information originate metric 10 - - set protocols ospf default-information originate route-map ingress - - set protocols ospf auto-cost reference-bandwidth '2' - - set protocols ospf parameters router-id '192.0.1.1' - - set protocols ospf parameters opaque-lsa - - set protocols ospf parameters abr-type 'cisco' - - set protocols ospf parameters rfc1583-compatibility - - set protocols ospf passive-interface eth1 - - set protocols ospf passive-interface eth2 - - set protocols ospf max-metric router-lsa on-shutdown 10 - - set protocols ospf max-metric router-lsa administrative - - set protocols ospf max-metric router-lsa on-startup 10 - - set protocols ospf log-adjacency-changes 'detail' - - set protocols ospf neighbor 192.0.11.12 priority 2 - - set protocols ospf neighbor 192.0.11.12 poll-interval 10 - - set protocols ospf neighbor 192.0.11.12 - - set protocols ospf area '2' - - set protocols ospf area 2 authentication plaintext-password - - set protocols ospf area 2 shortcut enable - - set protocols ospf area 2 area-type normal - - set protocols ospf area '3' - - set protocols ospf area 3 area-type nssa - - set protocols ospf area 4 range 192.0.3.0/24 cost 10 - - set protocols ospf area 4 range 192.0.3.0/24 - - set protocols ospf area 4 range 192.0.4.0/24 cost 12 - - set protocols ospf area 4 range 192.0.4.0/24 - - set protocols ospf area 4 area-type stub default-cost 20 - - set protocols ospf area '4' - - set protocols ospf area 4 network 192.0.2.0/24 + commands: "{{ rendered_commands }}" + parsed: after: areas: @@ -426,10 +347,12 @@ parsed: - metric: 10 metric_type: 2 route_type: bgp + deleted: commands: - delete protocols ospf after: {} + round_trip: after: areas: |