diff --git a/lib/ansible/modules/network/eos/eos_config.py b/lib/ansible/modules/network/eos/eos_config.py
index 5ad3fb52027..f07c4409fcf 100644
--- a/lib/ansible/modules/network/eos/eos_config.py
+++ b/lib/ansible/modules/network/eos/eos_config.py
@@ -221,10 +221,10 @@ EXAMPLES = """
- name: load an acl into the device
eos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
replace: block
diff --git a/lib/ansible/modules/network/ios/ios_config.py b/lib/ansible/modules/network/ios/ios_config.py
index 79efd260260..bbeda37fa69 100644
--- a/lib/ansible/modules/network/ios/ios_config.py
+++ b/lib/ansible/modules/network/ios/ios_config.py
@@ -241,11 +241,11 @@ EXAMPLES = """
- name: load new acl into device
ios_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
- - 50 permit ip host 5.5.5.5 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
+ - 50 permit ip host 192.0.2.5 any log
parents: ip access-list extended test
before: no ip access-list extended test
match: exact
@@ -279,12 +279,12 @@ updates:
description: The set of commands that will be pushed to the remote device
returned: always
type: list
- sample: ['hostname foo', 'router ospf 1', 'router-id 1.1.1.1']
+ sample: ['hostname foo', 'router ospf 1', 'router-id 192.0.2.1']
commands:
description: The set of commands that will be pushed to the remote device
returned: always
type: list
- sample: ['hostname foo', 'router ospf 1', 'router-id 1.1.1.1']
+ sample: ['hostname foo', 'router ospf 1', 'router-id 192.0.2.1']
backup_path:
description: The full path to the backup file
returned: when backup is yes
diff --git a/lib/ansible/modules/network/junos/junos_l3_interface.py b/lib/ansible/modules/network/junos/junos_l3_interface.py
index a903533c38d..a4a6830b6ff 100644
--- a/lib/ansible/modules/network/junos/junos_l3_interface.py
+++ b/lib/ansible/modules/network/junos/junos_l3_interface.py
@@ -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;
"""
diff --git a/lib/ansible/modules/network/junos/junos_vrf.py b/lib/ansible/modules/network/junos/junos_vrf.py
index d35e17bfc15..685fe1e719c 100644
--- a/lib/ansible/modules/network/junos/junos_vrf.py
+++ b/lib/ansible/modules/network/junos/junos_vrf.py
@@ -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;
+ }
"""
diff --git a/lib/ansible/modules/network/nxos/nxos_acl.py b/lib/ansible/modules/network/nxos/nxos_acl.py
index 081fda6a237..a2446a7c10f 100644
--- a/lib/ansible/modules/network/nxos/nxos_acl.py
+++ b/lib/ansible/modules/network/nxos/nxos_acl.py
@@ -158,7 +158,7 @@ EXAMPLES = '''
seq: 10
action: permit
proto: tcp
- src: 1.1.1.1/24
+ src: 192.0.2.1/24
dest: any
state: present
'''
@@ -168,7 +168,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["ip access-list ANSIBLE", "10 permit tcp 1.1.1.1/24 any"]
+ sample: ["ip access-list ANSIBLE", "10 permit tcp 192.0.2.1/24 any"]
'''
from ansible.module_utils.network.nxos.nxos import load_config, run_commands
from ansible.module_utils.network.nxos.nxos import nxos_argument_spec, check_args
diff --git a/lib/ansible/modules/network/nxos/nxos_bgp.py b/lib/ansible/modules/network/nxos/nxos_bgp.py
index f8a85ede97d..e284d5c82d6 100644
--- a/lib/ansible/modules/network/nxos/nxos_bgp.py
+++ b/lib/ansible/modules/network/nxos/nxos_bgp.py
@@ -220,7 +220,7 @@ EXAMPLES = '''
nxos_bgp:
asn: 65535
vrf: test
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
state: present
'''
@@ -229,7 +229,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["router bgp 65535", "vrf test", "router-id 1.1.1.1"]
+ sample: ["router bgp 65535", "vrf test", "router-id 192.0.2.1"]
'''
import re
diff --git a/lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py b/lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py
index b11425a7fad..65d5dce3f86 100644
--- a/lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py
+++ b/lib/ansible/modules/network/nxos/nxos_bgp_neighbor.py
@@ -151,7 +151,7 @@ EXAMPLES = '''
# create a new neighbor
- nxos_bgp_neighbor:
asn: 65535
- neighbor: 3.3.3.3
+ neighbor: 192.0.2.3
local_as: 20
remote_as: 30
description: "just a description"
@@ -164,7 +164,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["router bgp 65535", "neighbor 3.3.3.3",
+ sample: ["router bgp 65535", "neighbor 192.0.2.3",
"remote-as 30", "update-source Ethernet1/3",
"description just a description", "local-as 20"]
'''
diff --git a/lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py b/lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py
index fab53226acd..4ef9f0f03f7 100644
--- a/lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py
+++ b/lib/ansible/modules/network/nxos/nxos_bgp_neighbor_af.py
@@ -213,7 +213,7 @@ EXAMPLES = '''
- name: configure RR client
nxos_bgp_neighbor_af:
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
route_reflector_client: true
@@ -225,7 +225,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["router bgp 65535", "neighbor 3.3.3.3",
+ sample: ["router bgp 65535", "neighbor 192.0.2.3",
"address-family ipv4 unicast", "route-reflector-client"]
'''
diff --git a/lib/ansible/modules/network/nxos/nxos_config.py b/lib/ansible/modules/network/nxos/nxos_config.py
index e67a93fc816..1da0c165a93 100644
--- a/lib/ansible/modules/network/nxos/nxos_config.py
+++ b/lib/ansible/modules/network/nxos/nxos_config.py
@@ -226,21 +226,21 @@ EXAMPLES = """
- nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: exact
- nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
replace: block
diff --git a/lib/ansible/modules/network/nxos/nxos_ntp.py b/lib/ansible/modules/network/nxos/nxos_ntp.py
index 3ba30576614..9bf83077acd 100644
--- a/lib/ansible/modules/network/nxos/nxos_ntp.py
+++ b/lib/ansible/modules/network/nxos/nxos_ntp.py
@@ -73,30 +73,30 @@ proposed:
description: k/v pairs of parameters passed into module
returned: always
type: dict
- sample: {"address": "2.2.2.2", "key_id": "48",
+ sample: {"address": "192.0.2.2", "key_id": "48",
"peer_type": "server", "prefer": "enabled",
- "source": "3.3.3.3", "source_type": "source"}
+ "source": "192.0.2.3", "source_type": "source"}
existing:
description:
- k/v pairs of existing ntp server/peer
returned: always
type: dict
- sample: {"address": "2.2.2.2", "key_id": "32",
+ sample: {"address": "192.0.2.2", "key_id": "32",
"peer_type": "server", "prefer": "enabled",
"source": "ethernet2/1", "source_type": "source-interface"}
end_state:
description: k/v pairs of ntp info after module execution
returned: always
type: dict
- sample: {"address": "2.2.2.2", "key_id": "48",
+ sample: {"address": "192.0.2.2", "key_id": "48",
"peer_type": "server", "prefer": "enabled",
- "source": "3.3.3.3", "source_type": "source"}
+ "source": "192.0.2.3", "source_type": "source"}
updates:
description: command sent to the device
returned: always
type: list
- sample: ["ntp server 2.2.2.2 prefer key 48",
- "no ntp source-interface ethernet2/1", "ntp source 3.3.3.3"]
+ sample: ["ntp server 192.0.2.2 prefer key 48",
+ "no ntp source-interface ethernet2/1", "ntp source 192.0.2.3"]
changed:
description: check to see if a change was made on the device
returned: always
diff --git a/lib/ansible/modules/network/nxos/nxos_pim_rp_address.py b/lib/ansible/modules/network/nxos/nxos_pim_rp_address.py
index cd6a69fbaa0..50c732a0c45 100644
--- a/lib/ansible/modules/network/nxos/nxos_pim_rp_address.py
+++ b/lib/ansible/modules/network/nxos/nxos_pim_rp_address.py
@@ -74,7 +74,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["router bgp 65535", "vrf test", "router-id 1.1.1.1"]
+ sample: ["router bgp 65535", "vrf test", "router-id 192.0.2.1"]
'''
diff --git a/lib/ansible/modules/network/nxos/nxos_snmp_host.py b/lib/ansible/modules/network/nxos/nxos_snmp_host.py
index acbbd65088b..35648b175f5 100644
--- a/lib/ansible/modules/network/nxos/nxos_snmp_host.py
+++ b/lib/ansible/modules/network/nxos/nxos_snmp_host.py
@@ -88,7 +88,7 @@ options:
EXAMPLES = '''
# ensure snmp host is configured
- nxos_snmp_host:
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
state: present
'''
@@ -98,7 +98,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["snmp-server host 3.3.3.3 filter-vrf another_test_vrf"]
+ sample: ["snmp-server host 192.0.2.3 filter-vrf another_test_vrf"]
'''
diff --git a/lib/ansible/modules/network/nxos/nxos_static_route.py b/lib/ansible/modules/network/nxos/nxos_static_route.py
index 8460996d7be..234e7452fd3 100644
--- a/lib/ansible/modules/network/nxos/nxos_static_route.py
+++ b/lib/ansible/modules/network/nxos/nxos_static_route.py
@@ -74,7 +74,7 @@ options:
EXAMPLES = '''
- nxos_static_route:
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
'''
@@ -84,7 +84,7 @@ commands:
description: commands sent to the device
returned: always
type: list
- sample: ["ip route 192.168.20.0/24 3.3.3.3 name testing 100"]
+ sample: ["ip route 192.168.20.0/24 192.0.2.3 name testing 100"]
'''
import re
from copy import deepcopy
diff --git a/lib/ansible/modules/network/system/net_logging.py b/lib/ansible/modules/network/system/net_logging.py
index 0f7f7fbdc24..45f328dd811 100644
--- a/lib/ansible/modules/network/system/net_logging.py
+++ b/lib/ansible/modules/network/system/net_logging.py
@@ -65,7 +65,7 @@ EXAMPLES = """
- name: configure host logging
net_logging:
dest: host
- name: 1.1.1.1
+ name: 192.0.2.1
facility: kernel
level: critical
diff --git a/test/integration/targets/asa_config/tests/cli/more_system.yaml b/test/integration/targets/asa_config/tests/cli/more_system.yaml
index a84fde29e3c..62a7b82a25e 100644
--- a/test/integration/targets/asa_config/tests/cli/more_system.yaml
+++ b/test/integration/targets/asa_config/tests/cli/more_system.yaml
@@ -4,21 +4,21 @@
- name: setup
asa_config:
lines:
- - "clear configure tunnel-group 1.1.1.1"
+ - "clear configure tunnel-group 192.0.2.1"
provider: "{{ cli }}"
ignore_errors: yes
- name: Prepare tunnel-group
asa_config:
- before: tunnel-group 1.1.1.1 type ipsec-l2l
+ before: tunnel-group 192.0.2.1 type ipsec-l2l
lines:
- - "tunnel-group 1.1.1.1 ipsec-attributes"
+ - "tunnel-group 192.0.2.1 ipsec-attributes"
provider: "{{ cli }}"
- name: Setup tunnel-group
asa_config:
- parents: tunnel-group 1.1.1.1 ipsec-attributes
+ parents: tunnel-group 192.0.2.1 ipsec-attributes
lines:
- "ikev1 pre-shared-key abc123"
passwords: yes
@@ -26,7 +26,7 @@
- name: Test idempotency
asa_config:
- parents: tunnel-group 1.1.1.1 ipsec-attributes
+ parents: tunnel-group 192.0.2.1 ipsec-attributes
lines:
- "ikev1 pre-shared-key abc123"
passwords: yes
@@ -40,7 +40,7 @@
- name: teardown
asa_config:
lines:
- - "clear configure tunnel-group 1.1.1.1"
+ - "clear configure tunnel-group 192.0.2.1"
provider: "{{ cli }}"
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml
index 9df119a4397..06c46b876b8 100644
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/dellos10_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -16,10 +16,10 @@
- name: configure sub level command using block resplace
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
parents: ['ip access-list test']
replace: block
after: ['exit']
@@ -30,18 +30,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any count byte' in result.updates"
- - "'seq 10 permit ip host 2.2.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 3.3.3.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any count byte' in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any count byte' in result.updates"
+ - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
+ - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any count byte' in result.updates"
- name: check sub level command using block replace
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
parents: ['ip access-list test']
replace: block
after: ['exit']
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml
index ad68ed1d1a4..abacafd501a 100644
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/dellos10_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
- - seq 25 permit ip host 5.5.5.5 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
+ - seq 25 permit ip host 192.0.2.5 any count byte
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
parents: ['ip access-list test']
after: ['exit']
match: exact
@@ -32,20 +32,20 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any count byte' in result.updates"
- - "'seq 10 permit ip host 2.2.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 3.3.3.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any count byte' in result.updates"
- - "'seq 25 permit ip host 5.5.5.5 any count byte' not in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any count byte' in result.updates"
+ - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
+ - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any count byte' in result.updates"
+ - "'seq 25 permit ip host 192.0.2.5 any count byte' not in result.updates"
- name: check sub level command using exact match
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
- - seq 25 permit ip host 5.5.5.5 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
+ - seq 25 permit ip host 192.0.2.5 any count byte
parents: ['ip access-list test']
after: ['exit']
match: exact
diff --git a/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml
index 5ce7d7ccba3..9b23c00ca89 100644
--- a/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/dellos10_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
- - seq 25 permit ip host 5.5.5.5 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
+ - seq 25 permit ip host 192.0.2.5 any count byte
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using strict match
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 20 permit ip host 4.4.4.4 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 20 permit ip host 192.0.2.4 any count byte
parents: ['ip access-list test']
match: strict
provider: "{{ cli }}"
@@ -34,9 +34,9 @@
- name: check sub level command using strict match
dellos10_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any count byte
- - seq 15 permit ip host 3.3.3.3 any count byte
- - seq 10 permit ip host 2.2.2.2 any count byte
+ - seq 5 permit ip host 192.0.2.1 any count byte
+ - seq 15 permit ip host 192.0.2.3 any count byte
+ - seq 10 permit ip host 192.0.2.2 any count byte
parents: ['ip access-list test']
after: ['exit']
match: strict
@@ -47,11 +47,11 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any count byte' not in result.updates"
- - "'seq 10 permit ip host 2.2.2.2 any count byte' in result.updates"
- - "'seq 15 permit ip host 3.3.3.3 any count byte' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any count byte' not in result.updates"
- - "'seq 25 permit ip host 5.5.5.5 any count byte' not in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any count byte' not in result.updates"
+ - "'seq 10 permit ip host 192.0.2.2 any count byte' in result.updates"
+ - "'seq 15 permit ip host 192.0.2.3 any count byte' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any count byte' not in result.updates"
+ - "'seq 25 permit ip host 192.0.2.5 any count byte' not in result.updates"
- name: teardown
dellos10_config:
diff --git a/test/integration/targets/dellos6_config/tests/cli/sublevel_block.yaml b/test/integration/targets/dellos6_config/tests/cli/sublevel_block.yaml
index 2b5a495fcf5..9b4f1d89070 100644
--- a/test/integration/targets/dellos6_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/dellos6_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
dellos6_config:
lines:
- - permit ip 1.1.1.1 0.0.0.0 any log
- - permit ip 2.2.2.2 0.0.0.0 any log
- - permit ip 3.3.3.3 0.0.0.0 any log
+ - permit ip 192.0.2.1 0.0.0.0 any log
+ - permit ip 192.0.2.2 0.0.0.0 any log
+ - permit ip 192.0.2.3 0.0.0.0 any log
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -16,10 +16,10 @@
- name: configure sub level command using block resplace
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 2.2.2.2 0.0.0.0 any log
- - 1020 permit ip 3.3.3.3 0.0.0.0 any log
- - 1030 permit ip 4.4.4.4 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.2 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1030 permit ip 192.0.2.4 0.0.0.0 any log
parents: ['ip access-list test']
replace: block
after: ['exit']
@@ -30,18 +30,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'1000 permit ip 1.1.1.1 0.0.0.0 any log' in result.updates"
- - "'1010 permit ip 2.2.2.2 0.0.0.0 any log' in result.updates"
- - "'1020 permit ip 3.3.3.3 0.0.0.0 any log' in result.updates"
- - "'1030 permit ip 4.4.4.4 0.0.0.0 any log' in result.updates"
+ - "'1000 permit ip 192.0.2.1 0.0.0.0 any log' in result.updates"
+ - "'1010 permit ip 192.0.2.2 0.0.0.0 any log' in result.updates"
+ - "'1020 permit ip 192.0.2.3 0.0.0.0 any log' in result.updates"
+ - "'1030 permit ip 192.0.2.4 0.0.0.0 any log' in result.updates"
- name: check sub level command using block replace
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 2.2.2.2 0.0.0.0 any log
- - 1020 permit ip 3.3.3.3 0.0.0.0 any log
- - 1030 permit ip 4.4.4.4 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.2 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1030 permit ip 192.0.2.4 0.0.0.0 any log
parents: ['ip access-list test']
replace: block
after: ['exit']
diff --git a/test/integration/targets/dellos6_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/dellos6_config/tests/cli/sublevel_exact.yaml
index 72f7334e43e..9a7bfe69713 100644
--- a/test/integration/targets/dellos6_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/dellos6_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos6_config:
lines:
- - permit ip 1.1.1.1 0.0.0.0 any log
- - permit ip 2.2.2.2 0.0.0.0 any log
- - permit ip 3.3.3.3 0.0.0.0 any log
- - permit ip 4.4.4.4 0.0.0.0 any log
- - permit ip 5.5.5.5 0.0.0.0 any log
+ - permit ip 192.0.2.1 0.0.0.0 any log
+ - permit ip 192.0.2.2 0.0.0.0 any log
+ - permit ip 192.0.2.3 0.0.0.0 any log
+ - permit ip 192.0.2.4 0.0.0.0 any log
+ - permit ip 192.0.2.5 0.0.0.0 any log
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 2.2.2.2 0.0.0.0 any log
- - 1020 permit ip 3.3.3.3 0.0.0.0 any log
- - 1030 permit ip 4.4.4.4 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.2 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1030 permit ip 192.0.2.4 0.0.0.0 any log
parents: ['ip access-list test']
after: ['exit']
match: exact
@@ -32,20 +32,20 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'1000 permit ip 1.1.1.1 0.0.0.0 any log' in result.updates"
- - "'1010 permit ip 2.2.2.2 0.0.0.0 any log' in result.updates"
- - "'1020 permit ip 3.3.3.3 0.0.0.0 any log' in result.updates"
- - "'1030 permit ip 4.4.4.4 0.0.0.0 any log' in result.updates"
- - "'1040 permit ip 5.5.5.5 0.0.0.0 any log' not in result.updates"
+ - "'1000 permit ip 192.0.2.1 0.0.0.0 any log' in result.updates"
+ - "'1010 permit ip 192.0.2.2 0.0.0.0 any log' in result.updates"
+ - "'1020 permit ip 192.0.2.3 0.0.0.0 any log' in result.updates"
+ - "'1030 permit ip 192.0.2.4 0.0.0.0 any log' in result.updates"
+ - "'1040 permit ip 192.0.2.5 0.0.0.0 any log' not in result.updates"
- name: check sub level command using exact match
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 2.2.2.2 0.0.0.0 any log
- - 1020 permit ip 3.3.3.3 0.0.0.0 any log
- - 1030 permit ip 4.4.4.4 0.0.0.0 any log
- - 1040 permit ip 5.5.5.5 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.2 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1030 permit ip 192.0.2.4 0.0.0.0 any log
+ - 1040 permit ip 192.0.2.5 0.0.0.0 any log
parents: ['ip access-list test']
after: ['exit']
match: exact
diff --git a/test/integration/targets/dellos6_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/dellos6_config/tests/cli/sublevel_strict.yaml
index cba9943ec52..b858a6085ad 100644
--- a/test/integration/targets/dellos6_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/dellos6_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos6_config:
lines:
- - permit ip 1.1.1.1 0.0.0.0 any log
- - permit ip 2.2.2.2 0.0.0.0 any log
- - permit ip 3.3.3.3 0.0.0.0 any log
- - permit ip 4.4.4.4 0.0.0.0 any log
- - permit ip 5.5.5.5 0.0.0.0 any log
+ - permit ip 192.0.2.1 0.0.0.0 any log
+ - permit ip 192.0.2.2 0.0.0.0 any log
+ - permit ip 192.0.2.3 0.0.0.0 any log
+ - permit ip 192.0.2.4 0.0.0.0 any log
+ - permit ip 192.0.2.5 0.0.0.0 any log
parents: ['ip access-list test']
before: ['no ip access-list test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using strict match
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 2.2.2.2 0.0.0.0 any log
- - 1020 permit ip 3.3.3.3 0.0.0.0 any log
- - 1030 permit ip 4.4.4.4 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.2 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1030 permit ip 192.0.2.4 0.0.0.0 any log
parents: ['ip access-list test']
match: strict
provider: "{{ cli }}"
@@ -34,9 +34,9 @@
- name: check sub level command using strict match
dellos6_config:
lines:
- - 1000 permit ip 1.1.1.1 0.0.0.0 any log
- - 1010 permit ip 3.3.3.3 0.0.0.0 any log
- - 1020 permit ip 2.2.2.2 0.0.0.0 any log
+ - 1000 permit ip 192.0.2.1 0.0.0.0 any log
+ - 1010 permit ip 192.0.2.3 0.0.0.0 any log
+ - 1020 permit ip 192.0.2.2 0.0.0.0 any log
parents: ['ip access-list test']
after: ['exit']
match: strict
@@ -47,11 +47,11 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'1000 permit ip 1.1.1.1 0.0.0.0 any log' not in result.updates"
- - "'1020 permit ip 2.2.2.2 0.0.0.0 any log' in result.updates"
- - "'1010 permit ip 3.3.3.3 0.0.0.0 any log' in result.updates"
- - "'1030 permit ip 4.4.4.4 0.0.0.0 any log' not in result.updates"
- - "'1040 permit ip 5.5.5.5 0.0.0.0 any log' not in result.updates"
+ - "'1000 permit ip 192.0.2.1 0.0.0.0 any log' not in result.updates"
+ - "'1020 permit ip 192.0.2.2 0.0.0.0 any log' in result.updates"
+ - "'1010 permit ip 192.0.2.3 0.0.0.0 any log' in result.updates"
+ - "'1030 permit ip 192.0.2.4 0.0.0.0 any log' not in result.updates"
+ - "'1040 permit ip 192.0.2.5 0.0.0.0 any log' not in result.updates"
- name: teardown
dellos6_config:
diff --git a/test/integration/targets/dellos9_config/tests/cli/sublevel_block.yaml b/test/integration/targets/dellos9_config/tests/cli/sublevel_block.yaml
index 267ec5bd351..f7b2983712d 100644
--- a/test/integration/targets/dellos9_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/dellos9_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
before: ['no ip access-list extended test']
after: ['exit']
@@ -16,10 +16,10 @@
- name: configure sub level command using block replace
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
replace: block
after: ['exit']
@@ -30,18 +30,18 @@
that:
- "result.changed == true"
- "'ip access-list extended test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5' in result.updates"
- name: check sub level command using block replace
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
replace: block
after: ['exit']
diff --git a/test/integration/targets/dellos9_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/dellos9_config/tests/cli/sublevel_exact.yaml
index d8797253c75..9c80d3f4995 100644
--- a/test/integration/targets/dellos9_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/dellos9_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
- - seq 25 permit ip host 5.5.5.5 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
+ - seq 25 permit ip host 192.0.2.5 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
before: ['no ip access-list extended test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
after: ['exit']
match: exact
@@ -32,20 +32,20 @@
that:
- "result.changed == true"
- "'ip access-list extended test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 25 permit ip host 5.5.5.5 any log threshold-in-msgs 10 interval 5' not in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 25 permit ip host 192.0.2.5 any log threshold-in-msgs 10 interval 5' not in result.updates"
- name: check sub level command using exact match
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
- - seq 25 permit ip host 5.5.5.5 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
+ - seq 25 permit ip host 192.0.2.5 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
after: ['exit']
match: exact
diff --git a/test/integration/targets/dellos9_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/dellos9_config/tests/cli/sublevel_strict.yaml
index 929f2b07ff3..3cca5ef875d 100644
--- a/test/integration/targets/dellos9_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/dellos9_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
- - seq 25 permit ip host 5.5.5.5 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
+ - seq 25 permit ip host 192.0.2.5 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
before: ['no ip access-list extended test']
after: ['exit']
@@ -18,10 +18,10 @@
- name: configure sub level command using strict match
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
match: strict
provider: "{{ cli }}"
@@ -34,9 +34,9 @@
- name: check sub level command using strict match
dellos9_config:
lines:
- - seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5
- - seq 10 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5
- - seq 15 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5
+ - seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5
+ - seq 10 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5
+ - seq 15 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5
parents: ['ip access-list extended test']
after: ['exit']
match: strict
@@ -47,11 +47,11 @@
that:
- "result.changed == true"
- "'ip access-list extended test' in result.updates"
- - "'seq 5 permit ip host 1.1.1.1 any log threshold-in-msgs 10 interval 5' not in result.updates"
- - "'seq 15 permit ip host 2.2.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 10 permit ip host 3.3.3.3 any log threshold-in-msgs 10 interval 5' in result.updates"
- - "'seq 20 permit ip host 4.4.4.4 any log threshold-in-msgs 10 interval 5' not in result.updates"
- - "'seq 25 permit ip host 5.5.5.5 any log threshold-in-msgs 10 interval 5' not in result.updates"
+ - "'seq 5 permit ip host 192.0.2.1 any log threshold-in-msgs 10 interval 5' not in result.updates"
+ - "'seq 15 permit ip host 192.0.2.2 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 10 permit ip host 192.0.2.3 any log threshold-in-msgs 10 interval 5' in result.updates"
+ - "'seq 20 permit ip host 192.0.2.4 any log threshold-in-msgs 10 interval 5' not in result.updates"
+ - "'seq 25 permit ip host 192.0.2.5 any log threshold-in-msgs 10 interval 5' not in result.updates"
- name: teardown
dellos9_config:
diff --git a/test/integration/targets/eos_config/tests/cli/sublevel_block.yaml b/test/integration/targets/eos_config/tests/cli/sublevel_block.yaml
index a647faa6d82..9fbd1412f60 100644
--- a/test/integration/targets/eos_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/eos_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -16,10 +16,10 @@
- name: configure sub level command using block resplace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
@@ -30,18 +30,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
- name: check sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
diff --git a/test/integration/targets/eos_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/eos_config/tests/cli/sublevel_exact.yaml
index e940d747393..5b733255da0 100644
--- a/test/integration/targets/eos_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/eos_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
- - 50 permit ip host 5.5.5.5 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
+ - 50 permit ip host 192.0.2.5 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -34,19 +34,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
- - "'50 permit ip host 5.5.5.5 any log' not in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
+ - "'50 permit ip host 192.0.2.5 any log' not in result.updates"
- name: check sub level command using exact match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
match: exact
become: yes
diff --git a/test/integration/targets/eos_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/eos_config/tests/cli/sublevel_strict.yaml
index 649af8cf1ab..be055f69e26 100644
--- a/test/integration/targets/eos_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/eos_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
- - 50 permit ip host 5.5.5.5 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
+ - 50 permit ip host 192.0.2.5 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -18,10 +18,10 @@
- name: configure sub level command using strict match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 3.3.3.3 any log
- - 30 permit ip host 2.2.2.2 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.3 any log
+ - 30 permit ip host 192.0.2.2 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -34,19 +34,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'30 permit ip host 2.2.2.2 any log' in result.updates"
- - "'20 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
- - "'50 permit ip host 5.5.5.5 any log' not in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
+ - "'50 permit ip host 192.0.2.5 any log' not in result.updates"
- name: check sub level command using strict match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 3.3.3.3 any log
- - 30 permit ip host 2.2.2.2 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.3 any log
+ - 30 permit ip host 192.0.2.2 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
match: strict
become: yes
diff --git a/test/integration/targets/eos_config/tests/eapi/sublevel_block.yaml b/test/integration/targets/eos_config/tests/eapi/sublevel_block.yaml
index 743b32627d1..e8a05dda0d2 100644
--- a/test/integration/targets/eos_config/tests/eapi/sublevel_block.yaml
+++ b/test/integration/targets/eos_config/tests/eapi/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
parents: ip access-list test
before: no ip access-list test
match: none
@@ -15,10 +15,10 @@
- name: configure sub level command using block resplace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
after: end
replace: block
@@ -29,18 +29,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
- name: check sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
become: yes
diff --git a/test/integration/targets/eos_config/tests/eapi/sublevel_exact.yaml b/test/integration/targets/eos_config/tests/eapi/sublevel_exact.yaml
index 73b50b987dd..048b41a32a3 100644
--- a/test/integration/targets/eos_config/tests/eapi/sublevel_exact.yaml
+++ b/test/integration/targets/eos_config/tests/eapi/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
- - 50 permit ip host 5.5.5.5 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
+ - 50 permit ip host 192.0.2.5 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -33,19 +33,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
- - "'50 permit ip host 5.5.5.5 any log' not in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
+ - "'50 permit ip host 192.0.2.5 any log' not in result.updates"
- name: check sub level command using exact match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
before: no ip access-list test
parents: ip access-list test
match: exact
diff --git a/test/integration/targets/eos_config/tests/eapi/sublevel_strict.yaml b/test/integration/targets/eos_config/tests/eapi/sublevel_strict.yaml
index 033f175b0db..cd88c16d953 100644
--- a/test/integration/targets/eos_config/tests/eapi/sublevel_strict.yaml
+++ b/test/integration/targets/eos_config/tests/eapi/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
- - 50 permit ip host 5.5.5.5 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
+ - 50 permit ip host 192.0.2.5 any log
parents: ip access-list test
before: no ip access-list test
match: none
@@ -17,10 +17,10 @@
- name: configure sub level command using strict match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 3.3.3.3 any log
- - 30 permit ip host 2.2.2.2 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.3 any log
+ - 30 permit ip host 192.0.2.2 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -33,19 +33,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'30 permit ip host 2.2.2.2 any log' in result.updates"
- - "'20 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
- - "'50 permit ip host 5.5.5.5 any log' not in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
+ - "'50 permit ip host 192.0.2.5 any log' not in result.updates"
- name: check sub level command using strict match
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 3.3.3.3 any log
- - 30 permit ip host 2.2.2.2 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.3 any log
+ - 30 permit ip host 192.0.2.2 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
match: strict
become: yes
diff --git a/test/integration/targets/eos_smoke/tests/cli/common_config.yaml b/test/integration/targets/eos_smoke/tests/cli/common_config.yaml
index 340e46c0a6a..e314b8a3d16 100644
--- a/test/integration/targets/eos_smoke/tests/cli/common_config.yaml
+++ b/test/integration/targets/eos_smoke/tests/cli/common_config.yaml
@@ -49,9 +49,9 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -62,10 +62,10 @@
- name: configure sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
@@ -78,18 +78,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
- name: check sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
diff --git a/test/integration/targets/eos_smoke/tests/eapi/common_config.yaml b/test/integration/targets/eos_smoke/tests/eapi/common_config.yaml
index 2c849e1e946..d9441ee1ead 100644
--- a/test/integration/targets/eos_smoke/tests/eapi/common_config.yaml
+++ b/test/integration/targets/eos_smoke/tests/eapi/common_config.yaml
@@ -49,9 +49,9 @@
- name: setup
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
parents: ip access-list test
before: no ip access-list test
after: exit
@@ -62,10 +62,10 @@
- name: configure sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
@@ -78,18 +78,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip host 1.1.1.1 any log' in result.updates"
- - "'20 permit ip host 2.2.2.2 any log' in result.updates"
- - "'30 permit ip host 3.3.3.3 any log' in result.updates"
- - "'40 permit ip host 4.4.4.4 any log' in result.updates"
+ - "'10 permit ip host 192.0.2.1 any log' in result.updates"
+ - "'20 permit ip host 192.0.2.2 any log' in result.updates"
+ - "'30 permit ip host 192.0.2.3 any log' in result.updates"
+ - "'40 permit ip host 192.0.2.4 any log' in result.updates"
- name: check sub level command using block replace
eos_config:
lines:
- - 10 permit ip host 1.1.1.1 any log
- - 20 permit ip host 2.2.2.2 any log
- - 30 permit ip host 3.3.3.3 any log
- - 40 permit ip host 4.4.4.4 any log
+ - 10 permit ip host 192.0.2.1 any log
+ - 20 permit ip host 192.0.2.2 any log
+ - 30 permit ip host 192.0.2.3 any log
+ - 40 permit ip host 192.0.2.4 any log
parents: ip access-list test
replace: block
after: exit
diff --git a/test/integration/targets/eos_system/tests/cli/set_name_servers.yaml b/test/integration/targets/eos_system/tests/cli/set_name_servers.yaml
index 80e1d8751e3..849e8c17577 100644
--- a/test/integration/targets/eos_system/tests/cli/set_name_servers.yaml
+++ b/test/integration/targets/eos_system/tests/cli/set_name_servers.yaml
@@ -12,9 +12,9 @@
- name: configure name_servers
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
become: yes
register: result
@@ -22,16 +22,16 @@
that:
- result.changed == true
- result.commands|length == 3
- - "'ip name-server 1.1.1.1' in result.commands"
- - "'ip name-server 2.2.2.2' in result.commands"
- - "'ip name-server 3.3.3.3' in result.commands"
+ - "'ip name-server 192.0.2.1' in result.commands"
+ - "'ip name-server 192.0.2.2' in result.commands"
+ - "'ip name-server 192.0.2.3' in result.commands"
- name: verify name_servers
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
become: yes
register: result
@@ -42,9 +42,9 @@
#- name: change to vrf
# eos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# become: yes
# register: result
@@ -52,15 +52,15 @@
# that:
# - result.changed == true
# - result.commands|length == 2
-# - "'no ip name-server 2.2.2.2' in result.commands"
-# - "'ip name-server 2.2.2.2 vrf ansible' in result.commands"
+# - "'no ip name-server 192.0.2.2' in result.commands"
+# - "'ip name-server 192.0.2.2 vrf ansible' in result.commands"
#- name: verify change to vrf
# eos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# become: yes
# register: result
#
@@ -71,8 +71,8 @@
- name: remove one
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
become: yes
register: result
@@ -80,7 +80,7 @@
that:
- result.changed == true
- result.commands|length == 1
- - "'no ip name-server 3.3.3.3' in result.commands"
+ - "'no ip name-server 192.0.2.3' in result.commands"
- name: teardown
eos_config:
diff --git a/test/integration/targets/eos_system/tests/eapi/set_name_servers.yaml b/test/integration/targets/eos_system/tests/eapi/set_name_servers.yaml
index 36a2c12dfc2..514e1c7a34a 100644
--- a/test/integration/targets/eos_system/tests/eapi/set_name_servers.yaml
+++ b/test/integration/targets/eos_system/tests/eapi/set_name_servers.yaml
@@ -12,9 +12,9 @@
- name: configure name_servers
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
become: yes
register: result
@@ -22,16 +22,16 @@
that:
- result.changed == true
- result.commands|length == 3
- - "'ip name-server 1.1.1.1' in result.commands"
- - "'ip name-server 2.2.2.2' in result.commands"
- - "'ip name-server 3.3.3.3' in result.commands"
+ - "'ip name-server 192.0.2.1' in result.commands"
+ - "'ip name-server 192.0.2.2' in result.commands"
+ - "'ip name-server 192.0.2.3' in result.commands"
- name: verify name_servers
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
become: yes
register: result
@@ -42,9 +42,9 @@
#- name: change to vrf
# eos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# become: yes
# register: result
@@ -52,15 +52,15 @@
# that:
# - result.changed == true
# - result.commands|length == 2
-# - "'no ip name-server 2.2.2.2' in result.commands"
-# - "'ip name-server 2.2.2.2 vrf ansible' in result.commands"
+# - "'no ip name-server 192.0.2.2' in result.commands"
+# - "'ip name-server 192.0.2.2 vrf ansible' in result.commands"
#- name: verify change to vrf
# eos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# become: yes
# register: result
#
@@ -71,8 +71,8 @@
- name: remove one
eos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
become: yes
register: result
@@ -80,7 +80,7 @@
that:
- result.changed == true
- result.commands|length == 1
- - "'no ip name-server 3.3.3.3' in result.commands"
+ - "'no ip name-server 192.0.2.3' in result.commands"
- name: teardown
eos_config:
diff --git a/test/integration/targets/ios_config/tests/cli/sublevel_block.yaml b/test/integration/targets/ios_config/tests/cli/sublevel_block.yaml
index 92704624cd1..19e5ea942e3 100644
--- a/test/integration/targets/ios_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/ios_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
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']
@@ -16,10 +16,10 @@
- name: configure sub level command using block resplace
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']
@@ -30,18 +30,18 @@
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: check sub level command using block replace
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']
diff --git a/test/integration/targets/ios_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/ios_config/tests/cli/sublevel_exact.yaml
index 91541280db5..3d3a0ba20d2 100644
--- a/test/integration/targets/ios_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/ios_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
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 5.5.5.5 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
+ - permit ip host 192.0.2.5 any log
parents: ip access-list extended test
before: no ip access-list extended test
after: exit
@@ -18,10 +18,10 @@
- name: configure sub level command using exact match
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
before: no ip access-list extended test
after: exit
@@ -33,19 +33,19 @@
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 5.5.5.5 any log' not 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"
+ - "'permit ip host 192.0.2.5 any log' not in result.updates"
- name: check sub level command using exact match
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
match: exact
provider: "{{ cli }}"
diff --git a/test/integration/targets/ios_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/ios_config/tests/cli/sublevel_strict.yaml
index a2fb69abed7..c42f9932d45 100644
--- a/test/integration/targets/ios_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/ios_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
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 5.5.5.5 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
+ - permit ip host 192.0.2.5 any log
parents: ip access-list extended test
before: no ip access-list extended test
match: none
@@ -17,10 +17,10 @@
- name: configure sub level command using strict match
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
match: strict
provider: "{{ cli }}"
@@ -33,9 +33,9 @@
- name: check sub level command using strict match
ios_config:
lines:
- - permit ip host 1.1.1.1 any log
- - permit ip host 3.3.3.3 any log
- - permit ip host 2.2.2.2 any log
+ - permit ip host 192.0.2.1 any log
+ - permit ip host 192.0.2.3 any log
+ - permit ip host 192.0.2.2 any log
parents: ip access-list extended test
after: exit
match: strict
@@ -46,11 +46,11 @@
that:
- "result.changed == true"
- "'ip access-list extended test' in result.updates"
- - "'permit ip host 1.1.1.1 any log' not 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' not in result.updates"
- - "'permit ip host 5.5.5.5 any log' not in result.updates"
+ - "'permit ip host 192.0.2.1 any log' not 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' not in result.updates"
+ - "'permit ip host 192.0.2.5 any log' not in result.updates"
- name: teardown
ios_config:
diff --git a/test/integration/targets/ios_smoke/tests/cli/common_config.yaml b/test/integration/targets/ios_smoke/tests/cli/common_config.yaml
index 67433a923c5..1870ee0e29b 100644
--- a/test/integration/targets/ios_smoke/tests/cli/common_config.yaml
+++ b/test/integration/targets/ios_smoke/tests/cli/common_config.yaml
@@ -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:
diff --git a/test/integration/targets/ios_system/tests/cli/set_name_servers.yaml b/test/integration/targets/ios_system/tests/cli/set_name_servers.yaml
index fa8ef369b91..5dcc32ed1f9 100644
--- a/test/integration/targets/ios_system/tests/cli/set_name_servers.yaml
+++ b/test/integration/targets/ios_system/tests/cli/set_name_servers.yaml
@@ -11,9 +11,9 @@
- name: configure name_servers
ios_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ cli }}"
register: result
@@ -21,16 +21,16 @@
that:
- result.changed == true
- result.commands|length == 3
- - "'ip name-server 1.1.1.1' in result.commands"
- - "'ip name-server 2.2.2.2' in result.commands"
- - "'ip name-server 3.3.3.3' in result.commands"
+ - "'ip name-server 192.0.2.1' in result.commands"
+ - "'ip name-server 192.0.2.2' in result.commands"
+ - "'ip name-server 192.0.2.3' in result.commands"
- name: verify name_servers
ios_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ cli }}"
register: result
@@ -41,9 +41,9 @@
#- name: change to vrf
# ios_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# provider: "{{ cli }}"
# register: result
@@ -51,15 +51,15 @@
# that:
# - result.changed == true
# - result.commands|length == 2
-# - "'no ip name-server 2.2.2.2' in result.commands"
-# - "'ip name-server 2.2.2.2 vrf ansible' in result.commands"
+# - "'no ip name-server 192.0.2.2' in result.commands"
+# - "'ip name-server 192.0.2.2 vrf ansible' in result.commands"
#- name: verify change to vrf
# ios_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# provider: "{{ cli }}"
# register: result
#
@@ -70,8 +70,8 @@
- name: remove one
ios_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
provider: "{{ cli }}"
register: result
@@ -79,7 +79,7 @@
that:
- result.changed == true
- result.commands|length == 1
- - "'no ip name-server 3.3.3.3' in result.commands"
+ - "'no ip name-server 192.0.2.3' in result.commands"
- name: teardown
ios_config:
diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml
index 88b5e76e999..ddd429617bf 100644
--- a/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml
+++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_block.yaml
@@ -4,9 +4,9 @@
- name: setup
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
parents: ['ipv4 access-list test']
before: ['no ipv4 access-list test']
match: none
@@ -14,10 +14,10 @@
- name: configure sub level command using block resplace
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
replace: block
register: result
@@ -26,18 +26,18 @@
that:
- "result.changed == true"
- "'ipv4 access-list test' in result.commands"
- - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands"
- - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands"
- - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands"
- - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands"
+ - "'10 permit ipv4 host 192.0.2.1 any log' in result.commands"
+ - "'20 permit ipv4 host 192.0.2.2 any log' in result.commands"
+ - "'30 permit ipv4 host 192.0.2.3 any log' in result.commands"
+ - "'40 permit ipv4 host 192.0.2.4 any log' in result.commands"
- name: check sub level command using block replace
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
replace: block
register: result
diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml
index 8c031b50ec3..9868b933a47 100644
--- a/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
- - 50 permit ipv4 host 5.5.5.5 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
+ - 50 permit ipv4 host 192.0.2.5 any log
parents: ['ipv4 access-list test']
before: ['no ipv4 access-list test']
match: none
@@ -16,10 +16,10 @@
- name: configure sub level command using exact match
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
match: exact
register: result
@@ -28,20 +28,20 @@
that:
- "result.changed == true"
- "'ipv4 access-list test' in result.commands"
- - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands"
- - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands"
- - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands"
- - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands"
- - "'50 permit ipv4 host 5.5.5.5 any log' not in result.commands"
+ - "'10 permit ipv4 host 192.0.2.1 any log' in result.commands"
+ - "'20 permit ipv4 host 192.0.2.2 any log' in result.commands"
+ - "'30 permit ipv4 host 192.0.2.3 any log' in result.commands"
+ - "'40 permit ipv4 host 192.0.2.4 any log' in result.commands"
+ - "'50 permit ipv4 host 192.0.2.5 any log' not in result.commands"
- name: check sub level command using exact match
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
- - 50 permit ipv4 host 5.5.5.5 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
+ - 50 permit ipv4 host 192.0.2.5 any log
parents: ['ipv4 access-list test']
match: exact
register: result
diff --git a/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml
index 801fb603752..2c3c8651892 100644
--- a/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/iosxr_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 3.3.3.3 any log
- - 30 permit ipv4 host 2.2.2.2 any log
- - 40 permit ipv4 host 4.4.4.4 any log
- - 50 permit ipv4 host 5.5.5.5 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.3 any log
+ - 30 permit ipv4 host 192.0.2.2 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
+ - 50 permit ipv4 host 192.0.2.5 any log
parents: ['ipv4 access-list test']
before: ['no ipv4 access-list test']
match: none
@@ -16,10 +16,10 @@
- name: configure sub level command using strict match
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
before: ['no ipv4 access-list test']
match: strict
@@ -30,19 +30,19 @@
that:
- "result.changed == true"
- "'ipv4 access-list test' in result.commands"
- - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands"
- - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands"
- - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands"
- - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands"
- - "'50 permit ipv4 host 5.5.5.5 any log' not in result.commands"
+ - "'10 permit ipv4 host 192.0.2.1 any log' in result.commands"
+ - "'20 permit ipv4 host 192.0.2.2 any log' in result.commands"
+ - "'30 permit ipv4 host 192.0.2.3 any log' in result.commands"
+ - "'40 permit ipv4 host 192.0.2.4 any log' in result.commands"
+ - "'50 permit ipv4 host 192.0.2.5 any log' not in result.commands"
- name: check sub level command using strict match
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
match: strict
register: result
diff --git a/test/integration/targets/iosxr_smoke/tests/cli/common_config.yaml b/test/integration/targets/iosxr_smoke/tests/cli/common_config.yaml
index d77a4246e12..fc5ba99abb7 100644
--- a/test/integration/targets/iosxr_smoke/tests/cli/common_config.yaml
+++ b/test/integration/targets/iosxr_smoke/tests/cli/common_config.yaml
@@ -5,9 +5,9 @@
- name: setup
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
parents: ['ipv4 access-list test']
before: ['no ipv4 access-list test']
match: none
@@ -15,10 +15,10 @@
- name: configure sub level command using block resplace
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
replace: block
register: result
@@ -27,18 +27,18 @@
that:
- "result.changed == true"
- "'ipv4 access-list test' in result.commands"
- - "'10 permit ipv4 host 1.1.1.1 any log' in result.commands"
- - "'20 permit ipv4 host 2.2.2.2 any log' in result.commands"
- - "'30 permit ipv4 host 3.3.3.3 any log' in result.commands"
- - "'40 permit ipv4 host 4.4.4.4 any log' in result.commands"
+ - "'10 permit ipv4 host 192.0.2.1 any log' in result.commands"
+ - "'20 permit ipv4 host 192.0.2.2 any log' in result.commands"
+ - "'30 permit ipv4 host 192.0.2.3 any log' in result.commands"
+ - "'40 permit ipv4 host 192.0.2.4 any log' in result.commands"
- name: check sub level command using block replace
iosxr_config:
commands:
- - 10 permit ipv4 host 1.1.1.1 any log
- - 20 permit ipv4 host 2.2.2.2 any log
- - 30 permit ipv4 host 3.3.3.3 any log
- - 40 permit ipv4 host 4.4.4.4 any log
+ - 10 permit ipv4 host 192.0.2.1 any log
+ - 20 permit ipv4 host 192.0.2.2 any log
+ - 30 permit ipv4 host 192.0.2.3 any log
+ - 40 permit ipv4 host 192.0.2.4 any log
parents: ['ipv4 access-list test']
replace: block
register: result
diff --git a/test/integration/targets/iosxr_system/tests/cli/set_name_servers.yaml b/test/integration/targets/iosxr_system/tests/cli/set_name_servers.yaml
index 305ca4ef0a9..0a9e7999bb1 100644
--- a/test/integration/targets/iosxr_system/tests/cli/set_name_servers.yaml
+++ b/test/integration/targets/iosxr_system/tests/cli/set_name_servers.yaml
@@ -4,18 +4,18 @@
- name: setup
iosxr_config:
lines:
- - no ip name-server 1.1.1.1
- - no ip name-server 2.2.2.2
- - no ip name-server 3.3.3.3
+ - no ip name-server 192.0.2.1
+ - no ip name-server 192.0.2.2
+ - no ip name-server 192.0.2.3
match: none
provider: "{{ cli }}"
- name: configure name_servers
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ cli }}"
register: result
@@ -23,16 +23,16 @@
that:
- result.changed == true
- result.commands|length == 3
- - "'domain name-server 1.1.1.1' in result.commands"
- - "'domain name-server 2.2.2.2' in result.commands"
- - "'domain name-server 3.3.3.3' in result.commands"
+ - "'domain name-server 192.0.2.1' in result.commands"
+ - "'domain name-server 192.0.2.2' in result.commands"
+ - "'domain name-server 192.0.2.3' in result.commands"
- name: verify name_servers
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ cli }}"
register: result
@@ -43,8 +43,8 @@
- name: remove one
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
provider: "{{ cli }}"
register: result
@@ -52,13 +52,13 @@
that:
- result.changed == true
- result.commands|length == 1
- - "'no domain name-server 3.3.3.3' in result.commands"
+ - "'no domain name-server 192.0.2.3' in result.commands"
- name: setup
iosxr_config:
lines:
- - no ip name-server 1.1.1.1
- - no ip name-server 2.2.2.2
+ - no ip name-server 192.0.2.1
+ - no ip name-server 192.0.2.2
match: none
provider: "{{ cli }}"
diff --git a/test/integration/targets/iosxr_system/tests/netconf/set_name_servers.yaml b/test/integration/targets/iosxr_system/tests/netconf/set_name_servers.yaml
index f20ed08e52a..3dd9796439a 100644
--- a/test/integration/targets/iosxr_system/tests/netconf/set_name_servers.yaml
+++ b/test/integration/targets/iosxr_system/tests/netconf/set_name_servers.yaml
@@ -5,9 +5,9 @@
- name: setup
iosxr_config:
lines:
- - no domain name-server 1.1.1.1
- - no domain name-server 2.2.2.2
- - no domain name-server 3.3.3.3
+ - no domain name-server 192.0.2.1
+ - no domain name-server 192.0.2.2
+ - no domain name-server 192.0.2.3
match: none
provider: "{{ cli }}"
connection: network_cli
@@ -16,9 +16,9 @@
iosxr_system:
vrf: ansible
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ netconf }}"
state: absent
connection: netconf
@@ -28,9 +28,9 @@
- name: configure name_servers
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ netconf }}"
connection: netconf
register: result
@@ -39,16 +39,16 @@
that:
- result.changed == true
- result.xml|length == 1
- - "'1.1.1.1' in result.xml[0]"
- - "'2.2.2.2' in result.xml[0]"
- - "'3.3.3.3' in result.xml[0]"
+ - "'192.0.2.1' in result.xml[0]"
+ - "'192.0.2.2' in result.xml[0]"
+ - "'192.0.2.3' in result.xml[0]"
- name: verify name_servers
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ netconf }}"
connection: netconf
register: result
@@ -61,9 +61,9 @@
iosxr_system: &addvrf
vrf: ansible
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
provider: "{{ netconf }}"
connection: netconf
register: result
@@ -73,9 +73,9 @@
- result.changed == true
- result.xml|length == 1
- "'ansible' in result.xml[0]"
- - "'1.1.1.1' in result.xml[0]"
- - "'2.2.2.2' in result.xml[0]"
- - "'3.3.3.3' in result.xml[0]"
+ - "'192.0.2.1' in result.xml[0]"
+ - "'192.0.2.2' in result.xml[0]"
+ - "'192.0.2.3' in result.xml[0]"
- name: verify change to vrf
iosxr_system: *addvrf
@@ -89,8 +89,8 @@
- name: remove one
iosxr_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
provider: "{{ netconf }}"
connection: netconf
register: result
@@ -99,14 +99,14 @@
that:
- result.changed == true
- result.xml|length == 1
- - "'3.3.3.3' in result.xml[0]"
+ - "'192.0.2.3' in result.xml[0]"
- name: remove one with vrf
iosxr_system:
vrf: ansible
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
provider: "{{ netconf }}"
connection: netconf
ignore_errors: True
@@ -115,8 +115,8 @@
- name: teardown
iosxr_config:
lines:
- - no domain name-server 1.1.1.1
- - no domain name-server 2.2.2.2
+ - no domain name-server 192.0.2.1
+ - no domain name-server 192.0.2.2
match: none
provider: "{{ cli }}"
connection: network_cli
@@ -125,8 +125,8 @@
iosxr_system:
vrf: ansible
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
provider: "{{ netconf }}"
state: absent
connection: netconf
diff --git a/test/integration/targets/junos_config/tests/netconf/multiple.yaml b/test/integration/targets/junos_config/tests/netconf/multiple.yaml
index 385898f776e..1b59e580c37 100644
--- a/test/integration/targets/junos_config/tests/netconf/multiple.yaml
+++ b/test/integration/targets/junos_config/tests/netconf/multiple.yaml
@@ -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
diff --git a/test/integration/targets/junos_config/tests/netconf/src_basic.yaml b/test/integration/targets/junos_config/tests/netconf/src_basic.yaml
index 52aaa91211f..59a80890b67 100644
--- a/test/integration/targets/junos_config/tests/netconf/src_basic.yaml
+++ b/test/integration/targets/junos_config/tests/netconf/src_basic.yaml
@@ -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:
diff --git a/test/integration/targets/junos_l3_interface/tests/netconf/basic.yaml b/test/integration/targets/junos_l3_interface/tests/netconf/basic.yaml
index 4993db0f3c0..672fda6b785 100644
--- a/test/integration/targets/junos_l3_interface/tests/netconf/basic.yaml
+++ b/test/integration/targets/junos_l3_interface/tests/netconf/basic.yaml
@@ -4,7 +4,7 @@
- name: setup - remove interface address
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -12,7 +12,7 @@
- name: Configure interface address
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
provider: "{{ netconf }}"
@@ -27,15 +27,15 @@
- assert:
that:
- "result.changed == true"
- - "'1.1.1.1/32' in config.xml"
+ - "'192.0.2.1/32' in config.xml"
- "'fd5d:12c9:2201:1::1/128' in config.xml"
- - result.diff.prepared is search("\+ *address 1.1.1.1/32")
+ - result.diff.prepared is search("\+ *address 192.0.2.1/32")
- result.diff.prepared is search("\+ *address fd5d:12c9:2201:1::1/128")
- name: Configure interface address (idempotent)
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
provider: "{{ netconf }}"
@@ -48,7 +48,7 @@
- name: Deactivate interface address
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
active: False
@@ -65,13 +65,13 @@
that:
- "result.changed == true"
- "'
' in config.xml"
- - result.diff.prepared is search("! *inactive[:] address 1.1.1.1/32")
+ - result.diff.prepared is search("! *inactive[:] address 192.0.2.1/32")
- result.diff.prepared is search("! *inactive[:] address fd5d:12c9:2201:1::1/128")
- name: Activate interface address
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
active: True
@@ -81,13 +81,13 @@
- assert:
that:
- "result.changed == true"
- - result.diff.prepared is search("! *active[:] address 1.1.1.1/32")
+ - result.diff.prepared is search("! *active[:] address 192.0.2.1/32")
- result.diff.prepared is search("! *active[:] address fd5d:12c9:2201:1::1/128")
- name: Delete interface address
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -95,13 +95,13 @@
- assert:
that:
- - result.diff.prepared is search("\- *address 1.1.1.1/32")
+ - result.diff.prepared is search("\- *address 192.0.2.1/32")
- result.diff.prepared is search("\- *address fd5d:12c9:2201:1::1/128")
- name: Delete interface address (idempotent)
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -114,7 +114,7 @@
- name: Aggregate setup- delete interface ge-0/0/1
junos_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -123,7 +123,7 @@
- name: Aggregate setup- delete interface ge-0/0/2
junos_l3_interface:
name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
state: absent
provider: "{{ netconf }}"
@@ -133,10 +133,10 @@
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
provider: "{{ netconf }}"
register: result
@@ -145,11 +145,11 @@
that:
- 'result.changed == true'
- "'edit interfaces ge-0/0/1 unit 0 family inet' in result.diff.prepared"
- - result.diff.prepared is search("\+ *address 1.1.1.1/32")
+ - result.diff.prepared is search("\+ *address 192.0.2.1/32")
- "'edit interfaces ge-0/0/1 unit 0 family inet6' in result.diff.prepared"
- result.diff.prepared is search("\+ *address fd5d:12c9:2201:1::1/128")
- "'edit interfaces ge-0/0/2 unit 0 family inet' in result.diff.prepared"
- - result.diff.prepared is search("\+ *address 2.2.2.2/32")
+ - result.diff.prepared is search("\+ *address 192.0.2.2/32")
- "'edit interfaces ge-0/0/2 unit 0 family inet6' in result.diff.prepared"
- result.diff.prepared is search("\+ *address fd5d:12c9:2201:2::2/128")
@@ -157,10 +157,10 @@
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
active: True
provider: "{{ netconf }}"
@@ -174,10 +174,10 @@
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
active: False
provider: "{{ netconf }}"
@@ -186,19 +186,19 @@
- assert:
that:
- 'result.changed == true'
- - result.diff.prepared is search("! *inactive[:] address 1.1.1.1/32")
+ - result.diff.prepared is search("! *inactive[:] address 192.0.2.1/32")
- result.diff.prepared is search("! *inactive[:] address fd5d:12c9:2201:1::1/128")
- - result.diff.prepared is search("! *inactive[:] address 2.2.2.2/32")
+ - result.diff.prepared is search("! *inactive[:] address 192.0.2.2/32")
- result.diff.prepared is search("! *inactive[:] address fd5d:12c9:2201:2::2/128")
- name: Activate l3 interface configuration
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
active: True
provider: "{{ netconf }}"
@@ -207,19 +207,19 @@
- assert:
that:
- 'result.changed == true'
- - result.diff.prepared is search("! *active[:] address 1.1.1.1/32")
+ - result.diff.prepared is search("! *active[:] address 192.0.2.1/32")
- result.diff.prepared is search("! *active[:] address fd5d:12c9:2201:1::1/128")
- - result.diff.prepared is search("! *active[:] address 2.2.2.2/32")
+ - result.diff.prepared is search("! *active[:] address 192.0.2.2/32")
- result.diff.prepared is search("! *active[:] address fd5d:12c9:2201:2::2/128")
- name: Delete l3 interface configuration
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
state: absent
provider: "{{ netconf }}"
@@ -229,11 +229,11 @@
that:
- 'result.changed == true'
- "'edit interfaces ge-0/0/1 unit 0 family inet' in result.diff.prepared"
- - result.diff.prepared is search("\- *address 1.1.1.1/32")
+ - result.diff.prepared is search("\- *address 192.0.2.1/32")
- "'edit interfaces ge-0/0/1 unit 0 family inet6' in result.diff.prepared"
- result.diff.prepared is search("\- *address fd5d:12c9:2201:1::1/128")
- "'edit interfaces ge-0/0/2 unit 0 family inet' in result.diff.prepared"
- - result.diff.prepared is search("\- *address 2.2.2.2/32")
+ - result.diff.prepared is search("\- *address 192.0.2.2/32")
- "'edit interfaces ge-0/0/2 unit 0 family inet6' in result.diff.prepared"
- result.diff.prepared is search("\- *address fd5d:12c9:2201:2::2/128")
@@ -241,10 +241,10 @@
junos_l3_interface:
aggregate:
- name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
- name: ge-0/0/2
- ipv4: 2.2.2.2
+ ipv4: 192.0.2.2
ipv6: fd5d:12c9:2201:2::2
state: absent
provider: "{{ netconf }}"
diff --git a/test/integration/targets/junos_l3_interface/tests/netconf/net_l3_interface.yaml b/test/integration/targets/junos_l3_interface/tests/netconf/net_l3_interface.yaml
index 80c6d30f557..7897d18c963 100644
--- a/test/integration/targets/junos_l3_interface/tests/netconf/net_l3_interface.yaml
+++ b/test/integration/targets/junos_l3_interface/tests/netconf/net_l3_interface.yaml
@@ -7,7 +7,7 @@
- name: setup - remove interface address
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -15,7 +15,7 @@
- name: Configure interface address using platform agnostic module
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
provider: "{{ netconf }}"
@@ -30,15 +30,15 @@
- assert:
that:
- "result.changed == true"
- - "'1.1.1.1/32' in config.xml"
+ - "'192.0.2.1/32' in config.xml"
- "'fd5d:12c9:2201:1::1/128' in config.xml"
- - result.diff.prepared is search("\+ *address 1.1.1.1/32")
+ - result.diff.prepared is search("\+ *address 192.0.2.1/32")
- result.diff.prepared is search("\+ *address fd5d:12c9:2201:1::1/128")
- name: teardown - remove interface address
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
diff --git a/test/integration/targets/junos_smoke/tests/netconf/module_utils_junos.yaml b/test/integration/targets/junos_smoke/tests/netconf/module_utils_junos.yaml
index 93769685847..4f12ac01017 100644
--- a/test/integration/targets/junos_smoke/tests/netconf/module_utils_junos.yaml
+++ b/test/integration/targets/junos_smoke/tests/netconf/module_utils_junos.yaml
@@ -62,7 +62,7 @@
- name: setup - remove interface address
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
@@ -70,7 +70,7 @@
- name: Configure interface address using platform agnostic module
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: present
provider: "{{ netconf }}"
@@ -85,15 +85,15 @@
- assert:
that:
- "result.changed == true"
- - "'1.1.1.1/32' in config.xml"
+ - "'192.0.2.1/32' in config.xml"
- "'fd5d:12c9:2201:1::1/128' in config.xml"
- - result.diff.prepared is search("\+ *address 1.1.1.1/32")
+ - result.diff.prepared is search("\+ *address 192.0.2.1/32")
- result.diff.prepared is search("\+ *address fd5d:12c9:2201:1::1/128")
- name: teardown - remove interface address
net_l3_interface:
name: ge-0/0/1
- ipv4: 1.1.1.1
+ ipv4: 192.0.2.1
ipv6: fd5d:12c9:2201:1::1
state: absent
provider: "{{ netconf }}"
diff --git a/test/integration/targets/junos_vrf/tests/netconf/basic.yaml b/test/integration/targets/junos_vrf/tests/netconf/basic.yaml
index 71bc3d98070..3d7fccecf7a 100644
--- a/test/integration/targets/junos_vrf/tests/netconf/basic.yaml
+++ b/test/integration/targets/junos_vrf/tests/netconf/basic.yaml
@@ -14,7 +14,7 @@
interfaces:
- ge-0/0/6
- ge-0/0/5
- rd: 3.3.3.3:10
+ rd: 192.0.2.3:10
target: target:65513:111
state: present
provider: "{{ netconf }}"
@@ -28,7 +28,7 @@
- result.diff.prepared is search("\+ *instance-type vrf")
- result.diff.prepared is search("\+ *interface ge-0/0/5.0")
- result.diff.prepared is search("\+ *interface ge-0/0/6.0")
- - result.diff.prepared is search("\+ *route-distinguisher 3.3.3.3:10")
+ - result.diff.prepared is search("\+ *route-distinguisher 192.0.2.3:10")
- result.diff.prepared is search("\+ *vrf-target target:65513:111")
- name: Configure vrf and its parameter (idempotent)
@@ -38,7 +38,7 @@
interfaces:
- ge-0/0/6
- ge-0/0/5
- rd: 3.3.3.3:10
+ rd: 192.0.2.3:10
target: target:65513:111
state: present
provider: "{{ netconf }}"
@@ -55,7 +55,7 @@
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
provider: "{{ netconf }}"
@@ -68,7 +68,7 @@
- result.diff.prepared is search("\+ *interface ge-0/0/2.0")
- result.diff.prepared is search("\+ *interface ge-0/0/3.0")
- "'[edit routing-instances test-1]' in result.diff.prepared"
- - result.diff.prepared is search("\+ *route-distinguisher 1.1.1.1:10")
+ - result.diff.prepared is search("\+ *route-distinguisher 192.0.2.1:10")
- result.diff.prepared is search("\+ *vrf-target target:65514:113")
- name: Deactivate vrf
@@ -78,7 +78,7 @@
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
active: False
@@ -104,7 +104,7 @@
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
active: True
@@ -130,7 +130,7 @@
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
provider: "{{ netconf }}"
@@ -144,7 +144,7 @@
- result.diff.prepared is search("\- *instance-type vrf")
- result.diff.prepared is search("\- *interface ge-0/0/2.0")
- result.diff.prepared is search("\- *interface ge-0/0/3.0")
- - result.diff.prepared is search("\- *route-distinguisher 1.1.1.1:10")
+ - result.diff.prepared is search("\- *route-distinguisher 192.0.2.1:10")
- result.diff.prepared is search("\- *vrf-target target:65514:113")
- name: Delete vrf (idempotent)
@@ -154,7 +154,7 @@
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
provider: "{{ netconf }}"
@@ -181,14 +181,14 @@
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
provider: "{{ netconf }}"
register: result
@@ -201,14 +201,14 @@
- result.diff.prepared is search("\+ *instance-type vrf")
- result.diff.prepared is search("\+ *interface ge-0/0/2.0")
- result.diff.prepared is search("\+ *interface ge-0/0/3.0")
- - result.diff.prepared is search("\+ *route-distinguisher 1.1.1.1:10")
+ - result.diff.prepared is search("\+ *route-distinguisher 192.0.2.1:10")
- result.diff.prepared is search("\+ *vrf-target target:65514:113")
- result.diff.prepared is search("\+ *test-2")
- result.diff.prepared is search("\+ *description test-vrf-2")
- result.diff.prepared is search("\+ *instance-type vrf")
- result.diff.prepared is search("\+ *interface ge-0/0/4.0")
- result.diff.prepared is search("\+ *interface ge-0/0/5.0")
- - result.diff.prepared is search("\+ *route-distinguisher 2.2.2.2:10")
+ - result.diff.prepared is search("\+ *route-distinguisher 192.0.2.2:10")
- result.diff.prepared is search("\+ *vrf-target target:65515:114")
- name: Deactivate vrf configuration using aggregate
@@ -219,14 +219,14 @@
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
active: False
provider: "{{ netconf }}"
@@ -254,14 +254,14 @@
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
active: True
provider: "{{ netconf }}"
@@ -298,14 +298,14 @@
- result.diff.prepared is search("\- *instance-type vrf")
- result.diff.prepared is search("\- *interface ge-0/0/2.0")
- result.diff.prepared is search("\- *interface ge-0/0/3.0")
- - result.diff.prepared is search("\- *route-distinguisher 1.1.1.1:10")
+ - result.diff.prepared is search("\- *route-distinguisher 192.0.2.1:10")
- result.diff.prepared is search("\- *vrf-target target:65514:113")
- result.diff.prepared is search("\- *test-2")
- result.diff.prepared is search("\- *description test-vrf-2")
- result.diff.prepared is search("\- *instance-type vrf")
- result.diff.prepared is search("\- *interface ge-0/0/4.0")
- result.diff.prepared is search("\- *interface ge-0/0/5.0")
- - result.diff.prepared is search("\- *route-distinguisher 2.2.2.2:10")
+ - result.diff.prepared is search("\- *route-distinguisher 192.0.2.2:10")
- result.diff.prepared is search("\- *vrf-target target:65515:114")
- name: Delete vrf configuration using aggregate (idempotent)
diff --git a/test/integration/targets/junos_vrf/tests/netconf/net_vrf.yaml b/test/integration/targets/junos_vrf/tests/netconf/net_vrf.yaml
index c6f3cdb8587..c8a6897f03f 100644
--- a/test/integration/targets/junos_vrf/tests/netconf/net_vrf.yaml
+++ b/test/integration/targets/junos_vrf/tests/netconf/net_vrf.yaml
@@ -17,7 +17,7 @@
interfaces:
- ge-0/0/6
- ge-0/0/5
- rd: 3.3.3.3:10
+ rd: 192.0.2.3:10
target: target:65513:111
state: present
provider: "{{ netconf }}"
@@ -31,7 +31,7 @@
- result.diff.prepared is search("\+ *instance-type vrf")
- result.diff.prepared is search("\+ *interface ge-0/0/5.0")
- result.diff.prepared is search("\+ *interface ge-0/0/6.0")
- - result.diff.prepared is search("\+ *route-distinguisher 3.3.3.3:10")
+ - result.diff.prepared is search("\+ *route-distinguisher 192.0.2.3:10")
- result.diff.prepared is search("\+ *vrf-target target:65513:111")
- name: teardown - remove vrf
diff --git a/test/integration/targets/nxos_acl/tests/common/sanity.yaml b/test/integration/targets/nxos_acl/tests/common/sanity.yaml
index 3df42b8ae63..2900040f63b 100644
--- a/test/integration/targets/nxos_acl/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_acl/tests/common/sanity.yaml
@@ -19,7 +19,7 @@
seq: 10
action: permit
proto: tcp
- src: 1.1.1.1/24
+ src: 192.0.2.1/24
src_port_op: range
src_port1: 1900
src_port2: 1910
@@ -57,7 +57,7 @@
seq: 10
action: deny
proto: tcp
- src: 1.1.1.1/24
+ src: 192.0.2.1/24
src_port_op: range
src_port1: 1900
src_port2: 1910
diff --git a/test/integration/targets/nxos_acl_interface/tests/common/sanity.yaml b/test/integration/targets/nxos_acl_interface/tests/common/sanity.yaml
index 1d53cfbae7d..2293fd00960 100644
--- a/test/integration/targets/nxos_acl_interface/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_acl_interface/tests/common/sanity.yaml
@@ -37,7 +37,7 @@
seq: 10
action: permit
proto: tcp
- src: 1.1.1.1/24
+ src: 192.0.2.1/24
dest: any
- block:
diff --git a/test/integration/targets/nxos_bgp/tests/common/param.yaml b/test/integration/targets/nxos_bgp/tests/common/param.yaml
index f144be23e91..a662a2e6f59 100644
--- a/test/integration/targets/nxos_bgp/tests/common/param.yaml
+++ b/test/integration/targets/nxos_bgp/tests/common/param.yaml
@@ -20,7 +20,7 @@
nxos_bgp: &set_multi_vrf
asn: 65535
vrf: "{{ item }}"
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
bestpath_always_compare_med: true
bestpath_aspath_multipath_relax: true
bestpath_compare_routerid: true
diff --git a/test/integration/targets/nxos_bgp/tests/common/sanity.yaml b/test/integration/targets/nxos_bgp/tests/common/sanity.yaml
index 0d537169475..a4373bda2a7 100644
--- a/test/integration/targets/nxos_bgp/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_bgp/tests/common/sanity.yaml
@@ -29,7 +29,7 @@
- name: "Configure BGP defaults"
nxos_bgp: &configure_default
asn: 65535
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
state: present
register: result
@@ -60,7 +60,7 @@
- name: "Configure BGP non defaults"
nxos_bgp: &configure_non_default
asn: 65535
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
bestpath_always_compare_med: true
bestpath_aspath_multipath_relax: true
bestpath_compare_routerid: true
diff --git a/test/integration/targets/nxos_bgp_neighbor/tests/common/sanity.yaml b/test/integration/targets/nxos_bgp_neighbor/tests/common/sanity.yaml
index 29d9be5c449..cf9a3075360 100644
--- a/test/integration/targets/nxos_bgp_neighbor/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_bgp_neighbor/tests/common/sanity.yaml
@@ -24,7 +24,7 @@
- name: "Setup"
nxos_bgp_neighbor: &removenp
asn: 65535
- neighbor: 3.3.3.3
+ neighbor: 192.0.2.3
vrf: "{{ item }}"
state: absent
with_items: "{{ vrfs }}"
@@ -33,7 +33,7 @@
- name: "Setup"
nxos_bgp_neighbor: &remove
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
state: absent
with_items: "{{ vrfs }}"
@@ -43,7 +43,7 @@
- name: "Configure BGP neighbor1"
nxos_bgp_neighbor: &configure1
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
connected_check: true
capability_negotiation: true
@@ -80,7 +80,7 @@
- name: "Configure BGP neighbor2"
nxos_bgp_neighbor: &configure2
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
connected_check: False
capability_negotiation: False
@@ -127,7 +127,7 @@
- name: "Configure BGP neighbor3"
nxos_bgp_neighbor: &configure3
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
description: "tested by ansible"
remove_private_as: "{{remove_private_asa|default(omit)}}"
@@ -147,7 +147,7 @@
- name: "Configure BGP neighbor4"
nxos_bgp_neighbor: &configure4
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
description: "tested by ansible"
remove_private_as: "{{remove_private_asr|default(omit)}}"
@@ -174,7 +174,7 @@
- name: "Configure BGP neighbor 3des password"
nxos_bgp_neighbor: &configure_3des_password
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
remote_as: 30
pwd: '386c0565965f89de'
@@ -201,7 +201,7 @@
- name: "Configure BGP neighbor type 7 password"
nxos_bgp_neighbor: &configure_type7_password
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
remote_as: 30
pwd: '386c0565965f89de'
@@ -221,7 +221,7 @@
- name: "Remove BGP neighbor password"
nxos_bgp_neighbor: &remove_password
asn: 65535
- neighbor: 3.3.3.3/32
+ neighbor: 192.0.2.3/32
vrf: "{{ item }}"
remote_as: 30
pwd: default
@@ -248,7 +248,7 @@
- name: "Configure BGP neighbor transport type passive"
nxos_bgp_neighbor: &configure_transport_passive
asn: 65535
- neighbor: 3.3.3.3
+ neighbor: 192.0.2.3
vrf: "{{ item }}"
remote_as: 30
transport_passive_only: true
@@ -267,7 +267,7 @@
- name: "Configure BGP neighbor transport type default"
nxos_bgp_neighbor: &configure_transport_default
asn: 65535
- neighbor: 3.3.3.3
+ neighbor: 192.0.2.3
vrf: "{{ item }}"
remote_as: 30
transport_passive_only: false
diff --git a/test/integration/targets/nxos_bgp_neighbor_af/tests/common/sanity.yaml b/test/integration/targets/nxos_bgp_neighbor_af/tests/common/sanity.yaml
index b174ee33bd6..42035b2e3c5 100644
--- a/test/integration/targets/nxos_bgp_neighbor_af/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_bgp_neighbor_af/tests/common/sanity.yaml
@@ -22,7 +22,7 @@
- name: "Configure BGP neighbor address-family"
nxos_bgp_neighbor_af: &configure1
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
additional_paths_receive: 'enable'
@@ -63,7 +63,7 @@
- name: "Configure BGP neighbor address-family def1"
nxos_bgp_neighbor_af: &configure_def1
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
additional_paths_receive: 'inherit'
@@ -100,7 +100,7 @@
- name: "Setup: Remove BGP config"
nxos_bgp_neighbor_af: &removenaf
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
state: absent
@@ -117,7 +117,7 @@
- name: "Configure BGP neighbor address-family"
nxos_bgp_neighbor_af: &configure2
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
allowas_in_max: '5'
@@ -142,7 +142,7 @@
- name: "Configure BGP neighbor address-family def2"
nxos_bgp_neighbor_af: &configure_def2
asn: 65535
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
allowas_in_max: default
@@ -180,14 +180,14 @@
nxos_bgp_neighbor:
asn: 65535
vrf: 'blue'
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
remote_as: 2
- name: "Configure BGP neighbor 3"
nxos_bgp_neighbor_af: &configure3
asn: 65535
vrf: 'blue'
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
additional_paths_receive: 'disable'
@@ -211,7 +211,7 @@
nxos_bgp_neighbor_af: &configure_def3
asn: 65535
vrf: 'blue'
- neighbor: '3.3.3.3'
+ neighbor: '192.0.2.3'
afi: ipv4
safi: unicast
additional_paths_receive: 'inherit'
@@ -241,13 +241,13 @@
- name: "Configure BGP neighbor af route_reflector_client"
nxos_bgp_neighbor:
asn: 65535
- neighbor: '2.2.2.2'
+ neighbor: '192.0.2.2'
remote_as: 65535
- name: "Configure BGP neighbor 4"
nxos_bgp_neighbor_af: &configure4
asn: 65535
- neighbor: '2.2.2.2'
+ neighbor: '192.0.2.2'
afi: ipv4
safi: unicast
route_reflector_client: 'true'
@@ -264,7 +264,7 @@
- name: "Configure BGP neighbor def4"
nxos_bgp_neighbor_af: &configure_def4
asn: 65535
- neighbor: '2.2.2.2'
+ neighbor: '192.0.2.2'
afi: ipv4
safi: unicast
route_reflector_client: False
diff --git a/test/integration/targets/nxos_command/tests/cli/sanity.yaml b/test/integration/targets/nxos_command/tests/cli/sanity.yaml
index 31f17b4def3..8bc723d687c 100644
--- a/test/integration/targets/nxos_command/tests/cli/sanity.yaml
+++ b/test/integration/targets/nxos_command/tests/cli/sanity.yaml
@@ -26,7 +26,7 @@
- name: "Configure BGP defaults"
nxos_bgp: &configure_default
asn: 65535
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
state: present
register: result
diff --git a/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml b/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
index f845f6de287..bff006a4c11 100644
--- a/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
+++ b/test/integration/targets/nxos_command/tests/nxapi/sanity.yaml
@@ -26,7 +26,7 @@
- name: "Configure BGP defaults"
nxos_bgp: &configure_default
asn: 65535
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
state: present
register: result
diff --git a/test/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml b/test/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml
index b2d2190f824..820d9ab9266 100644
--- a/test/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml
+++ b/test/integration/targets/nxos_config/tests/cli/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
nxos_config:
commands:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: none
@@ -16,10 +16,10 @@
- name: configure sub level command using exact match
nxos_config:
commands:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
match: exact
register: result
@@ -28,20 +28,20 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'20 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'30 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
- - "'50 permit ip 5.5.5.5/32 any log' not in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
+ - "'50 permit ip 192.0.2.5/32 any log' not in result.updates"
- name: check sub level command using exact match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
match: exact
register: result
diff --git a/test/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml b/test/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml
index 0cef240c9b4..a50bd107abf 100644
--- a/test/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml
+++ b/test/integration/targets/nxos_config/tests/cli/sublevel_strict.yaml
@@ -4,11 +4,11 @@
- name: setup
nxos_config:
commands:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: none
@@ -16,10 +16,10 @@
- name: configure sub level command using strict match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
match: strict
@@ -30,19 +30,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'20 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'30 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
- - "'50 permit ip 5.5.5.5/32 any log' not in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
+ - "'50 permit ip 192.0.2.5/32 any log' not in result.updates"
- name: check sub level command using strict match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
match: strict
register: result
diff --git a/test/integration/targets/nxos_config/tests/common/sanity.yaml b/test/integration/targets/nxos_config/tests/common/sanity.yaml
index 5d69c7268b1..603f31818ef 100644
--- a/test/integration/targets/nxos_config/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_config/tests/common/sanity.yaml
@@ -9,11 +9,11 @@
- name: "nxos_config sanity test"
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
before: no ip access-list test
match: exact
@@ -21,10 +21,10 @@
- name: "nxos_config sanity test - replace block"
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
replace: block
diff --git a/test/integration/targets/nxos_config/tests/common/sublevel_block.yaml b/test/integration/targets/nxos_config/tests/common/sublevel_block.yaml
index 3bc3fc73ce3..3e6c4c2ab24 100644
--- a/test/integration/targets/nxos_config/tests/common/sublevel_block.yaml
+++ b/test/integration/targets/nxos_config/tests/common/sublevel_block.yaml
@@ -10,10 +10,10 @@
- name: configure sub level command using block replace
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
replace: block
register: result
@@ -22,18 +22,18 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'20 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'30 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
- name: check sub level command using block replace
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
replace: block
register: result
diff --git a/test/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml b/test/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml
index c927cc81474..c3e4382d990 100644
--- a/test/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml
+++ b/test/integration/targets/nxos_config/tests/nxapi/sublevel_exact.yaml
@@ -4,11 +4,11 @@
- name: setup
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
match: none
ignore_errors: yes
@@ -16,10 +16,10 @@
- name: configure sub level command using exact match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
match: exact
@@ -30,19 +30,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'20 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'30 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
- - "'50 permit ip 5.5.5.5/32 any log' not in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
+ - "'50 permit ip 192.0.2.5/32 any log' not in result.updates"
- name: check sub level command using exact match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
match: exact
register: result
diff --git a/test/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml b/test/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml
index 07ebc94eea0..3b0bc378aad 100644
--- a/test/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml
+++ b/test/integration/targets/nxos_config/tests/nxapi/sublevel_strict.yaml
@@ -4,21 +4,21 @@
- name: setup
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
- - 50 permit ip 5.5.5.5/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
+ - 50 permit ip 192.0.2.5/32 any log
parents: ip access-list test
match: none
- name: configure sub level command using strict match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 30 permit ip 2.2.2.2/32 any log
- - 20 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 30 permit ip 192.0.2.2/32 any log
+ - 20 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
before: no ip access-list test
match: strict
@@ -29,19 +29,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'30 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'20 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
- - "'50 permit ip 5.5.5.5/32 any log' not in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
+ - "'50 permit ip 192.0.2.5/32 any log' not in result.updates"
- name: check sub level command using strict match
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 3.3.3.3/32 any log
- - 30 permit ip 2.2.2.2/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.3/32 any log
+ - 30 permit ip 192.0.2.2/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
match: strict
register: result
diff --git a/test/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml b/test/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml
index 207a84c7623..554af0d9273 100644
--- a/test/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_evpn_vni/tests/common/sanity.yaml
@@ -31,7 +31,7 @@
route_target_export:
- auto
- "5000:10"
- - "1.1.1.1:43"
+ - "192.0.2.1:43"
register: result
- assert: &true
diff --git a/test/integration/targets/nxos_hsrp/tests/common/sanity.yaml b/test/integration/targets/nxos_hsrp/tests/common/sanity.yaml
index 274b456e74d..4157bda3301 100644
--- a/test/integration/targets/nxos_hsrp/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_hsrp/tests/common/sanity.yaml
@@ -57,7 +57,7 @@
nxos_hsrp: &conf100
group: 100
version: 2
- vip: 2.2.2.2
+ vip: 192.0.2.2
priority: 25
interface: "{{ intname1 }}"
preempt: enabled
@@ -96,7 +96,7 @@
- name: "configure group 200"
nxos_hsrp: &conf200
group: 200
- vip: 3.3.3.3
+ vip: 192.0.2.3
version: 1
interface: "{{ intname2 }}"
auth_type: text
@@ -114,7 +114,7 @@
- name: "change group 200"
nxos_hsrp: &chg200
group: 200
- vip: 3.3.3.3
+ vip: 192.0.2.3
version: 2
interface: "{{ intname2 }}"
auth_type: text
diff --git a/test/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml b/test/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml
index f541da0343e..1cbe8711c02 100644
--- a/test/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_igmp_interface/tests/common/sanity.yaml
@@ -50,7 +50,7 @@
group_timeout: 300
# deprecated
oif_prefix: 239.255.255.2
- oif_source: 1.1.1.1
+ oif_source: 192.0.2.1
state: present
register: result
@@ -82,7 +82,7 @@
oif_ps:
- {'prefix': '238.2.2.6'}
- {'prefix': '238.2.2.5'}
- - {'source': '1.1.1.1', 'prefix': '238.2.2.5'}
+ - {'source': '192.0.2.1', 'prefix': '238.2.2.5'}
state: present
register: result
diff --git a/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml b/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
index d3442d76959..fbe6dc70423 100644
--- a/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_interface_ospf/tests/common/sanity.yaml
@@ -209,7 +209,7 @@
nxos_interface_ospf: &configurelb
interface: LOOPBACK55
ospf: 1
- area: 4.4.4.4
+ area: 192.0.2.4
cost: 55
hello_interval: 15
dead_interval: 75
diff --git a/test/integration/targets/nxos_ntp/tests/common/sanity.yaml b/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
index d220063372b..d143e5d4dc8 100644
--- a/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_ntp/tests/common/sanity.yaml
@@ -9,7 +9,7 @@
key_id: 32
prefer: disabled
vrf_name: management
- source_addr: 5.5.5.5
+ source_addr: 192.0.2.5
state: absent
ignore_errors: yes
@@ -21,7 +21,7 @@
key_id: 32
prefer: enabled
vrf_name: management
- source_addr: 5.5.5.5
+ source_addr: 192.0.2.5
state: present
register: result
diff --git a/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml b/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml
index 8c8c6031ba6..c937793b6a2 100644
--- a/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_ospf_vrf/tests/common/sanity.yaml
@@ -13,7 +13,7 @@
- name: Configure ospf vrf
nxos_ospf_vrf: &config
ospf: 1
- router_id: 1.1.1.1
+ router_id: 192.0.2.1
timer_throttle_spf_start: 50
timer_throttle_spf_hold: 1000
timer_throttle_spf_max: 2000
diff --git a/test/integration/targets/nxos_smoke/tests/common/common_config.yaml b/test/integration/targets/nxos_smoke/tests/common/common_config.yaml
index fe58b7348e7..c551f12cc31 100644
--- a/test/integration/targets/nxos_smoke/tests/common/common_config.yaml
+++ b/test/integration/targets/nxos_smoke/tests/common/common_config.yaml
@@ -70,10 +70,10 @@
- name: configure sub level command using block replace - exact
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
replace: block
provider: "{{ connection }}"
@@ -84,19 +84,19 @@
that:
- "result.changed == true"
- "'ip access-list test' in result.updates"
- - "'10 permit ip 1.1.1.1/32 any log' in result.updates"
- - "'20 permit ip 2.2.2.2/32 any log' in result.updates"
- - "'30 permit ip 3.3.3.3/32 any log' in result.updates"
- - "'40 permit ip 4.4.4.4/32 any log' in result.updates"
+ - "'10 permit ip 192.0.2.1/32 any log' in result.updates"
+ - "'20 permit ip 192.0.2.2/32 any log' in result.updates"
+ - "'30 permit ip 192.0.2.3/32 any log' in result.updates"
+ - "'40 permit ip 192.0.2.4/32 any log' in result.updates"
# hit NetworkConfig._diff_strict
- name: configure sub level command using block replace strict
nxos_config:
lines:
- - 10 permit ip 1.1.1.1/32 any log
- - 20 permit ip 2.2.2.2/32 any log
- - 30 permit ip 3.3.3.3/32 any log
- - 40 permit ip 4.4.4.4/32 any log
+ - 10 permit ip 192.0.2.1/32 any log
+ - 20 permit ip 192.0.2.2/32 any log
+ - 30 permit ip 192.0.2.3/32 any log
+ - 40 permit ip 192.0.2.4/32 any log
parents: ip access-list test
replace: block
provider: "{{ connection }}"
@@ -111,7 +111,7 @@
- name: create static route
nxos_static_route: &configure
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
tag: 5500
@@ -126,7 +126,7 @@
- name: remove static route
nxos_static_route: &remove
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
tag: 5500
@@ -141,7 +141,7 @@
- name: remove static route
nxos_static_route:
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
tag: 5500
@@ -153,8 +153,8 @@
- name: remove static route aggregate
nxos_static_route:
aggregate:
- - { prefix: "192.168.22.64/24", next_hop: "3.3.3.3" }
- - { prefix: "192.168.24.64/24", next_hop: "3.3.3.3" }
+ - { prefix: "192.168.22.64/24", next_hop: "192.0.2.3" }
+ - { prefix: "192.168.24.64/24", next_hop: "192.0.2.3" }
state: absent
provider: "{{ connection }}"
ignore_errors: yes
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
index 25f59a383a5..67b8bac5b2c 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v1_trap.yaml
@@ -12,7 +12,7 @@
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
version: "{{ snmp_version }}"
snmp_type: "{{ snmp_type }}"
@@ -27,7 +27,7 @@
- name: Configure snmp host
nxos_snmp_host: &config
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
version: "{{ snmp_version }}"
snmp_type: "{{ snmp_type }}"
@@ -53,7 +53,7 @@
- block:
- name: Add another vrf to filter
nxos_snmp_host: &config1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
vrf_filter: default
udp: 222
state: present
@@ -70,7 +70,7 @@
- name: remove some configuration
nxos_snmp_host: &rem1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
src_intf: "{{ intname|default(omit) }}"
vrf: management
@@ -89,7 +89,7 @@
- block:
- name: remove some more configuration
nxos_snmp_host: &rem2
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
state: absent
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
index 6bb4074f461..a6b9e90c66b 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v2_inform.yaml
@@ -12,7 +12,7 @@
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
version: "{{ snmp_version }}"
snmp_type: "{{ snmp_type }}"
@@ -27,7 +27,7 @@
- name: Configure snmp host
nxos_snmp_host: &config
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
version: "{{ snmp_version }}"
snmp_type: "{{ snmp_type }}"
@@ -53,7 +53,7 @@
- block:
- name: Add another vrf to filter
nxos_snmp_host: &config1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
vrf_filter: default
udp: 222
state: present
@@ -70,7 +70,7 @@
- name: remove some configuration
nxos_snmp_host: &rem1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
src_intf: "{{ intname|default(omit) }}"
vrf: management
@@ -89,7 +89,7 @@
- block:
- name: remove some more configuration
nxos_snmp_host: &rem2
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
state: absent
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
index 632ff2c3f82..c73921c87b6 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_inform.yaml
@@ -17,7 +17,7 @@
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
version: "{{ snmp_version }}"
snmp_type: "{{ snmp_type }}"
@@ -32,7 +32,7 @@
- name: Configure snmp host
nxos_snmp_host: &config
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
v3: "{{ snmp_auth|default(omit) }}"
version: "{{ snmp_version }}"
@@ -58,7 +58,7 @@
- block:
- name: Add another vrf to filter
nxos_snmp_host: &config1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
vrf_filter: default
state: present
register: result
@@ -74,7 +74,7 @@
- name: remove some configuration
nxos_snmp_host: &rem1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
src_intf: "{{ intname|default(omit) }}"
vrf: management
vrf_filter: management
@@ -92,7 +92,7 @@
- block:
- name: remove some more configuration
nxos_snmp_host: &rem2
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
vrf_filter: default
state: absent
register: result
diff --git a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
index c8890933789..ffed7c46847 100644
--- a/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
+++ b/test/integration/targets/nxos_snmp_host/tests/common/sanity_snmp_v3_trap.yaml
@@ -13,7 +13,7 @@
- name: Setup - Remove snmp_host if configured
nxos_snmp_host: &remove
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
udp: 222
v3: "{{ snmp_auth|default(omit) }}"
@@ -29,7 +29,7 @@
- name: Configure snmp host
nxos_snmp_host: &config
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
community: TESTING
udp: 222
v3: "{{ snmp_auth|default(omit) }}"
@@ -56,7 +56,7 @@
- block:
- name: Add another vrf to filter
nxos_snmp_host: &config1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
state: present
@@ -73,7 +73,7 @@
- name: remove some configuration
nxos_snmp_host: &rem1
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
src_intf: "{{ intname|default(omit) }}"
vrf: management
@@ -92,7 +92,7 @@
- block:
- name: remove some more configuration
nxos_snmp_host: &rem2
- snmp_host: 3.3.3.3
+ snmp_host: 192.0.2.3
udp: 222
vrf_filter: default
state: absent
diff --git a/test/integration/targets/nxos_static_route/tests/common/sanity.yaml b/test/integration/targets/nxos_static_route/tests/common/sanity.yaml
index 9c90ae6427b..946c21909d1 100644
--- a/test/integration/targets/nxos_static_route/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_static_route/tests/common/sanity.yaml
@@ -7,7 +7,7 @@
- name: create static route
nxos_static_route: &configure
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
tag: 5500
@@ -31,7 +31,7 @@
- name: change static route
nxos_static_route: &configure1
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: default
pref: 10
tag: default
@@ -51,7 +51,7 @@
- name: remove static route
nxos_static_route: &remove
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
vrf: "{{ item }}"
@@ -71,8 +71,8 @@
- name: configure static route(aggregate)
nxos_static_route: &conf_agg
aggregate:
- - { prefix: "192.168.22.64/24", next_hop: "3.3.3.3" }
- - { prefix: "192.168.24.64/24", next_hop: "3.3.3.3" }
+ - { prefix: "192.168.22.64/24", next_hop: "192.0.2.3" }
+ - { prefix: "192.168.24.64/24", next_hop: "192.0.2.3" }
register: result
- assert:
@@ -90,8 +90,8 @@
- name: remove static route aggregate
nxos_static_route: &remove_agg
aggregate:
- - { prefix: "192.168.22.64/24", next_hop: "3.3.3.3" }
- - { prefix: "192.168.24.64/24", next_hop: "3.3.3.3" }
+ - { prefix: "192.168.22.64/24", next_hop: "192.0.2.3" }
+ - { prefix: "192.168.24.64/24", next_hop: "192.0.2.3" }
state: absent
register: result
@@ -111,7 +111,7 @@
- name: remove static route
nxos_static_route:
prefix: "192.168.20.64/24"
- next_hop: "3.3.3.3"
+ next_hop: "192.0.2.3"
route_name: testing
pref: 100
tag: 5500
@@ -123,8 +123,8 @@
- name: remove static route aggregate
nxos_static_route:
aggregate:
- - { prefix: "192.168.22.64/24", next_hop: "3.3.3.3" }
- - { prefix: "192.168.24.64/24", next_hop: "3.3.3.3" }
+ - { prefix: "192.168.22.64/24", next_hop: "192.0.2.3" }
+ - { prefix: "192.168.24.64/24", next_hop: "192.0.2.3" }
state: absent
ignore_errors: yes
diff --git a/test/integration/targets/nxos_system/tests/cli/set_name_servers.yaml b/test/integration/targets/nxos_system/tests/cli/set_name_servers.yaml
index 950d9768915..a6bd35ab90c 100644
--- a/test/integration/targets/nxos_system/tests/cli/set_name_servers.yaml
+++ b/test/integration/targets/nxos_system/tests/cli/set_name_servers.yaml
@@ -4,32 +4,32 @@
- name: setup
nxos_config: &reset
lines:
- - no ip name-server 1.1.1.1
- - no ip name-server 2.2.2.2
- - no ip name-server 3.3.3.3
+ - no ip name-server 192.0.2.1
+ - no ip name-server 192.0.2.2
+ - no ip name-server 192.0.2.3
match: none
- name: configure name_servers
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
that:
- result.changed == true
- - "'ip name-server 1.1.1.1' in result.commands"
- - "'ip name-server 2.2.2.2' in result.commands"
- - "'ip name-server 3.3.3.3' in result.commands"
+ - "'ip name-server 192.0.2.1' in result.commands"
+ - "'ip name-server 192.0.2.2' in result.commands"
+ - "'ip name-server 192.0.2.3' in result.commands"
- name: verify name_servers
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
@@ -39,24 +39,24 @@
#- name: change to vrf
# nxos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# register: result
#- assert:
# that:
# - result.changed == true
# - result.commands|length == 2
-# - "'no ip name-server 2.2.2.2' in result.commands"
-# - "'ip name-server 2.2.2.2 vrf ansible' in result.commands"
+# - "'no ip name-server 192.0.2.2' in result.commands"
+# - "'ip name-server 192.0.2.2 vrf ansible' in result.commands"
#- name: verify change to vrf
# nxos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# register: result
#
#- assert:
@@ -66,15 +66,15 @@
- name: remove one
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
register: result
- assert:
that:
- result.changed == true
- result.commands|length == 1
- - "'no ip name-server 3.3.3.3' in result.commands"
+ - "'no ip name-server 192.0.2.3' in result.commands"
- name: default name server
nxos_system: &defns
diff --git a/test/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml b/test/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml
index 2394903bf6f..7baaa7e9f5d 100644
--- a/test/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml
+++ b/test/integration/targets/nxos_system/tests/nxapi/set_name_servers.yaml
@@ -11,31 +11,31 @@
match: none
ignore_errors: yes
with_items:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
- name: configure name_servers
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
that:
- result.changed == true
- - "'ip name-server 1.1.1.1' in result.commands"
- - "'ip name-server 2.2.2.2' in result.commands"
- - "'ip name-server 3.3.3.3' in result.commands"
+ - "'ip name-server 192.0.2.1' in result.commands"
+ - "'ip name-server 192.0.2.2' in result.commands"
+ - "'ip name-server 192.0.2.3' in result.commands"
- name: verify name_servers
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
@@ -45,24 +45,24 @@
#- name: change to vrf
# nxos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# register: result
#- assert:
# that:
# - result.changed == true
# - result.commands|length == 2
-# - "'no ip name-server 2.2.2.2' in result.commands"
-# - "'ip name-server 2.2.2.2 vrf ansible' in result.commands"
+# - "'no ip name-server 192.0.2.2' in result.commands"
+# - "'ip name-server 192.0.2.2 vrf ansible' in result.commands"
#- name: verify change to vrf
# nxos_system:
# name_servers:
-# - 1.1.1.1
-# - { server: 2.2.2.2, vrf: ansible }
-# - 3.3.3.3
+# - 192.0.2.1
+# - { server: 192.0.2.2, vrf: ansible }
+# - 192.0.2.3
# register: result
#
#- assert:
@@ -72,15 +72,15 @@
- name: remove one
nxos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
+ - 192.0.2.1
+ - 192.0.2.2
register: result
- assert:
that:
- result.changed == true
- result.commands|length == 1
- - "'no ip name-server 3.3.3.3' in result.commands"
+ - "'no ip name-server 192.0.2.3' in result.commands"
- name: default name server
nxos_system: &defns
@@ -102,9 +102,9 @@
- name: teardown
nxos_config: *reset
with_items:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
ignore_errors: yes
- debug: msg="END nxapi/set_name_servers.yaml"
diff --git a/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml b/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml
index fdd7f68faab..8f8cf662ffc 100644
--- a/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml
+++ b/test/integration/targets/nxos_vxlan_vtep_vni/tests/common/sanity.yaml
@@ -179,10 +179,10 @@
interface: nve1
vni: 8000
peer_list:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
- - 4.4.4.4
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
+ - 192.0.2.4
ingress_replication: static
register: result
diff --git a/test/integration/targets/vyos_system/tests/cli/basic.yaml b/test/integration/targets/vyos_system/tests/cli/basic.yaml
index f8958db49ce..c42eddea847 100644
--- a/test/integration/targets/vyos_system/tests/cli/basic.yaml
+++ b/test/integration/targets/vyos_system/tests/cli/basic.yaml
@@ -4,33 +4,33 @@
- name: setup
vyos_config:
lines:
- - delete system name-server 1.1.1.1
- - delete system name-server 2.2.2.2
- - delete system name-server 3.3.3.3
+ - delete system name-server 192.0.2.1
+ - delete system name-server 192.0.2.2
+ - delete system name-server 192.0.2.3
match: none
- name: configure name servers
vyos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
that:
- result.changed == true
- result.commands|length == 3
- - result.commands[0] is search("set system name-server '1.1.1.1'")
- - result.commands[1] is search("set system name-server '2.2.2.2'")
- - result.commands[2] is search("set system name-server '3.3.3.3'")
+ - result.commands[0] is search("set system name-server '192.0.2.1'")
+ - result.commands[1] is search("set system name-server '192.0.2.2'")
+ - result.commands[2] is search("set system name-server '192.0.2.3'")
- name: verify name_servers
vyos_system:
name_servers:
- - 1.1.1.1
- - 2.2.2.2
- - 3.3.3.3
+ - 192.0.2.1
+ - 192.0.2.2
+ - 192.0.2.3
register: result
- assert:
@@ -40,7 +40,7 @@
- name: remove one
vyos_system:
name_servers:
- - 3.3.3.3
+ - 192.0.2.3
state: absent
register: result
@@ -48,14 +48,14 @@
that:
- result.changed == true
- result.commands|length == 1
- - result.commands[0] is search("delete system name-server '3.3.3.3'")
+ - result.commands[0] is search("delete system name-server '192.0.2.3'")
- name: teardown
vyos_config:
lines:
- - delete system name-server name-server 1.1.1.1
- - delete system name-server name-server 2.2.2.2
- - delete system name-server name-server 3.3.3.3
+ - delete system name-server name-server 192.0.2.1
+ - delete system name-server name-server 192.0.2.2
+ - delete system name-server name-server 192.0.2.3
match: none
- debug: msg="END cli/basic.yaml on connection={{ ansible_connection }}"
diff --git a/test/integration/targets/vyos_system/tests/cli/net_system.yaml b/test/integration/targets/vyos_system/tests/cli/net_system.yaml
index c7a29fa9912..b7813c09f00 100644
--- a/test/integration/targets/vyos_system/tests/cli/net_system.yaml
+++ b/test/integration/targets/vyos_system/tests/cli/net_system.yaml
@@ -7,24 +7,24 @@
- name: setup
vyos_config:
lines:
- - delete system name-server 1.1.1.1
+ - delete system name-server 192.0.2.1
match: none
- name: configure name servers using platform agnostic module
net_system:
name_servers:
- - 1.1.1.1
+ - 192.0.2.1
register: result
- assert:
that:
- result.changed == true
- - result.commands[0] is search("set system name-server '1.1.1.1'")
+ - result.commands[0] is search("set system name-server '192.0.2.1'")
- name: setup
vyos_config:
lines:
- - delete system name-server 1.1.1.1
+ - delete system name-server 192.0.2.1
match: none
- debug: msg="END vyos cli/net_system.yaml on connection={{ ansible_connection }}"
diff --git a/test/units/modules/network/dellos10/fixtures/show_running-config b/test/units/modules/network/dellos10/fixtures/show_running-config
index 0e7ba0e475b..ff7ff2794c3 100644
--- a/test/units/modules/network/dellos10/fixtures/show_running-config
+++ b/test/units/modules/network/dellos10/fixtures/show_running-config
@@ -2,9 +2,9 @@
! Last configuration change at Jan 11 12:26:08 2018
!
snmp-server contact http://www.dell.com/support
-snmp-server host 1.1.1.1 traps version 1 c4 udp-port 5
-snmp-server host 1.1.1.1 traps version 2c c1 udp-port 4
-snmp-server host 2.2.2.2 traps version 1 c3 udp-port 162
+snmp-server host 192.0.2.1 traps version 1 c4 udp-port 5
+snmp-server host 192.0.2.1 traps version 2c c1 udp-port 4
+snmp-server host 192.0.2.2 traps version 1 c3 udp-port 162
ip community-list expanded commex deny aaa
ip community-list standard commstd deny internet
ip community-list standard commstd permit no-advertise
diff --git a/test/units/modules/network/dellos6/fixtures/show_ip_int b/test/units/modules/network/dellos6/fixtures/show_ip_int
index 043ee2cc294..2c2f1e20117 100644
--- a/test/units/modules/network/dellos6/fixtures/show_ip_int
+++ b/test/units/modules/network/dellos6/fixtures/show_ip_int
@@ -8,7 +8,7 @@ Interface State IP Address IP Mask Method
Vl1 Down 0.0.0.0 0.0.0.0 None
Vl2 Up 0.0.0.0 0.0.0.0 DHCP
Vl99 Up 10.99.1.2 255.255.0.0 Manual
-Vl100 Up 3.3.3.3 255.255.255.0 Manual
+Vl100 Up 192.0.2.3 255.255.255.0 Manual
Vl999 Up 10.250.1.2 255.255.255.0 Manual
Vl1010 Up 10.1.1.1 255.255.255.0 Manual
Vl1681 Up 192.168.100.1 255.255.255.0 Manual
diff --git a/test/units/modules/network/dellos6/fixtures/show_running-config b/test/units/modules/network/dellos6/fixtures/show_running-config
index b589c2968db..ddcec523f1b 100644
--- a/test/units/modules/network/dellos6/fixtures/show_running-config
+++ b/test/units/modules/network/dellos6/fixtures/show_running-config
@@ -99,7 +99,7 @@ snmp-server enable traps captive-portal client-connect
snmp-server enable traps captive-portal client-db-full
snmp-server enable traps captive-portal client-disconnect
router bgp 11
-bgp router-id 1.1.1.1
+bgp router-id 192.0.2.1
maximum-paths 2
maximum-paths ibgp 2
network 101.1.2.0 mask 255.255.255.0
diff --git a/test/units/modules/network/ironware/fixtures/show_mpls_lsp_detail b/test/units/modules/network/ironware/fixtures/show_mpls_lsp_detail
index aea592136b3..7f2e7de9471 100644
--- a/test/units/modules/network/ironware/fixtures/show_mpls_lsp_detail
+++ b/test/units/modules/network/ironware/fixtures/show_mpls_lsp_detail
@@ -1,4 +1,4 @@
-LSP LSP1, to 1.1.1.1
+LSP LSP1, to 192.0.2.1
From: (n/a), admin: DOWN, status: DOWN
revert timer: 300 seconds
Times primary LSP goes up since enabled: 1
@@ -17,7 +17,7 @@ LSP LSP1, to 1.1.1.1
Backup LSP: DOWN
Global revertiveness enabled with hold time 5 secs
FRR Forwarding State: Pri(down), Backup(down)
-LSP LSP3, to 3.3.3.3
+LSP LSP3, to 192.0.2.3
From: (n/a), admin: DOWN, status: DOWN
Times primary LSP goes up since enabled: 0
Metric: 0
diff --git a/test/units/modules/network/ironware/fixtures/show_mpls_vll_detail b/test/units/modules/network/ironware/fixtures/show_mpls_vll_detail
index 0a584cc51c7..e010042e913 100644
--- a/test/units/modules/network/ironware/fixtures/show_mpls_vll_detail
+++ b/test/units/modules/network/ironware/fixtures/show_mpls_vll_detail
@@ -9,7 +9,7 @@ VLL TEST-VLL, VC-ID 111, VLL-INDEX 4
COS : 1
Extended Counters: Enabled
- Vll-Peer : 1.1.1.1
+ Vll-Peer : 192.0.2.1
State : DOWN - PW is Down (Reason:Wait for peer label)
Remote VC type : -- Remote VC MTU : --
Local label : -- Remote label : --
diff --git a/test/units/modules/network/ironware/fixtures/show_mpls_vpls_detail b/test/units/modules/network/ironware/fixtures/show_mpls_vpls_detail
index 3f99f71a28e..33fa9414b8d 100644
--- a/test/units/modules/network/ironware/fixtures/show_mpls_vpls_detail
+++ b/test/units/modules/network/ironware/fixtures/show_mpls_vpls_detail
@@ -10,7 +10,7 @@ VPLS TEST-VPLS, Id 333, Max mac entries: 2048
Untagged: ethe 2/7
VC-Mode: Raw
Total VPLS peers: 1 (0 Operational)
- Peer address: 3.3.3.3, State: Wait for functional local ports
+ Peer address: 192.0.2.3, State: Wait for functional local ports
Tnnl in use: tnl1(3)[RSVP] Peer Index:0
Local VC lbl: N/A, Remote VC lbl: N/A
Local VC MTU: 9190, Remote VC MTU: 0
diff --git a/test/units/modules/network/ironware/fixtures/show_running-config b/test/units/modules/network/ironware/fixtures/show_running-config
index 5bfdefb13a2..de2d82609c0 100644
--- a/test/units/modules/network/ironware/fixtures/show_running-config
+++ b/test/units/modules/network/ironware/fixtures/show_running-config
@@ -43,14 +43,14 @@ qos-mapping
default-max-frame-size 9216
cpu-usage on
aaa authentication login default tacacs+ local enable
-tacacs-server host 5.5.5.5
+tacacs-server host 192.0.2.5
tacacs-server key 2 $X3FSZjgzKGzPIXVd
!
!
enable password-display
enable super-user-password 8 $1$WV1..Pi2$B6acbjDxeHsof2BKrpyqQ0
enable aaa console
-logging host 5.5.5.5
+logging host 192.0.2.5
logging facility local7
logging buffered 5000
logging console
@@ -244,13 +244,13 @@ router mpls
cos 1
lsp LSP1
- to 1.1.1.1
+ to 192.0.2.1
no cspf
adaptive
enable
lsp LSP3
- to 3.3.3.3
+ to 192.0.2.3
shortcuts isis level2
adaptive
reoptimize-timer 1800
@@ -260,7 +260,7 @@ router mpls
enable
vll TEST-VLL 111 raw-mode cos 1
- vll-peer 1.1.1.1
+ vll-peer 192.0.2.1
vlan 2005
tagged e 2/1
@@ -271,7 +271,7 @@ router mpls
tag e 2/9
vpls TEST-VPLS 333
- vpls-peer 3.3.3.3
+ vpls-peer 192.0.2.3
vlan 5
untagged ethe 2/4
vlan 6
diff --git a/test/units/modules/network/netscaler/test_netscaler_cs_action.py b/test/units/modules/network/netscaler/test_netscaler_cs_action.py
index cf30cf43a53..ab1f0be1939 100644
--- a/test/units/modules/network/netscaler/test_netscaler_cs_action.py
+++ b/test/units/modules/network/netscaler/test_netscaler_cs_action.py
@@ -72,7 +72,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -86,7 +86,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -112,7 +112,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -136,7 +136,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -163,7 +163,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -190,7 +190,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -216,7 +216,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -244,7 +244,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -271,7 +271,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -303,7 +303,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -337,7 +337,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -371,7 +371,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -405,7 +405,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -439,7 +439,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -475,7 +475,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -511,7 +511,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -547,7 +547,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -583,7 +583,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_action
@@ -611,7 +611,7 @@ class TestNetscalerCSActionModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_action
diff --git a/test/units/modules/network/netscaler/test_netscaler_cs_policy.py b/test/units/modules/network/netscaler/test_netscaler_cs_policy.py
index 6bee0f0e1d8..699c382e615 100644
--- a/test/units/modules/network/netscaler/test_netscaler_cs_policy.py
+++ b/test/units/modules/network/netscaler/test_netscaler_cs_policy.py
@@ -54,7 +54,7 @@ class TestNetscalerCSPolicyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state=state,
))
diff --git a/test/units/modules/network/netscaler/test_netscaler_cs_vserver.py b/test/units/modules/network/netscaler/test_netscaler_cs_vserver.py
index d586cc45a2b..7e7f4d3439a 100644
--- a/test/units/modules/network/netscaler/test_netscaler_cs_vserver.py
+++ b/test/units/modules/network/netscaler/test_netscaler_cs_vserver.py
@@ -79,7 +79,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -93,7 +93,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -119,7 +119,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -143,7 +143,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -170,7 +170,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -200,7 +200,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -226,7 +226,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -257,7 +257,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -284,7 +284,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -318,7 +318,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -354,7 +354,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -388,7 +388,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -423,7 +423,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -457,7 +457,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -494,7 +494,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -531,7 +531,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -567,7 +567,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -603,7 +603,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -631,7 +631,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
@@ -659,7 +659,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
@@ -687,7 +687,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
servicetype='SSL',
))
@@ -728,7 +728,7 @@ class TestNetscalerCSVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_cs_vserver
diff --git a/test/units/modules/network/netscaler/test_netscaler_gslb_service.py b/test/units/modules/network/netscaler/test_netscaler_gslb_service.py
index 8b5eaa9892e..c5497f73066 100644
--- a/test/units/modules/network/netscaler/test_netscaler_gslb_service.py
+++ b/test/units/modules/network/netscaler/test_netscaler_gslb_service.py
@@ -80,7 +80,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -94,7 +94,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -120,7 +120,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -144,7 +144,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -172,7 +172,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -199,7 +199,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -228,7 +228,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -256,7 +256,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -286,7 +286,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -315,7 +315,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -349,7 +349,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -386,7 +386,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -421,7 +421,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -457,7 +457,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -493,7 +493,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -531,7 +531,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -569,7 +569,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -606,7 +606,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -643,7 +643,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -680,7 +680,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
@@ -709,7 +709,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_service
diff --git a/test/units/modules/network/netscaler/test_netscaler_gslb_site.py b/test/units/modules/network/netscaler/test_netscaler_gslb_site.py
index 0cec388acdc..7f709e5cb17 100644
--- a/test/units/modules/network/netscaler/test_netscaler_gslb_site.py
+++ b/test/units/modules/network/netscaler/test_netscaler_gslb_site.py
@@ -70,7 +70,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -84,7 +84,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -110,7 +110,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -134,7 +134,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -161,7 +161,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -187,7 +187,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -215,7 +215,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -242,7 +242,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -271,7 +271,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -299,7 +299,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -332,7 +332,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -367,7 +367,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -401,7 +401,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -436,7 +436,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -471,7 +471,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -507,7 +507,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -543,7 +543,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -579,7 +579,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -615,7 +615,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
@@ -643,7 +643,7 @@ class TestNetscalerGSLBSiteModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_site
diff --git a/test/units/modules/network/netscaler/test_netscaler_gslb_vserver.py b/test/units/modules/network/netscaler/test_netscaler_gslb_vserver.py
index fa7ca41bfca..a30f559e29a 100644
--- a/test/units/modules/network/netscaler/test_netscaler_gslb_vserver.py
+++ b/test/units/modules/network/netscaler/test_netscaler_gslb_vserver.py
@@ -74,7 +74,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -88,7 +88,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -114,7 +114,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -138,7 +138,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -165,7 +165,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -192,7 +192,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -221,7 +221,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -248,7 +248,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -278,7 +278,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -306,7 +306,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -340,7 +340,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -378,7 +378,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -412,7 +412,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -448,7 +448,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -486,7 +486,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -524,7 +524,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -559,7 +559,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -596,7 +596,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -633,7 +633,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -669,7 +669,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -705,7 +705,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
@@ -733,7 +733,7 @@ class TestNetscalerGSLBVserverModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_gslb_vserver
diff --git a/test/units/modules/network/netscaler/test_netscaler_lb_monitor.py b/test/units/modules/network/netscaler/test_netscaler_lb_monitor.py
index e8891067853..0162dad0cb8 100644
--- a/test/units/modules/network/netscaler/test_netscaler_lb_monitor.py
+++ b/test/units/modules/network/netscaler/test_netscaler_lb_monitor.py
@@ -70,7 +70,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -84,7 +84,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -113,7 +113,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -135,7 +135,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -160,7 +160,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -186,7 +186,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -212,7 +212,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -239,7 +239,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -266,7 +266,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -294,7 +294,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -332,7 +332,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -358,7 +358,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -386,7 +386,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -412,7 +412,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -440,7 +440,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -464,7 +464,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_monitor
@@ -489,7 +489,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
diff --git a/test/units/modules/network/netscaler/test_netscaler_lb_vserver.py b/test/units/modules/network/netscaler/test_netscaler_lb_vserver.py
index f943bb89b35..f97ce8a66cc 100644
--- a/test/units/modules/network/netscaler/test_netscaler_lb_vserver.py
+++ b/test/units/modules/network/netscaler/test_netscaler_lb_vserver.py
@@ -78,7 +78,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -92,7 +92,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -118,7 +118,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -140,7 +140,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -166,7 +166,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -193,7 +193,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -220,7 +220,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -248,7 +248,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -276,7 +276,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -307,7 +307,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -347,7 +347,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -376,7 +376,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -406,7 +406,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -456,7 +456,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -506,7 +506,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
servicetype='SSL',
@@ -542,7 +542,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
servicetype='HTTP',
@@ -577,7 +577,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -609,7 +609,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -642,7 +642,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -673,7 +673,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -704,7 +704,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -735,7 +735,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -759,7 +759,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_lb_vserver
@@ -784,7 +784,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
@@ -811,7 +811,7 @@ class TestNetscalerLBVServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
diff --git a/test/units/modules/network/netscaler/test_netscaler_save_config.py b/test/units/modules/network/netscaler/test_netscaler_save_config.py
index d752dc8344f..43cafc4cf19 100644
--- a/test/units/modules/network/netscaler/test_netscaler_save_config.py
+++ b/test/units/modules/network/netscaler/test_netscaler_save_config.py
@@ -54,7 +54,7 @@ class TestNetscalerSaveConfigModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
))
from ansible.modules.network.netscaler import netscaler_save_config
@@ -79,7 +79,7 @@ class TestNetscalerSaveConfigModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
))
from ansible.modules.network.netscaler import netscaler_save_config
@@ -102,7 +102,7 @@ class TestNetscalerSaveConfigModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
))
from ansible.modules.network.netscaler import netscaler_save_config
@@ -128,7 +128,7 @@ class TestNetscalerSaveConfigModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
))
class MockException(Exception):
diff --git a/test/units/modules/network/netscaler/test_netscaler_server.py b/test/units/modules/network/netscaler/test_netscaler_server.py
index 237a56b2ffc..21a02767222 100644
--- a/test/units/modules/network/netscaler/test_netscaler_server.py
+++ b/test/units/modules/network/netscaler/test_netscaler_server.py
@@ -70,7 +70,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -84,7 +84,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -110,7 +110,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -134,7 +134,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -161,7 +161,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -188,7 +188,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -215,7 +215,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -243,7 +243,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -270,7 +270,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -298,7 +298,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
disabled=True,
graceful=True
@@ -333,7 +333,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -365,7 +365,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -399,7 +399,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -433,7 +433,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -467,7 +467,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -501,7 +501,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -537,7 +537,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -573,7 +573,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -609,7 +609,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -645,7 +645,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_server
@@ -672,7 +672,7 @@ class TestNetscalerServerModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_server
diff --git a/test/units/modules/network/netscaler/test_netscaler_service.py b/test/units/modules/network/netscaler/test_netscaler_service.py
index 2804583bd69..10c1a58e204 100644
--- a/test/units/modules/network/netscaler/test_netscaler_service.py
+++ b/test/units/modules/network/netscaler/test_netscaler_service.py
@@ -61,7 +61,7 @@ class TestNetscalerServiceModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state=state,
))
diff --git a/test/units/modules/network/netscaler/test_netscaler_servicegroup.py b/test/units/modules/network/netscaler/test_netscaler_servicegroup.py
index 8c2d8a526b5..dd5ebe44507 100644
--- a/test/units/modules/network/netscaler/test_netscaler_servicegroup.py
+++ b/test/units/modules/network/netscaler/test_netscaler_servicegroup.py
@@ -65,7 +65,7 @@ class TestNetscalerServicegroupModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state=state,
))
diff --git a/test/units/modules/network/netscaler/test_netscaler_ssl_certkey.py b/test/units/modules/network/netscaler/test_netscaler_ssl_certkey.py
index 3fe1e045fd0..d4b1ae5491a 100644
--- a/test/units/modules/network/netscaler/test_netscaler_ssl_certkey.py
+++ b/test/units/modules/network/netscaler/test_netscaler_ssl_certkey.py
@@ -70,7 +70,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
self.nitro_base_patcher.stop()
@@ -84,7 +84,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -110,7 +110,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -134,7 +134,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -161,7 +161,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -188,7 +188,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -213,7 +213,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
save_config=False,
))
@@ -241,7 +241,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
save_config=False,
))
@@ -267,7 +267,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -298,7 +298,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -331,7 +331,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -364,7 +364,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -397,7 +397,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -430,7 +430,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -465,7 +465,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -500,7 +500,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -535,7 +535,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -570,7 +570,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='present',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
@@ -597,7 +597,7 @@ class TestNetscalerSSLCertkeyModule(TestModule):
set_module_args(dict(
nitro_user='user',
nitro_pass='pass',
- nsip='1.1.1.1',
+ nsip='192.0.2.1',
state='absent',
))
from ansible.modules.network.netscaler import netscaler_ssl_certkey
diff --git a/test/units/modules/network/nxos/fixtures/_nxos_ip_interface.cfg b/test/units/modules/network/nxos/fixtures/_nxos_ip_interface.cfg
index 9b93da845a9..3ca37d78ee8 100644
--- a/test/units/modules/network/nxos/fixtures/_nxos_ip_interface.cfg
+++ b/test/units/modules/network/nxos/fixtures/_nxos_ip_interface.cfg
@@ -1,6 +1,6 @@
IP Interface Status for VRF "default"(1)
Ethernet2/4, Interface status: protocol-up/link-up/admin-up, iod: 39,
- IP address: 1.1.1.1, IP subnet: 1.1.1.0/8 route-preference: 0, tag: 0
+ IP address: 192.0.2.1, IP subnet: 1.1.1.0/8 route-preference: 0, tag: 0
IP broadcast address: 255.255.255.255
IP multicast groups locally joined: none
IP MTU: 1500 bytes (using link MTU)
diff --git a/test/units/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt b/test/units/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt
index 097b89a4582..ccf92c9913c 100644
--- a/test/units/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt
+++ b/test/units/modules/network/nxos/fixtures/nxos_acl_interface/show_running-config_aclmgr.txt
@@ -1,4 +1,4 @@
ip access-list ANSIBLE_OUT
- 10 permit tcp 1.1.1.1/24 any
+ 10 permit tcp 192.0.2.1/24 any
interface Ethernet1/41
ip access-group copp-system-p-acl-bgp out
diff --git a/test/units/modules/network/nxos/test_nxos_acl.py b/test/units/modules/network/nxos/test_nxos_acl.py
index fce8207ef3e..e18a83d8f3b 100644
--- a/test/units/modules/network/nxos/test_nxos_acl.py
+++ b/test/units/modules/network/nxos/test_nxos_acl.py
@@ -64,9 +64,9 @@ class TestNxosAclModule(TestNxosModule):
def test_nxos_acl(self):
set_module_args(dict(name='ANSIBLE', seq=10, action='permit',
- proto='tcp', src='1.1.1.1/24', dest='any'))
+ proto='tcp', src='192.0.2.1/24', dest='any'))
result = self.execute_module(changed=True)
- self.assertEqual(result['commands'], ['ip access-list ANSIBLE', '10 permit tcp 1.1.1.1/24 any'])
+ self.assertEqual(result['commands'], ['ip access-list ANSIBLE', '10 permit tcp 192.0.2.1/24 any'])
def test_nxos_acl_remove(self):
set_module_args(dict(name='copp-system-p-acl-bgp', seq=10, state='absent'))
diff --git a/test/units/modules/network/nxos/test_nxos_bgp.py b/test/units/modules/network/nxos/test_nxos_bgp.py
index ba0dedb508b..cc71c877aa2 100644
--- a/test/units/modules/network/nxos/test_nxos_bgp.py
+++ b/test/units/modules/network/nxos/test_nxos_bgp.py
@@ -47,9 +47,9 @@ class TestNxosBgpModule(TestNxosModule):
self.load_config.return_value = []
def test_nxos_bgp(self):
- set_module_args(dict(asn=65535, router_id='1.1.1.1'))
+ set_module_args(dict(asn=65535, router_id='192.0.2.1'))
result = self.execute_module(changed=True)
- self.assertEqual(result['commands'], ['router bgp 65535', 'router-id 1.1.1.1'])
+ self.assertEqual(result['commands'], ['router bgp 65535', 'router-id 192.0.2.1'])
def test_nxos_bgp_change_nothing(self):
set_module_args(dict(asn=65535, router_id='192.168.1.1'))
@@ -77,8 +77,8 @@ class TestNxosBgpModule(TestNxosModule):
self.execute_module(changed=False)
def test_nxos_bgp_vrf(self):
- set_module_args(dict(asn=65535, vrf='test', router_id='1.1.1.1'))
- result = self.execute_module(changed=True, commands=['router bgp 65535', 'vrf test', 'router-id 1.1.1.1'])
+ set_module_args(dict(asn=65535, vrf='test', router_id='192.0.2.1'))
+ result = self.execute_module(changed=True, commands=['router bgp 65535', 'vrf test', 'router-id 192.0.2.1'])
self.assertEqual(result['warnings'], ["VRF test doesn't exist."])
def test_nxos_bgp_global_param(self):
diff --git a/test/units/modules/network/nxos/test_nxos_bgp_neighbor.py b/test/units/modules/network/nxos/test_nxos_bgp_neighbor.py
index ffbd7b0a39f..e18d9581e62 100644
--- a/test/units/modules/network/nxos/test_nxos_bgp_neighbor.py
+++ b/test/units/modules/network/nxos/test_nxos_bgp_neighbor.py
@@ -47,8 +47,8 @@ class TestNxosBgpNeighborModule(TestNxosModule):
self.load_config.return_value = []
def test_nxos_bgp_neighbor(self):
- set_module_args(dict(asn=65535, neighbor='3.3.3.3', description='some words'))
- self.execute_module(changed=True, commands=['router bgp 65535', 'neighbor 3.3.3.3', 'description some words'])
+ set_module_args(dict(asn=65535, neighbor='192.0.2.3', description='some words'))
+ self.execute_module(changed=True, commands=['router bgp 65535', 'neighbor 192.0.2.3', 'description some words'])
def test_nxos_bgp_neighbor_remove_private_as(self):
set_module_args(dict(asn=65535, neighbor='3.3.3.4', remove_private_as='all'))
diff --git a/test/units/modules/network/nxos/test_nxos_bgp_neighbor_af.py b/test/units/modules/network/nxos/test_nxos_bgp_neighbor_af.py
index 7a0b1219ce3..ed0617a568a 100644
--- a/test/units/modules/network/nxos/test_nxos_bgp_neighbor_af.py
+++ b/test/units/modules/network/nxos/test_nxos_bgp_neighbor_af.py
@@ -47,11 +47,11 @@ class TestNxosBgpNeighborAfModule(TestNxosModule):
self.load_config.return_value = []
def test_nxos_bgp_neighbor_af(self):
- set_module_args(dict(asn=65535, neighbor='3.3.3.3', afi='ipv4',
+ set_module_args(dict(asn=65535, neighbor='192.0.2.3', afi='ipv4',
safi='unicast', route_reflector_client=True))
result = self.execute_module(changed=True)
self.assertEqual(result['commands'], [
- 'router bgp 65535', 'neighbor 3.3.3.3', 'address-family ipv4 unicast',
+ 'router bgp 65535', 'neighbor 192.0.2.3', 'address-family ipv4 unicast',
'route-reflector-client'
])
diff --git a/test/units/modules/network/nxos/test_nxos_ip_interface.py b/test/units/modules/network/nxos/test_nxos_ip_interface.py
index 59b2cbcef58..5b84dc63501 100644
--- a/test/units/modules/network/nxos/test_nxos_ip_interface.py
+++ b/test/units/modules/network/nxos/test_nxos_ip_interface.py
@@ -63,17 +63,17 @@ class TestNxosIPInterfaceModule(TestNxosModule):
result = self.execute_module(changed=True)
self.assertEqual(result['commands'],
['interface eth2/1',
- 'no ip address 1.1.1.1/8',
+ 'no ip address 192.0.2.1/8',
'ip address 1.1.1.2/8'])
def test_nxos_ip_interface_ip_idempotent(self):
- set_module_args(dict(interface='eth2/1', addr='1.1.1.1', mask=8))
+ set_module_args(dict(interface='eth2/1', addr='192.0.2.1', mask=8))
result = self.execute_module(changed=False)
self.assertEqual(result['commands'], [])
def test_nxos_ip_interface_ip_absent(self):
set_module_args(dict(interface='eth2/1', state='absent',
- addr='1.1.1.1', mask=8))
+ addr='192.0.2.1', mask=8))
result = self.execute_module(changed=True)
self.assertEqual(result['commands'],
- ['interface eth2/1', 'no ip address 1.1.1.1/8'])
+ ['interface eth2/1', 'no ip address 192.0.2.1/8'])
diff --git a/test/units/modules/network/nxos/test_nxos_static_route.py b/test/units/modules/network/nxos/test_nxos_static_route.py
index 8d126d806c5..2e04a6aefb6 100644
--- a/test/units/modules/network/nxos/test_nxos_static_route.py
+++ b/test/units/modules/network/nxos/test_nxos_static_route.py
@@ -47,17 +47,17 @@ class TestNxosStaticRouteModule(TestNxosModule):
self.load_config.return_value = None
def test_nxos_static_route_present(self):
- set_module_args(dict(prefix='192.168.20.64/24', next_hop='3.3.3.3'))
- self.execute_module(changed=True, commands=['ip route 192.168.20.0/24 3.3.3.3'])
+ set_module_args(dict(prefix='192.168.20.64/24', next_hop='192.0.2.3'))
+ self.execute_module(changed=True, commands=['ip route 192.168.20.0/24 192.0.2.3'])
def test_nxos_static_route_present_no_defaults(self):
- set_module_args(dict(prefix='192.168.20.64/24', next_hop='3.3.3.3',
+ set_module_args(dict(prefix='192.168.20.64/24', next_hop='192.0.2.3',
route_name='testing', pref=100))
- self.execute_module(changed=True, commands=['ip route 192.168.20.0/24 3.3.3.3 name testing 100'])
+ self.execute_module(changed=True, commands=['ip route 192.168.20.0/24 192.0.2.3 name testing 100'])
def test_nxos_static_route_present_vrf(self):
- set_module_args(dict(prefix='192.168.20.64/24', next_hop='3.3.3.3', vrf='test'))
- self.execute_module(changed=True, sort=False, commands=['vrf context test', 'ip route 192.168.20.0/24 3.3.3.3'])
+ set_module_args(dict(prefix='192.168.20.64/24', next_hop='192.0.2.3', vrf='test'))
+ self.execute_module(changed=True, sort=False, commands=['vrf context test', 'ip route 192.168.20.0/24 192.0.2.3'])
def test_nxos_static_route_no_change(self):
set_module_args(dict(prefix='10.10.30.64/24', next_hop='1.2.4.8'))
@@ -68,7 +68,7 @@ class TestNxosStaticRouteModule(TestNxosModule):
self.execute_module(changed=True, commands=['no ip route 10.10.30.0/24 1.2.4.8'])
def test_nxos_static_route_absent_no_change(self):
- set_module_args(dict(prefix='192.168.20.6/24', next_hop='3.3.3.3', state='absent'))
+ set_module_args(dict(prefix='192.168.20.6/24', next_hop='192.0.2.3', state='absent'))
self.execute_module(changed=False, commands=[])
def test_nxos_static_route_absent_vrf(self):