summaryrefslogtreecommitdiffstats
path: root/tests/topotests/ospf_metric_propagation/r1
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
commit289582b3dcbeb23328325d224c7db7de66a3a55f (patch)
tree989c36d57aab945c36e34c952f438746ce18b3bd /tests/topotests/ospf_metric_propagation/r1
parentReleasing progress-linux version 10.0.1-0.1~progress7.99u1. (diff)
downloadfrr-289582b3dcbeb23328325d224c7db7de66a3a55f.tar.xz
frr-289582b3dcbeb23328325d224c7db7de66a3a55f.zip
Merging upstream version 10.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/ospf_metric_propagation/r1')
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/frr.conf6
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-1.json19
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-2.json19
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-3.json19
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-4.json19
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-5.json19
-rw-r--r--tests/topotests/ospf_metric_propagation/r1/show_ip_route-6.json19
7 files changed, 9 insertions, 111 deletions
diff --git a/tests/topotests/ospf_metric_propagation/r1/frr.conf b/tests/topotests/ospf_metric_propagation/r1/frr.conf
index 8523049..4966e6a 100644
--- a/tests/topotests/ospf_metric_propagation/r1/frr.conf
+++ b/tests/topotests/ospf_metric_propagation/r1/frr.conf
@@ -8,18 +8,18 @@ interface r1-eth0
ip address 10.0.1.1/24
ip ospf cost 100
ip ospf hello-interval 1
- ip ospf dead-interval 30
+ ip ospf dead-interval 40
!
interface r1-eth1 vrf blue
ip address 10.0.10.1/24
ip ospf hello-interval 1
- ip ospf dead-interval 30
+ ip ospf dead-interval 40
!
!
interface r1-eth2 vrf green
ip address 10.0.91.1/24
ip ospf hello-interval 1
- ip ospf dead-interval 30
+ ip ospf dead-interval 40
!
!
router ospf
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-1.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-1.json
index 4f1ced8..2392b40 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-1.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-1.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":34,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.10.5",
- "afi":"ipv4",
"interfaceName":"r1-eth1",
- "vrf":"blue",
- "active":true,
- "weight":1
+ "vrf":"blue"
}
]
}
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-2.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-2.json
index 882d3ca..9a3d3d8 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-2.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-2.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":136,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.1.2",
- "afi":"ipv4",
"interfaceName":"r1-eth0",
- "vrf":"default",
- "active":true,
- "weight":1
+ "vrf":"default"
}
]
}
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-3.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-3.json
index cd52845..5f0331f 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-3.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-3.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":1138,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.1.2",
- "afi":"ipv4",
"interfaceName":"r1-eth0",
- "vrf":"default",
- "active":true,
- "weight":1
+ "vrf":"default"
}
]
}
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-4.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-4.json
index 133f375..f312291 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-4.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-4.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":1218,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.1.2",
- "afi":"ipv4",
"interfaceName":"r1-eth0",
- "vrf":"default",
- "active":true,
- "weight":1
+ "vrf":"default"
}
]
}
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-5.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-5.json
index 5d80509..e88c037 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-5.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-5.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":238,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.1.2",
- "afi":"ipv4",
"interfaceName":"r1-eth0",
- "vrf":"default",
- "active":true,
- "weight":1
+ "vrf":"default"
}
]
}
diff --git a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-6.json b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-6.json
index 1b59707..f1fec86 100644
--- a/tests/topotests/ospf_metric_propagation/r1/show_ip_route-6.json
+++ b/tests/topotests/ospf_metric_propagation/r1/show_ip_route-6.json
@@ -2,32 +2,15 @@
"10.0.94.0/24":[
{
"prefix":"10.0.94.0/24",
- "prefixLen":24,
"protocol":"bgp",
"vrfName":"green",
- "selected":true,
- "destSelected":true,
- "distance":20,
"metric":136,
"installed":true,
- "table":12,
- "internalStatus":16,
- "internalFlags":8,
- "internalNextHopNum":1,
- "internalNextHopActiveNum":1,
- "nexthopGroupId":"*",
- "installedNexthopGroupId":"*",
- "uptime":"*",
"nexthops":[
{
- "flags":3,
- "fib":true,
"ip":"10.0.10.5",
- "afi":"ipv4",
"interfaceName":"r1-eth1",
- "vrf":"blue",
- "active":true,
- "weight":1
+ "vrf":"blue"
}
]
}