Skip to content

Commit 6906a3e

Browse files
gmicollhercot
authored andcommitted
[ignore] Update the examples in match rules modules.
1 parent 86cfc61 commit 6906a3e

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

plugins/modules/aci_match_as_path_regex_term.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
EXAMPLES = r"""
7474
- name: Create a match with AS-path regex term
75-
cisco.aci.match_as_path_regex_term:
75+
cisco.aci.aci_match_as_path_regex_term:
7676
host: apic
7777
username: admin
7878
password: SomeSecretPassword
@@ -84,7 +84,7 @@
8484
delegate_to: localhost
8585
8686
- name: Delete a match with AS-path regex term
87-
cisco.aci.match_as_path_regex_term:
87+
cisco.aci.aci_match_as_path_regex_term:
8888
host: apic
8989
username: admin
9090
password: SomeSecretPassword
@@ -95,7 +95,7 @@
9595
delegate_to: localhost
9696
9797
- name: Query all match with AS-path regex terms
98-
cisco.aci.match_as_path_regex_term:
98+
cisco.aci.aci_match_as_path_regex_term:
9999
host: apic
100100
username: admin
101101
password: SomeSecretPassword
@@ -104,7 +104,7 @@
104104
register: query_result
105105
106106
- name: Query a specific match with AS-path regex term
107-
cisco.aci.match_as_path_regex_term:
107+
cisco.aci.aci_match_as_path_regex_term:
108108
host: apic
109109
username: admin
110110
password: SomeSecretPassword

plugins/modules/aci_match_community_factor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
EXAMPLES = r"""
8282
- name: Create a match match AS-path regex term
83-
cisco.aci.match_community_term:
83+
cisco.aci.aci_match_community_factor:
8484
host: apic
8585
username: admin
8686
password: SomeSecretPassword
@@ -93,7 +93,7 @@
9393
delegate_to: localhost
9494
9595
- name: Delete a match match AS-path regex term
96-
cisco.aci.match_community_term:
96+
cisco.aci.aci_match_community_factor:
9797
host: apic
9898
username: admin
9999
password: SomeSecretPassword
@@ -105,7 +105,7 @@
105105
delegate_to: localhost
106106
107107
- name: Query all match AS-path regex terms
108-
cisco.aci.match_community_term:
108+
cisco.aci.aci_match_community_factor:
109109
host: apic
110110
username: admin
111111
password: SomeSecretPassword
@@ -114,7 +114,7 @@
114114
register: query_result
115115
116116
- name: Query a specific match match AS-path regex term
117-
cisco.aci.match_community_term:
117+
cisco.aci.aci_match_community_factor:
118118
host: apic
119119
username: admin
120120
password: SomeSecretPassword

plugins/modules/aci_match_community_regex_term.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979

8080
EXAMPLES = r"""
8181
- name: Create a match with comunity regex term
82-
cisco.aci.match_community_regex_term:
82+
cisco.aci.aci_match_community_regex_term:
8383
host: apic
8484
username: admin
8585
password: SomeSecretPassword
@@ -92,7 +92,7 @@
9292
delegate_to: localhost
9393
9494
- name: Delete a match with comunity regex term
95-
cisco.aci.match_community_regex_term:
95+
cisco.aci.aci_match_community_regex_term:
9696
host: apic
9797
username: admin
9898
password: SomeSecretPassword
@@ -103,7 +103,7 @@
103103
delegate_to: localhost
104104
105105
- name: Query all match with commmuntiy regex terms
106-
cisco.aci.match_community_regex_term:
106+
cisco.aci.aci_match_community_regex_term:
107107
host: apic
108108
username: admin
109109
password: SomeSecretPassword
@@ -112,7 +112,7 @@
112112
register: query_result
113113
114114
- name: Query a specific match with comunity regex term
115-
cisco.aci.match_community_regex_term:
115+
cisco.aci.aci_match_community_regex_term:
116116
host: apic
117117
username: admin
118118
password: SomeSecretPassword

plugins/modules/aci_match_community_term.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
EXAMPLES = r"""
7070
- name: Create a match with community term
71-
cisco.aci.match_community_term:
71+
cisco.aci.aci_match_community_term:
7272
host: apic
7373
username: admin
7474
password: SomeSecretPassword
@@ -79,7 +79,7 @@
7979
delegate_to: localhost
8080
8181
- name: Delete a match with community term
82-
cisco.aci.match_community_term:
82+
cisco.aci.aci_match_community_term:
8383
host: apic
8484
username: admin
8585
password: SomeSecretPassword
@@ -90,7 +90,7 @@
9090
delegate_to: localhost
9191
9292
- name: Query all with community terms
93-
cisco.aci.match_community_term:
93+
cisco.aci.aci_match_community_term:
9494
host: apic
9595
username: admin
9696
password: SomeSecretPassword
@@ -99,7 +99,7 @@
9999
register: query_result
100100
101101
- name: Query a specific match with community term
102-
cisco.aci.match_community_term:
102+
cisco.aci.aci_match_community_term:
103103
host: apic
104104
username: admin
105105
password: SomeSecretPassword

tests/integration/targets/aci_match_route_destination/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
description: match route destination rule 1 for ansible_match_rule match rule profile
5858
ip: 11.11.11.11/24
5959
aggregate: yes
60-
from_prefix_lenght: 0
61-
to_prefix_lenght: 32
60+
from_prefix_length: 0
61+
to_prefix_length: 32
6262
state: present
6363
check_mode: true
6464
register: cm_add_match_route_destination

0 commit comments

Comments
 (0)