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

@@ -74,18 +74,18 @@ EXAMPLES = """
junos_l3_interface:
aggregate:
- name: ge-0/0/1
ipv4: 1.1.1.1
ipv4: 192.0.2.1
- name: ge-0/0/2
ipv4: 2.2.2.2
ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
- name: Delete ipv4 address using aggregate
junos_l3_interface:
aggregate:
- name: ge-0/0/1
ipv4: 1.1.1.1
ipv4: 192.0.2.1
- name: ge-0/0/2
ipv4: 2.2.2.2
ipv4: 192.0.2.2
state: absent
"""
@@ -96,7 +96,7 @@ diff:
type: string
sample: >
[edit interfaces ge-0/0/1 unit 0 family inet]
+ address 1.1.1.1/32;
+ address 192.0.2.1/32;
[edit interfaces ge-0/0/1 unit 0 family inet6]
+ address fd5d:12c9:2201:1::1/128;
"""

View File

@@ -94,7 +94,7 @@ EXAMPLES = """
interfaces:
- ge-0/0/3
- ge-0/0/2
rd: 1.1.1.1:10
rd: 192.0.2.1:10
target: target:65514:113
state: present
@@ -105,7 +105,7 @@ EXAMPLES = """
interfaces:
- ge-0/0/3
- ge-0/0/2
rd: 1.1.1.1:10
rd: 192.0.2.1:10
target: target:65514:113
state: absent
@@ -116,7 +116,7 @@ EXAMPLES = """
interfaces:
- ge-0/0/3
- ge-0/0/2
rd: 1.1.1.1:10
rd: 192.0.2.1:10
target: target:65514:113
active: False
@@ -127,7 +127,7 @@ EXAMPLES = """
interfaces:
- ge-0/0/3
- ge-0/0/2
rd: 1.1.1.1:10
rd: 192.0.2.1:10
target: target:65514:113
active: True
@@ -139,14 +139,14 @@ EXAMPLES = """
interfaces:
- ge-0/0/3
- ge-0/0/2
rd: 1.1.1.1:10
rd: 192.0.2.1:10
target: target:65514:113
- name: test-2
description: test-vrf-2
interfaces:
- ge-0/0/4
- ge-0/0/5
rd: 2.2.2.2:10
rd: 192.0.2.2:10
target: target:65515:114
state: present
"""
@@ -163,7 +163,7 @@ diff.prepared:
+ instance-type vrf;
+ interface ge-0/0/2.0;
+ interface ge-0/0/3.0;
+ route-distinguisher 1.1.1.1:10;
+ route-distinguisher 192.0.2.1:10;
+ vrf-target target:65514:113;
+ }
"""