summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospfv2
diff options
context:
space:
mode:
authorSagar Paul <sagpaul@redhat.com>2021-06-22 23:55:12 +0530
committerGitHub <noreply@github.com>2021-06-22 18:25:12 +0000
commita8e806d61fc1e4fd88592bee7e501fbe259cca99 (patch)
treece0a89c73c8e14c173c37dd9e720e94ad2576441 /tests/integration/targets/vyos_ospfv2
parenteb46eb529a8bcfaeb5a7e736550d7cfb612b02d7 (diff)
downloadvyos.vyos-a8e806d61fc1e4fd88592bee7e501fbe259cca99.tar.gz
vyos.vyos-a8e806d61fc1e4fd88592bee7e501fbe259cca99.zip
Spelling glitch fix on doc (#168)
Spelling glitch fix on doc Reviewed-by: https://github.com/apps/ansible-zuul
Diffstat (limited to 'tests/integration/targets/vyos_ospfv2')
-rw-r--r--tests/integration/targets/vyos_ospfv2/tests/cli/gathered.yaml4
-rw-r--r--tests/integration/targets/vyos_ospfv2/tests/cli/merged.yaml42
-rw-r--r--tests/integration/targets/vyos_ospfv2/tests/cli/merged_update.yaml24
-rw-r--r--tests/integration/targets/vyos_ospfv2/tests/redirection/cli/shortname.yaml37
4 files changed, 53 insertions, 54 deletions
diff --git a/tests/integration/targets/vyos_ospfv2/tests/cli/gathered.yaml b/tests/integration/targets/vyos_ospfv2/tests/cli/gathered.yaml
index bc5e1e2..fed8c98 100644
--- a/tests/integration/targets/vyos_ospfv2/tests/cli/gathered.yaml
+++ b/tests/integration/targets/vyos_ospfv2/tests/cli/gathered.yaml
@@ -8,8 +8,7 @@
- include_tasks: _populate.yaml
- block:
-
- - name: Gather the provided configuration with the exisiting running configuration
+ - name: Gather the provided configuration with the existing running configuration
register: result
vyos.vyos.vyos_ospfv2:
config:
@@ -20,5 +19,4 @@
that:
- "{{ populate == result['gathered'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv2/tests/cli/merged.yaml b/tests/integration/targets/vyos_ospfv2/tests/cli/merged.yaml
index 6a58bb5..8aced96 100644
--- a/tests/integration/targets/vyos_ospfv2/tests/cli/merged.yaml
+++ b/tests/integration/targets/vyos_ospfv2/tests/cli/merged.yaml
@@ -1,17 +1,17 @@
---
- debug:
- msg: START vyos_ospfv2 merged integration tests on connection={{ ansible_connection
+ msg:
+ START vyos_ospfv2 merged integration tests on connection={{ ansible_connection
}}
- include_tasks: _remove_config.yaml
- block:
-
- - name: Merge the provided configuration with the exisiting running configuration
+ - name: Merge the provided configuration with the existing running configuration
register: result
vyos.vyos.vyos_ospfv2: &id001
config:
- log_adjacency_changes: 'detail'
+ log_adjacency_changes: "detail"
max_metric:
router_lsa:
administrative: true
@@ -22,48 +22,48 @@
always: true
metric: 10
metric_type: 2
- route_map: 'ingress'
+ route_map: "ingress"
mpls_te:
enabled: true
- router_address: '192.0.11.11'
+ router_address: "192.0.11.11"
auto_cost:
reference_bandwidth: 2
neighbor:
- - neighbor_id: '192.0.11.12'
+ - neighbor_id: "192.0.11.12"
poll_interval: 10
priority: 2
redistribute:
- - route_type: 'bgp'
+ - route_type: "bgp"
metric: 10
metric_type: 2
passive_interface:
- - 'eth1'
- - 'eth2'
+ - "eth1"
+ - "eth2"
parameters:
- router_id: '192.0.1.1'
+ router_id: "192.0.1.1"
opaque_lsa: true
rfc1583_compatibility: true
- abr_type: 'cisco'
+ abr_type: "cisco"
areas:
- - area_id: '2'
+ - area_id: "2"
area_type:
normal: true
authentication: "plaintext-password"
- shortcut: 'enable'
- - area_id: '3'
+ shortcut: "enable"
+ - area_id: "3"
area_type:
nssa:
set: true
- - area_id: '4'
+ - area_id: "4"
area_type:
stub:
default_cost: 20
network:
- - address: '192.0.2.0/24'
+ - address: "192.0.2.0/24"
range:
- - address: '192.0.3.0/24'
+ - address: "192.0.3.0/24"
cost: 10
- - address: '192.0.4.0/24'
+ - address: "192.0.4.0/24"
cost: 12
state: merged
@@ -82,7 +82,8 @@
that:
- "{{ merged['after'] == result['after'] }}"
- - name: Merge the provided configuration with the existing running configuration
+ - name:
+ Merge the provided configuration with the existing running configuration
(IDEMPOTENT)
register: result
vyos.vyos.vyos_ospfv2: *id001
@@ -97,5 +98,4 @@
that:
- "{{ merged['after'] == result['before'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv2/tests/cli/merged_update.yaml b/tests/integration/targets/vyos_ospfv2/tests/cli/merged_update.yaml
index 9b6823c..30df9a4 100644
--- a/tests/integration/targets/vyos_ospfv2/tests/cli/merged_update.yaml
+++ b/tests/integration/targets/vyos_ospfv2/tests/cli/merged_update.yaml
@@ -1,6 +1,7 @@
---
- debug:
- msg: START vyos_ospfv2 merged integration tests on connection={{ ansible_connection
+ msg:
+ START vyos_ospfv2 merged integration tests on connection={{ ansible_connection
}}
- include_tasks: _remove_config.yaml
@@ -8,32 +9,31 @@
- include_tasks: _populate.yaml
- block:
-
- - name: Merge the provided configuration with the exisiting running configuration
+ - name: Merge the provided configuration with the existing running configuration
register: result
vyos.vyos.vyos_ospfv2: &id001
config:
- log_adjacency_changes: 'detail'
+ log_adjacency_changes: "detail"
max_metric:
router_lsa:
administrative: true
on_shutdown: 10
on_startup: 10
passive_interface:
- - 'eth1'
+ - "eth1"
areas:
- - area_id: '3'
+ - area_id: "3"
area_type:
nssa:
set: true
- - area_id: '4'
+ - area_id: "4"
area_type:
stub:
set: false
network:
- - address: '192.0.2.0/24'
- - address: '192.0.22.0/24'
- - address: '192.0.32.0/24'
+ - address: "192.0.2.0/24"
+ - address: "192.0.22.0/24"
+ - address: "192.0.32.0/24"
state: merged
- name: Assert that before dicts were correctly generated
@@ -51,7 +51,8 @@
that:
- "{{ merged_update['after'] == result['after'] }}"
- - name: Merge the provided configuration with the existing running configuration
+ - name:
+ Merge the provided configuration with the existing running configuration
(IDEMPOTENT)
register: result
vyos.vyos.vyos_ospfv2: *id001
@@ -66,5 +67,4 @@
that:
- "{{ merged_update['after'] == result['before'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv2/tests/redirection/cli/shortname.yaml b/tests/integration/targets/vyos_ospfv2/tests/redirection/cli/shortname.yaml
index ecaf4bd..15295d1 100644
--- a/tests/integration/targets/vyos_ospfv2/tests/redirection/cli/shortname.yaml
+++ b/tests/integration/targets/vyos_ospfv2/tests/redirection/cli/shortname.yaml
@@ -6,11 +6,11 @@
- include_tasks: _remove_config.yaml
- block:
- - name: Merge the provided configuration with the exisiting running configuration
+ - name: Merge the provided configuration with the existing running configuration
register: result
vyos.vyos.ospfv2: &id001
config:
- log_adjacency_changes: 'detail'
+ log_adjacency_changes: "detail"
max_metric:
router_lsa:
administrative: true
@@ -21,48 +21,48 @@
always: true
metric: 10
metric_type: 2
- route_map: 'ingress'
+ route_map: "ingress"
mpls_te:
enabled: true
- router_address: '192.0.11.11'
+ router_address: "192.0.11.11"
auto_cost:
reference_bandwidth: 2
neighbor:
- - neighbor_id: '192.0.11.12'
+ - neighbor_id: "192.0.11.12"
poll_interval: 10
priority: 2
redistribute:
- - route_type: 'bgp'
+ - route_type: "bgp"
metric: 10
metric_type: 2
passive_interface:
- - 'eth1'
- - 'eth2'
+ - "eth1"
+ - "eth2"
parameters:
- router_id: '192.0.1.1'
+ router_id: "192.0.1.1"
opaque_lsa: true
rfc1583_compatibility: true
- abr_type: 'cisco'
+ abr_type: "cisco"
areas:
- - area_id: '2'
+ - area_id: "2"
area_type:
normal: true
authentication: "plaintext-password"
- shortcut: 'enable'
- - area_id: '3'
+ shortcut: "enable"
+ - area_id: "3"
area_type:
nssa:
set: true
- - area_id: '4'
+ - area_id: "4"
area_type:
stub:
default_cost: 20
network:
- - address: '192.0.2.0/24'
+ - address: "192.0.2.0/24"
range:
- - address: '192.0.3.0/24'
+ - address: "192.0.3.0/24"
cost: 10
- - address: '192.0.4.0/24'
+ - address: "192.0.4.0/24"
cost: 12
state: merged
@@ -81,7 +81,8 @@
that:
- "{{ merged['after'] == result['after'] }}"
- - name: Merge the provided configuration with the existing running configuration
+ - name:
+ Merge the provided configuration with the existing running configuration
(IDEMPOTENT)
register: result
vyos.vyos.ospfv2: *id001