From 3cb71c41e665e46ec03bd1e01fb55b23ab05c6b5 Mon Sep 17 00:00:00 2001 From: Gaspard Micol Date: Thu, 12 Oct 2023 12:53:52 -0400 Subject: [PATCH] [ignore] Modify documentation for march rule terms and test cases. --- plugins/modules/aci_match_as_path_regex_term.py | 8 ++++---- plugins/modules/aci_match_community_factor.py | 2 +- plugins/modules/aci_match_community_regex_term.py | 8 ++++---- plugins/modules/aci_match_community_term.py | 8 ++++---- .../targets/aci_match_as_path_regex_term/tasks/main.yml | 2 +- .../targets/aci_match_community_factor/tasks/main.yml | 2 +- .../targets/aci_match_community_regex_term/tasks/main.yml | 2 +- .../targets/aci_match_community_term/tasks/main.yml | 2 +- .../targets/aci_match_route_destination/tasks/main.yml | 2 +- tests/integration/targets/aci_match_rule/tasks/main.yml | 2 +- .../targets/aci_route_control_context/tasks/main.yml | 2 +- .../targets/aci_route_control_profile/tasks/main.yml | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) diff --git a/plugins/modules/aci_match_as_path_regex_term.py b/plugins/modules/aci_match_as_path_regex_term.py index 98d9cee02..a1779bb4d 100644 --- a/plugins/modules/aci_match_as_path_regex_term.py +++ b/plugins/modules/aci_match_as_path_regex_term.py @@ -71,7 +71,7 @@ """ EXAMPLES = r""" -- name: Create a match match AS-path regex term +- name: Create a match with AS-path regex term cisco.aci.match_as_path_regex_term: host: apic username: admin @@ -83,7 +83,7 @@ state: present delegate_to: localhost -- name: Delete a match match AS-path regex term +- name: Delete a match with AS-path regex term cisco.aci.match_as_path_regex_term: host: apic username: admin @@ -94,7 +94,7 @@ state: absent delegate_to: localhost -- name: Query all match AS-path regex terms +- name: Query all match with AS-path regex terms cisco.aci.match_as_path_regex_term: host: apic username: admin @@ -103,7 +103,7 @@ delegate_to: localhost register: query_result -- name: Query a specific match match AS-path regex term +- name: Query a specific match with AS-path regex term cisco.aci.match_as_path_regex_term: host: apic username: admin diff --git a/plugins/modules/aci_match_community_factor.py b/plugins/modules/aci_match_community_factor.py index 853cbc3e7..7be352159 100644 --- a/plugins/modules/aci_match_community_factor.py +++ b/plugins/modules/aci_match_community_factor.py @@ -40,7 +40,7 @@ description: - The item scope. - If the scope is transitive, this community may be passed between ASs. - - If the scope is Non transitive, this community should be carried only within the local AS. + - If the scope is non-transitive, this community should be carried only within the local AS. type: str choices: [ transitive, non-transitive ] description: diff --git a/plugins/modules/aci_match_community_regex_term.py b/plugins/modules/aci_match_community_regex_term.py index c76cd0cd9..2bbd89886 100644 --- a/plugins/modules/aci_match_community_regex_term.py +++ b/plugins/modules/aci_match_community_regex_term.py @@ -78,7 +78,7 @@ """ EXAMPLES = r""" -- name: Create a match comunity regex term +- name: Create a match with comunity regex term cisco.aci.match_community_regex_term: host: apic username: admin @@ -91,7 +91,7 @@ state: present delegate_to: localhost -- name: Delete a match comunity regex term +- name: Delete a match with comunity regex term cisco.aci.match_community_regex_term: host: apic username: admin @@ -102,7 +102,7 @@ state: absent delegate_to: localhost -- name: Query all match rule commmuntiy regex terms +- name: Query all match with commmuntiy regex terms cisco.aci.match_community_regex_term: host: apic username: admin @@ -111,7 +111,7 @@ delegate_to: localhost register: query_result -- name: Query a specific match comunity regex term +- name: Query a specific match with comunity regex term cisco.aci.match_community_regex_term: host: apic username: admin diff --git a/plugins/modules/aci_match_community_term.py b/plugins/modules/aci_match_community_term.py index eb2004e8f..f5357792e 100644 --- a/plugins/modules/aci_match_community_term.py +++ b/plugins/modules/aci_match_community_term.py @@ -67,7 +67,7 @@ """ EXAMPLES = r""" -- name: Create a match match AS-path regex term +- name: Create a match with community term cisco.aci.match_community_term: host: apic username: admin @@ -78,7 +78,7 @@ state: present delegate_to: localhost -- name: Delete a match match AS-path regex term +- name: Delete a match with community term cisco.aci.match_community_term: host: apic username: admin @@ -89,7 +89,7 @@ state: absent delegate_to: localhost -- name: Query all match AS-path regex terms +- name: Query all with community terms cisco.aci.match_community_term: host: apic username: admin @@ -98,7 +98,7 @@ delegate_to: localhost register: query_result -- name: Query a specific match match AS-path regex term +- name: Query a specific match with community term cisco.aci.match_community_term: host: apic username: admin diff --git a/tests/integration/targets/aci_match_as_path_regex_term/tasks/main.yml b/tests/integration/targets/aci_match_as_path_regex_term/tasks/main.yml index 40fff6810..cdabd8b4e 100644 --- a/tests/integration/targets/aci_match_as_path_regex_term/tasks/main.yml +++ b/tests/integration/targets/aci_match_as_path_regex_term/tasks/main.yml @@ -128,7 +128,7 @@ <<: *match_as_path_regex_term_absent register: nm_remove_match_as_path_regex_term - - name: Remove match regex AS-Path term for l3out - testing idempotency + - name: Remove match regex AS-Path term for l3out again - testing previous Removal aci_match_as_path_regex_term: <<: *match_as_path_regex_term_absent register: nm_remove_match_as_path_regex_term_idempotency diff --git a/tests/integration/targets/aci_match_community_factor/tasks/main.yml b/tests/integration/targets/aci_match_community_factor/tasks/main.yml index ce377e73f..2cc1f3ac1 100644 --- a/tests/integration/targets/aci_match_community_factor/tasks/main.yml +++ b/tests/integration/targets/aci_match_community_factor/tasks/main.yml @@ -135,7 +135,7 @@ <<: *match_community_term_absent register: nm_remove_match_community_factor - - name: Remove match community factor - testing idempotency + - name: Remove match community factor again - testing previous Removal aci_match_community_factor: <<: *match_community_term_absent register: nm_remove_match_community_factor_idempotency diff --git a/tests/integration/targets/aci_match_community_regex_term/tasks/main.yml b/tests/integration/targets/aci_match_community_regex_term/tasks/main.yml index 3a64587b1..c0b12c78c 100644 --- a/tests/integration/targets/aci_match_community_regex_term/tasks/main.yml +++ b/tests/integration/targets/aci_match_community_regex_term/tasks/main.yml @@ -130,7 +130,7 @@ <<: *match_community_regex_term_absent register: nm_remove_match_community_regex_term - - name: Remove match community regex term - testing idempotency + - name: Remove match community regex term again - testing previous Removal aci_match_community_regex_term: <<: *match_community_regex_term_absent register: nm_remove_match_community_regex_term_idempotency diff --git a/tests/integration/targets/aci_match_community_term/tasks/main.yml b/tests/integration/targets/aci_match_community_term/tasks/main.yml index 5f21e960d..aecf89096 100644 --- a/tests/integration/targets/aci_match_community_term/tasks/main.yml +++ b/tests/integration/targets/aci_match_community_term/tasks/main.yml @@ -124,7 +124,7 @@ <<: *match_community_term_absent register: nm_remove_match_community_term - - name: Remove match community term - testing idempotency + - name: Remove match community term again - testing previous Removal aci_match_community_term: <<: *match_community_term_absent register: nm_remove_match_community_term_idempotency diff --git a/tests/integration/targets/aci_match_route_destination/tasks/main.yml b/tests/integration/targets/aci_match_route_destination/tasks/main.yml index c0e9a41d9..bea0ce0dd 100644 --- a/tests/integration/targets/aci_match_route_destination/tasks/main.yml +++ b/tests/integration/targets/aci_match_route_destination/tasks/main.yml @@ -137,7 +137,7 @@ <<: *match_route_destination_absent register: nm_remove_match_route_destination - - name: Remove match route destination rule - testing idempotency + - name: Remove match route destination rule again - testing previous Removal aci_match_route_destination: <<: *match_route_destination_absent register: nm_remove_match_route_destination_idempotency diff --git a/tests/integration/targets/aci_match_rule/tasks/main.yml b/tests/integration/targets/aci_match_rule/tasks/main.yml index ecef49ad7..23509494c 100644 --- a/tests/integration/targets/aci_match_rule/tasks/main.yml +++ b/tests/integration/targets/aci_match_rule/tasks/main.yml @@ -114,7 +114,7 @@ <<: *match_rule_absent register: nm_remove_match_rule - - name: Remove match rule profile for l3out - testing idempotency + - name: Remove match rule profile for l3out again - testing previous Removal aci_match_rule: <<: *match_rule_absent register: nm_remove_match_rule_idempotency diff --git a/tests/integration/targets/aci_route_control_context/tasks/main.yml b/tests/integration/targets/aci_route_control_context/tasks/main.yml index 9c1f496b3..83f46e4b8 100644 --- a/tests/integration/targets/aci_route_control_context/tasks/main.yml +++ b/tests/integration/targets/aci_route_control_context/tasks/main.yml @@ -175,7 +175,7 @@ <<: *aci_route_control_context_absent register: nm_remove_remove_route_control_context - - name: Remove route control profile for l3out - testing idempotency + - name: Remove route control profile for l3out again - testing previous Removal aci_route_control_context: <<: *aci_route_control_context_absent register: nm_remove_route_control_context_idempotency diff --git a/tests/integration/targets/aci_route_control_profile/tasks/main.yml b/tests/integration/targets/aci_route_control_profile/tasks/main.yml index c04c38efd..db0022100 100644 --- a/tests/integration/targets/aci_route_control_profile/tasks/main.yml +++ b/tests/integration/targets/aci_route_control_profile/tasks/main.yml @@ -123,7 +123,7 @@ <<: *route_control_profile_absent register: nm_remove_route_control_profile - - name: Remove route control profile for l3out - testing idempotency + - name: Remove route control profile for l3out again - testing previous Removal aci_route_control_profile: <<: *route_control_profile_absent register: nm_remove_route_control_profile_idempotency