summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_ospfv3
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_ospfv3
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_ospfv3')
-rw-r--r--tests/integration/targets/vyos_ospfv3/tests/cli/gathered.yaml4
-rw-r--r--tests/integration/targets/vyos_ospfv3/tests/cli/merged.yaml30
-rw-r--r--tests/integration/targets/vyos_ospfv3/tests/cli/merged_update.yaml24
-rw-r--r--tests/integration/targets/vyos_ospfv3/tests/redirection/cli/shortname.yaml25
4 files changed, 41 insertions, 42 deletions
diff --git a/tests/integration/targets/vyos_ospfv3/tests/cli/gathered.yaml b/tests/integration/targets/vyos_ospfv3/tests/cli/gathered.yaml
index 6645b99..1be8f8d 100644
--- a/tests/integration/targets/vyos_ospfv3/tests/cli/gathered.yaml
+++ b/tests/integration/targets/vyos_ospfv3/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_ospfv3:
config:
@@ -21,5 +20,4 @@
- "{{ populate == result['gathered'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv3/tests/cli/merged.yaml b/tests/integration/targets/vyos_ospfv3/tests/cli/merged.yaml
index 9309500..7bbc3c6 100644
--- a/tests/integration/targets/vyos_ospfv3/tests/cli/merged.yaml
+++ b/tests/integration/targets/vyos_ospfv3/tests/cli/merged.yaml
@@ -1,31 +1,31 @@
---
- debug:
- msg: START vyos_ospfv3 merged integration tests on connection={{ ansible_connection
+ msg:
+ START vyos_ospfv3 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_ospfv3: &id001
config:
areas:
- - area_id: '2'
- export_list: 'export1'
- import_list: 'import1'
+ - area_id: "2"
+ export_list: "export1"
+ import_list: "import1"
range:
- - address: '2001:db10::/32'
- - address: '2001:db20::/32'
- - address: '2001:db30::/32'
- - area_id: '3'
+ - address: "2001:db10::/32"
+ - address: "2001:db20::/32"
+ - address: "2001:db30::/32"
+ - area_id: "3"
range:
- - address: '2001:db40::/32'
+ - address: "2001:db40::/32"
parameters:
- router_id: '192.0.2.10'
+ router_id: "192.0.2.10"
redistribute:
- - route_type: 'bgp'
+ - route_type: "bgp"
state: merged
- name: Assert that before dicts were correctly generated
@@ -43,7 +43,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_ospfv3: *id001
@@ -58,5 +59,4 @@
that:
- "{{ merged['after'] == result['before'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv3/tests/cli/merged_update.yaml b/tests/integration/targets/vyos_ospfv3/tests/cli/merged_update.yaml
index 0d506b3..c6f0e8b 100644
--- a/tests/integration/targets/vyos_ospfv3/tests/cli/merged_update.yaml
+++ b/tests/integration/targets/vyos_ospfv3/tests/cli/merged_update.yaml
@@ -1,6 +1,7 @@
---
- debug:
- msg: START vyos_ospfv3 merged integration tests on connection={{ ansible_connection
+ msg:
+ START vyos_ospfv3 merged integration tests on connection={{ ansible_connection
}}
- include_tasks: _remove_config.yaml
@@ -8,23 +9,22 @@
- 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_ospfv3: &id001
config:
areas:
- - area_id: '2'
+ - area_id: "2"
range:
- - address: '2001:db10::/32'
- - area_id: '3'
+ - address: "2001:db10::/32"
+ - area_id: "3"
range:
- - address: '2001:db40::/32'
- - address: '2001:db70::/32'
+ - address: "2001:db40::/32"
+ - address: "2001:db70::/32"
parameters:
- router_id: '192.0.2.10'
+ router_id: "192.0.2.10"
redistribute:
- - route_type: 'bgp'
+ - route_type: "bgp"
state: merged
- name: Assert that before dicts were correctly generated
@@ -42,7 +42,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_ospfv3: *id001
@@ -57,5 +58,4 @@
that:
- "{{ merged_update['after'] == result['before'] }}"
always:
-
- include_tasks: _remove_config.yaml
diff --git a/tests/integration/targets/vyos_ospfv3/tests/redirection/cli/shortname.yaml b/tests/integration/targets/vyos_ospfv3/tests/redirection/cli/shortname.yaml
index fdeeb89..65935e6 100644
--- a/tests/integration/targets/vyos_ospfv3/tests/redirection/cli/shortname.yaml
+++ b/tests/integration/targets/vyos_ospfv3/tests/redirection/cli/shortname.yaml
@@ -6,25 +6,25 @@
- 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.ospfv3: &id001
config:
areas:
- - area_id: '2'
- export_list: 'export1'
- import_list: 'import1'
+ - area_id: "2"
+ export_list: "export1"
+ import_list: "import1"
range:
- - address: '2001:db10::/32'
- - address: '2001:db20::/32'
- - address: '2001:db30::/32'
- - area_id: '3'
+ - address: "2001:db10::/32"
+ - address: "2001:db20::/32"
+ - address: "2001:db30::/32"
+ - area_id: "3"
range:
- - address: '2001:db40::/32'
+ - address: "2001:db40::/32"
parameters:
- router_id: '192.0.2.10'
+ router_id: "192.0.2.10"
redistribute:
- - route_type: 'bgp'
+ - route_type: "bgp"
state: merged
- name: Assert that before dicts were correctly generated
@@ -42,7 +42,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.ospfv3: *id001