diff options
author | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-01-24 17:09:29 +0100 |
---|---|---|
committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-02-02 17:04:12 +0100 |
commit | 538f34cb203f7a8f064df01084016ebe54af797b (patch) | |
tree | 101aaa5ca2b7d6ad4ba8c37456dfa369e54fc34d | |
parent | Merge pull request #10409 from idryzhov/zebra-mq-clean-crash (diff) | |
download | frr-538f34cb203f7a8f064df01084016ebe54af797b.tar.xz frr-538f34cb203f7a8f064df01084016ebe54af797b.zip |
lib: Correct bug for TE metric wrong assignement
When link-param is enabled for a given interface, TE metric is automatically
assigned to the metric of the interface. However, the metric of the interface
could be unassigned and keep the default value equal to 0. Thus, if the TE
metric is not explicitely modified within the `link-param metric` statement,
TE metric remains set to 0 which is not a valid value especially when
computing constrainted path.
This patch changes the assignement of the default value of the TE metric.
It is set to the metric of the interface only if the latter is not equal to 0.
TE topotests for OSPF and IS-IS have been adjusted accordingly.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
14 files changed, 7 insertions, 98 deletions
@@ -1090,9 +1090,6 @@ struct if_link_params *if_link_params_get(struct interface *ifp) struct if_link_params *iflp = XCALLOC(MTYPE_IF_LINK_PARAMS, sizeof(struct if_link_params)); - /* Set TE metric equal to standard metric */ - iflp->te_metric = ifp->metric; - /* Compute default bandwidth based on interface */ iflp->default_bw = ((ifp->bandwidth ? ifp->bandwidth : DEFAULT_BANDWIDTH) @@ -1105,8 +1102,13 @@ struct if_link_params *if_link_params_get(struct interface *ifp) iflp->unrsv_bw[i] = iflp->default_bw; /* Update Link parameters status */ - iflp->lp_status = - LP_TE_METRIC | LP_MAX_BW | LP_MAX_RSV_BW | LP_UNRSV_BW; + iflp->lp_status = LP_MAX_BW | LP_MAX_RSV_BW | LP_UNRSV_BW; + + /* Set TE metric equal to standard metric only if it is set */ + if (ifp->metric != 0) { + iflp->te_metric = ifp->metric; + iflp->lp_status |= LP_TE_METRIC; + } /* Finally attach newly created Link Parameters */ ifp->link_params = iflp; diff --git a/tests/topotests/isis_te_topo1/reference/ted_step1.json b/tests/topotests/isis_te_topo1/reference/ted_step1.json index 7a4773380..027dd806c 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step1.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step1.json @@ -58,7 +58,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:1", "remote-address-v6":"2001:db8:1::1:2", "max-link-bandwidth":176258176.0, @@ -100,7 +99,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:2", "remote-address-v6":"2001:db8:1::1:1", "max-link-bandwidth":176258176.0, @@ -142,7 +140,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -184,7 +181,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -227,7 +223,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -363,7 +358,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -405,7 +399,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -447,7 +440,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -489,7 +481,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -531,7 +522,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -618,7 +608,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/isis_te_topo1/reference/ted_step2.json b/tests/topotests/isis_te_topo1/reference/ted_step2.json index 8277e6d53..2e9a5ec84 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step2.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step2.json @@ -58,7 +58,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -100,7 +99,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -143,7 +141,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -279,7 +276,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -321,7 +317,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -363,7 +358,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -450,7 +444,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/isis_te_topo1/reference/ted_step3.json b/tests/topotests/isis_te_topo1/reference/ted_step3.json index 0ade39884..5c7ccdd6a 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step3.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step3.json @@ -102,7 +102,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8::2", "max-link-bandwidth":176258176.0, "max-resv-link-bandwidth":176258176.0, @@ -143,7 +142,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -185,7 +183,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -228,7 +225,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -364,7 +360,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -406,7 +401,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -448,7 +442,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -535,7 +528,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/isis_te_topo1/reference/ted_step4.json b/tests/topotests/isis_te_topo1/reference/ted_step4.json index 0ade39884..5c7ccdd6a 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step4.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step4.json @@ -102,7 +102,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8::2", "max-link-bandwidth":176258176.0, "max-resv-link-bandwidth":176258176.0, @@ -143,7 +142,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -185,7 +183,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -228,7 +225,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -364,7 +360,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -406,7 +401,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -448,7 +442,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -535,7 +528,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/isis_te_topo1/reference/ted_step5.json b/tests/topotests/isis_te_topo1/reference/ted_step5.json index ba9bdb01f..48d475c72 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step5.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step5.json @@ -102,7 +102,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8::2", "max-link-bandwidth":176258176.0, "max-resv-link-bandwidth":176258176.0, @@ -143,7 +142,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:1", "remote-address-v6":"2001:db8:1::1:2", "max-link-bandwidth":176258176.0, @@ -185,7 +183,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:2", "remote-address-v6":"2001:db8:1::1:1", "max-link-bandwidth":176258176.0, @@ -227,7 +224,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -269,7 +265,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -312,7 +307,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -448,7 +442,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -490,7 +483,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -532,7 +524,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -574,7 +565,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -616,7 +606,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -703,7 +692,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/isis_te_topo1/reference/ted_step6.json b/tests/topotests/isis_te_topo1/reference/ted_step6.json index 83bb27235..75443a42e 100644 --- a/tests/topotests/isis_te_topo1/reference/ted_step6.json +++ b/tests/topotests/isis_te_topo1/reference/ted_step6.json @@ -102,7 +102,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8::2", "max-link-bandwidth":176258176.0, "max-resv-link-bandwidth":176258176.0, @@ -143,7 +142,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:1", "remote-address-v6":"2001:db8:1::1:2", "max-link-bandwidth":176258176.0, @@ -185,7 +183,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:1::1:2", "remote-address-v6":"2001:db8:1::1:1", "max-link-bandwidth":176258176.0, @@ -227,7 +224,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:3::3:2", "remote-address-v6":"2001:db8:3::3:3", "max-link-bandwidth":176258176.0, @@ -269,7 +265,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address-v6":"2001:db8:3::3:3", "remote-address-v6":"2001:db8:3::3:2", @@ -312,7 +307,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address-v6":"2001:db8:5::3:4", "remote-address-v6":"2001:db8:5::4:3", "max-link-bandwidth":176258176.0, @@ -448,7 +442,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -490,7 +483,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -532,7 +524,6 @@ "remote-vertex-id":1, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -574,7 +565,6 @@ "remote-vertex-id":3, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.3", "max-link-bandwidth":176258176.0, @@ -616,7 +606,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.3", "remote-address":"10.0.3.2", @@ -702,7 +691,6 @@ "remote-vertex-id":2, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.4", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step1.json b/tests/topotests/ospf_te_topo1/reference/ted_step1.json index 9624292cc..d6bfca63f 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step1.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step1.json @@ -109,7 +109,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -151,7 +150,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -193,7 +191,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -235,7 +232,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -278,7 +274,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -320,7 +315,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step2.json b/tests/topotests/ospf_te_topo1/reference/ted_step2.json index 623d1dc7e..ec30af603 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step2.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step2.json @@ -109,7 +109,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -151,7 +150,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -194,7 +192,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -236,7 +233,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step3.json b/tests/topotests/ospf_te_topo1/reference/ted_step3.json index 117011a43..853704b4f 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step3.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step3.json @@ -101,7 +101,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -143,7 +142,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -186,7 +184,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -228,7 +225,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step4.json b/tests/topotests/ospf_te_topo1/reference/ted_step4.json index 5c2dee1e4..0aa57713c 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step4.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step4.json @@ -136,7 +136,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -190,7 +189,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -233,7 +231,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -287,7 +284,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step5.json b/tests/topotests/ospf_te_topo1/reference/ted_step5.json index 47e747f3c..07637f304 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step5.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step5.json @@ -136,7 +136,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -190,7 +189,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -244,7 +242,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -298,7 +295,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -341,7 +337,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -395,7 +390,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step6.json b/tests/topotests/ospf_te_topo1/reference/ted_step6.json index 74bd83fbd..e9eee96ff 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step6.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step6.json @@ -136,7 +136,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -190,7 +189,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -244,7 +242,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -298,7 +295,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -341,7 +337,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, @@ -395,7 +390,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.4.1", "remote-address":"10.0.4.2", "max-link-bandwidth":176258176.0, diff --git a/tests/topotests/ospf_te_topo1/reference/ted_step7.json b/tests/topotests/ospf_te_topo1/reference/ted_step7.json index 1cea9f045..f912ae4a8 100644 --- a/tests/topotests/ospf_te_topo1/reference/ted_step7.json +++ b/tests/topotests/ospf_te_topo1/reference/ted_step7.json @@ -117,7 +117,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.0.2", "remote-address":"10.0.0.1", "max-link-bandwidth":176258176.0, @@ -171,7 +170,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.1", "remote-address":"10.0.1.2", "max-link-bandwidth":176258176.0, @@ -225,7 +223,6 @@ "remote-vertex-id":167837441, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.1.2", "remote-address":"10.0.1.1", "max-link-bandwidth":176258176.0, @@ -279,7 +276,6 @@ "remote-vertex-id":167837442, "metric":10, "edge-attributes":{ - "te-metric":0, "admin-group":32, "local-address":"10.0.3.1", "remote-address":"10.0.3.2", @@ -322,7 +318,6 @@ "remote-vertex-id":167837443, "metric":10, "edge-attributes":{ - "te-metric":0, "local-address":"10.0.3.2", "remote-address":"10.0.3.1", "max-link-bandwidth":176258176.0, |