summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/topotests/nhrp_redundancy/host/zebra.conf4
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_cache_nhs1_down.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json12
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_route_nhs1_down.json10
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json22
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut_nhs1_down.json20
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/nhrp_shortcut_present.json4
-rw-r--r--tests/topotests/nhrp_redundancy/nhc1/zebra.conf10
-rw-r--r--tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhc2/nhrp_cache_nhs1_down.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json12
-rw-r--r--tests/topotests/nhrp_redundancy/nhc2/nhrp_route_nhs1_down.json10
-rw-r--r--tests/topotests/nhrp_redundancy/nhc2/zebra.conf10
-rw-r--r--tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhs1/zebra.conf6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs2/nhrp_cache_nhs1_down.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhs2/nhrp_route_nhs1_down.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhs2/zebra.conf6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs3/nhrp_cache_nhs1_down.json6
-rw-r--r--tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhs3/nhrp_route_nhs1_down.json8
-rw-r--r--tests/topotests/nhrp_redundancy/nhs3/zebra.conf6
-rw-r--r--tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot4
-rw-r--r--tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py36
29 files changed, 135 insertions, 135 deletions
diff --git a/tests/topotests/nhrp_redundancy/host/zebra.conf b/tests/topotests/nhrp_redundancy/host/zebra.conf
index 58c8cb2c4b..8bb7da0ad6 100644
--- a/tests/topotests/nhrp_redundancy/host/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/host/zebra.conf
@@ -1,4 +1,4 @@
interface host-eth0
- ip address 4.4.4.7/24
+ ip address 10.4.4.7/24
!
-ip route 0.0.0.0/0 4.4.4.4
+ip route 0.0.0.0/0 10.4.4.4
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json
index 5d2cf6fb5e..9e8a5c999d 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache.json
@@ -6,7 +6,7 @@
{
"interface": "nhc1-gre0",
"type": "nhs",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhc1-gre0",
"type": "local",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhc1-gre0",
"type": "nhs",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
@@ -39,7 +39,7 @@
{
"interface": "nhc1-gre0",
"type": "nhs",
- "protocol": "176.16.1.1",
+ "protocol": "172.16.1.1",
"nbma": "192.168.1.1",
"claimed_nbma": "192.168.1.1",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache_nhs1_down.json
index 7ceebc321e..5b91f3bcfb 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_cache_nhs1_down.json
@@ -6,7 +6,7 @@
{
"interface": "nhc1-gre0",
"type": "nhs",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhc1-gre0",
"type": "local",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhc1-gre0",
"type": "nhs",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json
index 2af62dd4d6..083675651f 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route.json
@@ -1,7 +1,7 @@
{
- "176.16.1.1\/32": [
+ "172.16.1.1\/32": [
{
- "prefix": "176.16.1.1\/32",
+ "prefix": "172.16.1.1\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.2\/32": [
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -45,9 +45,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_nhs1_down.json
index a8fd1934d6..bfb468b0fb 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_nhs1_down.json
@@ -1,8 +1,8 @@
{
- "176.16.1.1\/32": null,
- "176.16.1.2\/32": [
+ "172.16.1.1\/32": null,
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -23,9 +23,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json
index 2111e27583..3a91f1baaa 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut.json
@@ -1,7 +1,7 @@
{
- "5.5.5.0\/24": [
+ "10.5.5.0\/24": [
{
- "prefix": "5.5.5.0\/24",
+ "prefix": "10.5.5.0\/24",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -15,7 +15,7 @@
"nexthops": [
{
"fib": true,
- "ip": "176.16.1.5",
+ "ip": "172.16.1.5",
"afi": "ipv4",
"interfaceName": "nhc1-gre0",
"active": true
@@ -23,9 +23,9 @@
]
}
],
- "176.16.1.1\/32": [
+ "172.16.1.1\/32": [
{
- "prefix": "176.16.1.1\/32",
+ "prefix": "172.16.1.1\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -46,9 +46,9 @@
]
}
],
- "176.16.1.2\/32": [
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -69,9 +69,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -92,9 +92,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut_nhs1_down.json
index 38e5000324..0f38feb6a8 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_route_shortcut_nhs1_down.json
@@ -1,7 +1,7 @@
{
- "5.5.5.0\/24": [
+ "10.5.5.0\/24": [
{
- "prefix": "5.5.5.0\/24",
+ "prefix": "10.5.5.0\/24",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -15,7 +15,7 @@
"nexthops": [
{
"fib": true,
- "ip": "176.16.1.5",
+ "ip": "172.16.1.5",
"afi": "ipv4",
"interfaceName": "nhc1-gre0",
"active": true
@@ -23,10 +23,10 @@
]
}
],
- "176.16.1.1\/32": null,
- "176.16.1.2\/32": [
+ "172.16.1.1\/32": null,
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -47,9 +47,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -70,9 +70,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc1/nhrp_shortcut_present.json b/tests/topotests/nhrp_redundancy/nhc1/nhrp_shortcut_present.json
index 40a7086b1c..4547c59c88 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/nhrp_shortcut_present.json
+++ b/tests/topotests/nhrp_redundancy/nhc1/nhrp_shortcut_present.json
@@ -2,8 +2,8 @@
"table":[
{
"type":"dynamic",
- "prefix":"5.5.5.0/24",
- "via":"176.16.1.5"
+ "prefix":"10.5.5.0/24",
+ "via":"172.16.1.5"
}
]
}
diff --git a/tests/topotests/nhrp_redundancy/nhc1/zebra.conf b/tests/topotests/nhrp_redundancy/nhc1/zebra.conf
index db25964ee4..07d9175418 100644
--- a/tests/topotests/nhrp_redundancy/nhc1/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/nhc1/zebra.conf
@@ -4,13 +4,13 @@ interface nhc1-eth0
!
ip route 192.168.1.0/24 192.168.2.6
interface nhc1-gre0
- ip address 176.16.1.4/32
+ ip address 172.16.1.4/32
no link-detect
ipv6 nd suppress-ra
!
interface nhc1-eth1
- ip address 4.4.4.4/24
+ ip address 10.4.4.4/24
!
-ip route 0.0.0.0/0 176.16.1.1 50
-ip route 0.0.0.0/0 176.16.1.2 60
-ip route 0.0.0.0/0 176.16.1.3 70 \ No newline at end of file
+ip route 0.0.0.0/0 172.16.1.1 50
+ip route 0.0.0.0/0 172.16.1.2 60
+ip route 0.0.0.0/0 172.16.1.3 70 \ No newline at end of file
diff --git a/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json b/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json
index fa0f07aacf..8ee02a7cbf 100644
--- a/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json
+++ b/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache.json
@@ -6,7 +6,7 @@
{
"interface": "nhc2-gre0",
"type": "nhs",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhc2-gre0",
"type": "nhs",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhc2-gre0",
"type": "nhs",
- "protocol": "176.16.1.1",
+ "protocol": "172.16.1.1",
"nbma": "192.168.1.1",
"claimed_nbma": "192.168.1.1",
"used": false,
@@ -39,7 +39,7 @@
{
"interface": "nhc2-gre0",
"type": "local",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache_nhs1_down.json
index a76c85231d..bb1c483718 100644
--- a/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhc2/nhrp_cache_nhs1_down.json
@@ -6,7 +6,7 @@
{
"interface": "nhc2-gre0",
"type": "nhs",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhc2-gre0",
"type": "nhs",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhc2-gre0",
"type": "local",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json b/tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json
index a8f61861bc..a69c0caec3 100644
--- a/tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json
+++ b/tests/topotests/nhrp_redundancy/nhc2/nhrp_route.json
@@ -1,7 +1,7 @@
{
- "176.16.1.1\/32": [
+ "172.16.1.1\/32": [
{
- "prefix": "176.16.1.1\/32",
+ "prefix": "172.16.1.1\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.2\/32": [
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -45,9 +45,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc2/nhrp_route_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhc2/nhrp_route_nhs1_down.json
index fd7c4c8f39..e2dd9dde23 100644
--- a/tests/topotests/nhrp_redundancy/nhc2/nhrp_route_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhc2/nhrp_route_nhs1_down.json
@@ -1,8 +1,8 @@
{
- "176.16.1.1\/32": null,
- "176.16.1.2\/32": [
+ "172.16.1.1\/32": null,
+ "172.16.1.2\/32": [
{
- "prefix": "176.16.1.2\/32",
+ "prefix": "172.16.1.2\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -23,9 +23,9 @@
]
}
],
- "176.16.1.3\/32": [
+ "172.16.1.3\/32": [
{
- "prefix": "176.16.1.3\/32",
+ "prefix": "172.16.1.3\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhc2/zebra.conf b/tests/topotests/nhrp_redundancy/nhc2/zebra.conf
index be22fc0ae5..30ea6d4d1d 100644
--- a/tests/topotests/nhrp_redundancy/nhc2/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/nhc2/zebra.conf
@@ -4,13 +4,13 @@ interface nhc2-eth0
!
ip route 192.168.1.0/24 192.168.2.6
interface nhc2-gre0
- ip address 176.16.1.5/32
+ ip address 172.16.1.5/32
no link-detect
ipv6 nd suppress-ra
!
interface nhc2-eth1
- ip address 5.5.5.5/24
+ ip address 10.5.5.5/24
!
-ip route 0.0.0.0/0 176.16.1.1 50
-ip route 0.0.0.0/0 176.16.1.2 60
-ip route 0.0.0.0/0 176.16.1.3 70
+ip route 0.0.0.0/0 172.16.1.1 50
+ip route 0.0.0.0/0 172.16.1.2 60
+ip route 0.0.0.0/0 172.16.1.3 70
diff --git a/tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json b/tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json
index 920644e67d..11d41d1b83 100644
--- a/tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json
+++ b/tests/topotests/nhrp_redundancy/nhs1/nhrp_cache.json
@@ -6,7 +6,7 @@
{
"interface": "nhs1-gre0",
"type": "dynamic",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhs1-gre0",
"type": "local",
- "protocol": "176.16.1.1",
+ "protocol": "172.16.1.1",
"nbma": "192.168.1.1",
"claimed_nbma": "192.168.1.1",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhs1-gre0",
"type": "dynamic",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json b/tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json
index d89719c802..2574b1a5d2 100644
--- a/tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json
+++ b/tests/topotests/nhrp_redundancy/nhs1/nhrp_route.json
@@ -1,7 +1,7 @@
{
- "176.16.1.4\/32": [
+ "172.16.1.4\/32": [
{
- "prefix": "176.16.1.4\/32",
+ "prefix": "172.16.1.4\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhs1/zebra.conf b/tests/topotests/nhrp_redundancy/nhs1/zebra.conf
index d116612c4f..718e01b991 100644
--- a/tests/topotests/nhrp_redundancy/nhs1/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/nhs1/zebra.conf
@@ -4,9 +4,9 @@ interface nhs1-eth0
!
ip route 192.168.2.0/24 192.168.1.6
interface nhs1-gre0
- ip address 176.16.1.1/32
+ ip address 172.16.1.1/32
no link-detect
ipv6 nd suppress-ra
!
-ip route 4.4.4.0/24 176.16.1.4
-ip route 5.5.5.0/24 176.16.1.5
+ip route 10.4.4.0/24 172.16.1.4
+ip route 10.5.5.0/24 172.16.1.5
diff --git a/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json b/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json
index c0538203c7..6343c4deb9 100644
--- a/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json
+++ b/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache.json
@@ -6,7 +6,7 @@
{
"interface": "nhs2-gre0",
"type": "local",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhs2-gre0",
"type": "dynamic",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhs2-gre0",
"type": "dynamic",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache_nhs1_down.json
index c0538203c7..6343c4deb9 100644
--- a/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhs2/nhrp_cache_nhs1_down.json
@@ -6,7 +6,7 @@
{
"interface": "nhs2-gre0",
"type": "local",
- "protocol": "176.16.1.2",
+ "protocol": "172.16.1.2",
"nbma": "192.168.1.2",
"claimed_nbma": "192.168.1.2",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhs2-gre0",
"type": "dynamic",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhs2-gre0",
"type": "dynamic",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json b/tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json
index 25086be7e8..0ad37fc319 100644
--- a/tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json
+++ b/tests/topotests/nhrp_redundancy/nhs2/nhrp_route.json
@@ -1,7 +1,7 @@
{
- "176.16.1.4\/32": [
+ "172.16.1.4\/32": [
{
- "prefix": "176.16.1.4\/32",
+ "prefix": "172.16.1.4\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhs2/nhrp_route_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhs2/nhrp_route_nhs1_down.json
index 25086be7e8..0ad37fc319 100644
--- a/tests/topotests/nhrp_redundancy/nhs2/nhrp_route_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhs2/nhrp_route_nhs1_down.json
@@ -1,7 +1,7 @@
{
- "176.16.1.4\/32": [
+ "172.16.1.4\/32": [
{
- "prefix": "176.16.1.4\/32",
+ "prefix": "172.16.1.4\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhs2/zebra.conf b/tests/topotests/nhrp_redundancy/nhs2/zebra.conf
index bf482b5837..6001bf21c0 100644
--- a/tests/topotests/nhrp_redundancy/nhs2/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/nhs2/zebra.conf
@@ -4,9 +4,9 @@ interface nhs2-eth0
!
ip route 192.168.2.0/24 192.168.1.6
interface nhs2-gre0
- ip address 176.16.1.2/32
+ ip address 172.16.1.2/32
no link-detect
ipv6 nd suppress-ra
!
-ip route 4.4.4.0/24 176.16.1.4
-ip route 5.5.5.0/24 176.16.1.5
+ip route 10.4.4.0/24 172.16.1.4
+ip route 10.5.5.0/24 172.16.1.5
diff --git a/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json b/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json
index 9bcf0f78c2..d911de348b 100644
--- a/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json
+++ b/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache.json
@@ -6,7 +6,7 @@
{
"interface": "nhs3-gre0",
"type": "dynamic",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhs3-gre0",
"type": "local",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhs3-gre0",
"type": "dynamic",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache_nhs1_down.json
index 9bcf0f78c2..d911de348b 100644
--- a/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhs3/nhrp_cache_nhs1_down.json
@@ -6,7 +6,7 @@
{
"interface": "nhs3-gre0",
"type": "dynamic",
- "protocol": "176.16.1.4",
+ "protocol": "172.16.1.4",
"nbma": "192.168.2.4",
"claimed_nbma": "192.168.2.4",
"used": false,
@@ -17,7 +17,7 @@
{
"interface": "nhs3-gre0",
"type": "local",
- "protocol": "176.16.1.3",
+ "protocol": "172.16.1.3",
"nbma": "192.168.1.3",
"claimed_nbma": "192.168.1.3",
"used": false,
@@ -28,7 +28,7 @@
{
"interface": "nhs3-gre0",
"type": "dynamic",
- "protocol": "176.16.1.5",
+ "protocol": "172.16.1.5",
"nbma": "192.168.2.5",
"claimed_nbma": "192.168.2.5",
"used": false,
diff --git a/tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json b/tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json
index a5a493c973..29a4f8f11b 100644
--- a/tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json
+++ b/tests/topotests/nhrp_redundancy/nhs3/nhrp_route.json
@@ -1,7 +1,7 @@
{
- "176.16.1.4\/32": [
+ "172.16.1.4\/32": [
{
- "prefix": "176.16.1.4\/32",
+ "prefix": "172.16.1.4\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhs3/nhrp_route_nhs1_down.json b/tests/topotests/nhrp_redundancy/nhs3/nhrp_route_nhs1_down.json
index a5a493c973..29a4f8f11b 100644
--- a/tests/topotests/nhrp_redundancy/nhs3/nhrp_route_nhs1_down.json
+++ b/tests/topotests/nhrp_redundancy/nhs3/nhrp_route_nhs1_down.json
@@ -1,7 +1,7 @@
{
- "176.16.1.4\/32": [
+ "172.16.1.4\/32": [
{
- "prefix": "176.16.1.4\/32",
+ "prefix": "172.16.1.4\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
@@ -22,9 +22,9 @@
]
}
],
- "176.16.1.5\/32": [
+ "172.16.1.5\/32": [
{
- "prefix": "176.16.1.5\/32",
+ "prefix": "172.16.1.5\/32",
"protocol": "nhrp",
"vrfId": 0,
"vrfName": "default",
diff --git a/tests/topotests/nhrp_redundancy/nhs3/zebra.conf b/tests/topotests/nhrp_redundancy/nhs3/zebra.conf
index 2aac2eabbf..7c15438817 100644
--- a/tests/topotests/nhrp_redundancy/nhs3/zebra.conf
+++ b/tests/topotests/nhrp_redundancy/nhs3/zebra.conf
@@ -4,9 +4,9 @@ interface nhs3-eth0
!
ip route 192.168.2.0/24 192.168.1.6
interface nhs3-gre0
- ip address 176.16.1.3/32
+ ip address 172.16.1.3/32
no link-detect
ipv6 nd suppress-ra
!
-ip route 4.4.4.0/24 176.16.1.4
-ip route 5.5.5.0/24 176.16.1.5 \ No newline at end of file
+ip route 10.4.4.0/24 172.16.1.4
+ip route 10.5.5.0/24 172.16.1.5 \ No newline at end of file
diff --git a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot
index 8a3363d1ae..e94e1d0734 100644
--- a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot
+++ b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.dot
@@ -74,13 +74,13 @@ graph template {
];
sw3 [
shape=oval,
- label="sw3\n4.4.4.0/24",
+ label="sw3\n10.4.4.0/24",
fillcolor="#d0e0d0",
style=filled,
];
sw4 [
shape=oval,
- label="sw4\n5.5.5.0/24",
+ label="sw4\n10.5.5.0/24",
fillcolor="#d0e0d0",
style=filled,
];
diff --git a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py
index 9b4933e43d..06777aaa23 100644
--- a/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py
+++ b/tests/topotests/nhrp_redundancy/test_nhrp_redundancy.py
@@ -56,11 +56,11 @@ TOPOLOGY = """
+------------+ | +-------+----+ +------+-----+ |
| | | | | | | |
| | +--------+ | | | |
-| Host |.7 | | NHC 1 | | NHC 2 +-----+5.5.5.0/24
+| Host |.7 | | NHC 1 | | NHC 2 +-----+10.5.5.0/24
| +---------+ | | | | |
+------------+ | +------------+ +------------+ |
| |
- 4.4.4.0/24
+ 10.4.4.0/24
"""
# Save the Current Working Directory to find configuration files.
@@ -237,8 +237,8 @@ def test_protocols_convergence():
# Test connectivity from 1 NHRP server to all clients
nhs1 = tgen.gears["nhs1"]
- logger.info("Check Ping IPv4 from nhs1 to nhc1 = 176.16.1.4)")
- output = nhs1.run("ping 176.16.1.4 -f -c 1000")
+ logger.info("Check Ping IPv4 from nhs1 to nhc1 = 172.16.1.4)")
+ output = nhs1.run("ping 172.16.1.4 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from nhs1 to nhc1 should be ok"
@@ -246,8 +246,8 @@ def test_protocols_convergence():
else:
logger.info("Check Ping IPv4 from nhs1 to nhc1 OK")
- logger.info("Check Ping IPv4 from nhs1 to nhc2 = 176.16.1.5)")
- output = nhs1.run("ping 176.16.1.5 -f -c 1000")
+ logger.info("Check Ping IPv4 from nhs1 to nhc2 = 172.16.1.5)")
+ output = nhs1.run("ping 172.16.1.5 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from nhs1 to nhc2 should be ok"
@@ -257,8 +257,8 @@ def test_protocols_convergence():
# Test connectivity from 1 NHRP client to all servers
nhc1 = tgen.gears["nhc1"]
- logger.info("Check Ping IPv4 from nhc1 to nhs1 = 176.16.1.1)")
- output = nhc1.run("ping 176.16.1.1 -f -c 1000")
+ logger.info("Check Ping IPv4 from nhc1 to nhs1 = 172.16.1.1)")
+ output = nhc1.run("ping 172.16.1.1 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from nhc1 to nhs1 should be ok"
@@ -266,8 +266,8 @@ def test_protocols_convergence():
else:
logger.info("Check Ping IPv4 from nhc1 to nhs1 OK")
- logger.info("Check Ping IPv4 from nhc1 to nhs2 = 176.16.1.2)")
- output = nhc1.run("ping 176.16.1.2 -f -c 1000")
+ logger.info("Check Ping IPv4 from nhc1 to nhs2 = 172.16.1.2)")
+ output = nhc1.run("ping 172.16.1.2 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from nhc1 to nhs2 should be ok"
@@ -275,8 +275,8 @@ def test_protocols_convergence():
else:
logger.info("Check Ping IPv4 from nhc1 to nhs2 OK")
- logger.info("Check Ping IPv4 from nhc1 to nhs3 = 176.16.1.3)")
- output = nhc1.run("ping 176.16.1.3 -f -c 1000")
+ logger.info("Check Ping IPv4 from nhc1 to nhs3 = 172.16.1.3)")
+ output = nhc1.run("ping 172.16.1.3 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from nhc1 to nhs3 should be ok"
@@ -292,9 +292,9 @@ def verify_shortcut_path():
"""
tgen = get_topogen()
host = tgen.gears["host"]
- logger.info("Check Ping IPv4 from host to nhc2 = 5.5.5.5")
+ logger.info("Check Ping IPv4 from host to nhc2 = 10.5.5.5")
- output = host.run("ping 5.5.5.5 -f -c 1000")
+ output = host.run("ping 10.5.5.5 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from host to nhc2 should be ok"
@@ -336,9 +336,9 @@ def test_redundancy_shortcut():
# Initiate shortcut by pinging between clients
host = tgen.gears["host"]
- logger.info("Check Ping IPv4 from host to nhc2 via shortcut = 5.5.5.5")
+ logger.info("Check Ping IPv4 from host to nhc2 via shortcut = 10.5.5.5")
- output = host.run("ping 5.5.5.5 -f -c 1000")
+ output = host.run("ping 10.5.5.5 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from host to nhc2 via shortcut should be ok"
@@ -452,9 +452,9 @@ def test_redundancy_shortcut_backup():
# Verify shortcut is still active
host = tgen.gears["host"]
- logger.info("Check Ping IPv4 from host to nhc2 via shortcut = 5.5.5.5")
+ logger.info("Check Ping IPv4 from host to nhc2 via shortcut = 10.5.5.5")
- output = host.run("ping 5.5.5.5 -f -c 1000")
+ output = host.run("ping 10.5.5.5 -f -c 1000")
logger.info(output)
if "1000 packets transmitted, 1000 received" not in output:
assertmsg = "expected ping IPv4 from host to nhc2 via shortcut should be ok"