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:
Nathaniel Case
2018-05-30 13:03:20 -04:00
committed by GitHub
parent 91eb4a034e
commit 82dfa542c2
111 changed files with 1136 additions and 1136 deletions

View File

@@ -13,7 +13,7 @@
junos_config:
lines:
- 'set system host-name {{ inventory_hostname_short }}'
- 'set interfaces lo0 unit 0 family inet address 1.1.1.1/32'
- 'set interfaces lo0 unit 0 family inet address 192.0.2.1/32'
provider: "{{ netconf }}"
register: result
@@ -23,13 +23,13 @@
# Ensure host-name *hasn't* been updated
- "'host-name;' not in result.diff.prepared"
# Ensure interface has *been* updated
- "'address 1.1.1.1/32' in result.diff.prepared"
- "'address 192.0.2.1/32' in result.diff.prepared"
- name: check multiple commands idempotent
junos_config:
lines:
- 'set system host-name {{ inventory_hostname_short }}'
- 'set interfaces lo0 unit 0 family inet address 1.1.1.1/32'
- 'set interfaces lo0 unit 0 family inet address 192.0.2.1/32'
provider: "{{ netconf }}"
register: result

View File

@@ -48,7 +48,7 @@
- assert:
that:
- "result.changed == true"
- "'address 1.1.1.1/32' in result.diff.prepared"
- "'address 192.0.2.1/32' in result.diff.prepared"
- name: check device with config
junos_config:
@@ -79,7 +79,7 @@
- assert:
that:
- "result.changed == true"
- "'address 1.1.1.1/32' in result.diff.prepared"
- "'address 192.0.2.1/32' in result.diff.prepared"
- name: check device with config
junos_config: