mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Replace bogus (but routeable) ip addresses with RFC 5737 example addresses (#40554)
* Remove 1.1.1.1 from *_config tests * remove from *_smoke and *_system * Miscellaneous other tests * Remove from module documentation as well * Remove from unit tests as well * Remove accidental duplication from rebase
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
- name: setup test NetworkConfig.difference, replace=block
|
||||
ios_config:
|
||||
lines:
|
||||
- permit ip host 1.1.1.1 any log
|
||||
- permit ip host 2.2.2.2 any log
|
||||
- permit ip host 3.3.3.3 any log
|
||||
- permit ip host 192.0.2.1 any log
|
||||
- permit ip host 192.0.2.2 any log
|
||||
- permit ip host 192.0.2.3 any log
|
||||
parents: ['ip access-list extended test']
|
||||
before: ['no ip access-list extended test']
|
||||
after: ['exit']
|
||||
@@ -54,10 +54,10 @@
|
||||
- name: test NetworkConfig.difference, replace=block
|
||||
ios_config:
|
||||
lines:
|
||||
- permit ip host 1.1.1.1 any log
|
||||
- permit ip host 2.2.2.2 any log
|
||||
- permit ip host 3.3.3.3 any log
|
||||
- permit ip host 4.4.4.4 any log
|
||||
- permit ip host 192.0.2.1 any log
|
||||
- permit ip host 192.0.2.2 any log
|
||||
- permit ip host 192.0.2.3 any log
|
||||
- permit ip host 192.0.2.4 any log
|
||||
parents: ['ip access-list extended test']
|
||||
replace: block
|
||||
after: ['exit']
|
||||
@@ -68,10 +68,10 @@
|
||||
that:
|
||||
- "result.changed == true"
|
||||
- "'ip access-list extended test' in result.updates"
|
||||
- "'permit ip host 1.1.1.1 any log' in result.updates"
|
||||
- "'permit ip host 2.2.2.2 any log' in result.updates"
|
||||
- "'permit ip host 3.3.3.3 any log' in result.updates"
|
||||
- "'permit ip host 4.4.4.4 any log' in result.updates"
|
||||
- "'permit ip host 192.0.2.1 any log' in result.updates"
|
||||
- "'permit ip host 192.0.2.2 any log' in result.updates"
|
||||
- "'permit ip host 192.0.2.3 any log' in result.updates"
|
||||
- "'permit ip host 192.0.2.4 any log' in result.updates"
|
||||
|
||||
- name: teardown- NetworkConfig.difference, replace=block
|
||||
ios_config:
|
||||
|
||||
Reference in New Issue
Block a user