summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf6_gr_topo1
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2023-10-24 08:53:36 +0300
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-10-26 07:39:29 +0300
commit8aeb17d692f3041841789a4c518d99a7a3e8a82b (patch)
tree3da899389354cad4a3eeb66b328453342d0c1e3c /tests/topotests/ospf6_gr_topo1
parentd7e97146439db054653c0fa12290a67c9bea3b80 (diff)
tests: Adopt ospf6_gr_topo1 tests for OSPFv3 loopback cost as 0
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/ospf6_gr_topo1')
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt1/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt2/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt3/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt4/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt5/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt6/show_ipv6_route.json14
-rw-r--r--tests/topotests/ospf6_gr_topo1/rt7/show_ipv6_route.json14
7 files changed, 49 insertions, 49 deletions
diff --git a/tests/topotests/ospf6_gr_topo1/rt1/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt1/show_ipv6_route.json
index 66ee57ce84..181d376774 100644
--- a/tests/topotests/ospf6_gr_topo1/rt1/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt1/show_ipv6_route.json
@@ -6,7 +6,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -25,7 +25,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -45,7 +45,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -65,7 +65,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -85,7 +85,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
@@ -105,7 +105,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt2/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt2/show_ipv6_route.json
index 624ff709e3..13b5cd4468 100644
--- a/tests/topotests/ospf6_gr_topo1/rt2/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt2/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -26,7 +26,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -45,7 +45,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -65,7 +65,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -85,7 +85,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -105,7 +105,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt3/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt3/show_ipv6_route.json
index f9b43dcdb9..db6ec3e3a8 100644
--- a/tests/topotests/ospf6_gr_topo1/rt3/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt3/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -28,7 +28,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -46,7 +46,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -65,7 +65,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -85,7 +85,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -105,7 +105,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt4/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt4/show_ipv6_route.json
index f5212da4f6..08ccff2fc5 100644
--- a/tests/topotests/ospf6_gr_topo1/rt4/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt4/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -28,7 +28,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -48,7 +48,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -66,7 +66,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -85,7 +85,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -105,7 +105,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt5/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt5/show_ipv6_route.json
index 5ea4f699fe..8ddd55b132 100644
--- a/tests/topotests/ospf6_gr_topo1/rt5/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt5/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
@@ -28,7 +28,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -48,7 +48,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -68,7 +68,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -86,7 +86,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -105,7 +105,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt6/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt6/show_ipv6_route.json
index 862f1baffb..9d45b09be8 100644
--- a/tests/topotests/ospf6_gr_topo1/rt6/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt6/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -28,7 +28,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -48,7 +48,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -68,7 +68,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -88,7 +88,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -106,7 +106,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,
@@ -125,7 +125,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
diff --git a/tests/topotests/ospf6_gr_topo1/rt7/show_ipv6_route.json b/tests/topotests/ospf6_gr_topo1/rt7/show_ipv6_route.json
index f5f8f710e5..c4f841468d 100644
--- a/tests/topotests/ospf6_gr_topo1/rt7/show_ipv6_route.json
+++ b/tests/topotests/ospf6_gr_topo1/rt7/show_ipv6_route.json
@@ -8,7 +8,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
@@ -28,7 +28,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -48,7 +48,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":30,
+ "metric":20,
"installed":true,
"nexthops":[
{
@@ -68,7 +68,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":40,
+ "metric":30,
"installed":true,
"nexthops":[
{
@@ -88,7 +88,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":50,
+ "metric":40,
"installed":true,
"nexthops":[
{
@@ -108,7 +108,7 @@
"selected":true,
"destSelected":true,
"distance":110,
- "metric":20,
+ "metric":10,
"installed":true,
"nexthops":[
{
@@ -126,7 +126,7 @@
"vrfId":0,
"vrfName":"default",
"distance":110,
- "metric":10,
+ "metric":0,
"nexthops":[
{
"directlyConnected":true,