mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-17 21:38:11 +00:00
isis-topo1: fix IPv6 changes and remove metric
IPv6 metric for FRR version <3.X is different than for newer versions, so to avoid extra code logic lets just ignore these checks. The IPv6 changes weren't detected earlier because of the json_cmp list fix. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
ae6be66b8c
commit
62accdecd8
@ -76,7 +76,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3",
|
"interface": "r3",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r1-eth0",
|
"parent": "r1-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -84,7 +83,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3",
|
"interface": "r3",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r1-eth0",
|
"parent": "r1-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
|
@ -76,7 +76,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r4",
|
"interface": "r4",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r2-eth0",
|
"parent": "r2-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -84,7 +83,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r4",
|
"interface": "r4",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r2-eth0",
|
"parent": "r2-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
"metric": "internal",
|
"metric": "internal",
|
||||||
"parent": "0",
|
"parent": "0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:1:1::/64"
|
"vertex": "2001:db8:2:1::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3-eth1",
|
"interface": "r3-eth1",
|
||||||
@ -87,15 +87,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r3-eth1",
|
"parent": "r3-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:1:2::/64"
|
"vertex": "2001:db8:2:2::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r3-eth1",
|
"parent": "r3-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -110,15 +108,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "20",
|
"next-hop": "20",
|
||||||
"parent": "r3-eth1",
|
"parent": "r3-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:2:2::/64"
|
"vertex": "2001:db8:1:2::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "20",
|
"next-hop": "20",
|
||||||
"parent": "r3-eth1",
|
"parent": "r3-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -170,7 +166,7 @@
|
|||||||
"metric": "internal",
|
"metric": "internal",
|
||||||
"parent": "0",
|
"parent": "0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:2:1::/64"
|
"vertex": "2001:db8:1:1::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3-eth0",
|
"interface": "r3-eth0",
|
||||||
@ -182,15 +178,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r1",
|
"interface": "r1",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
|
||||||
"parent": "r3-eth0",
|
|
||||||
"type": "IP6",
|
|
||||||
"vertex": "2001:db8:1:1::/64"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"interface": "r1",
|
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r3-eth0",
|
"parent": "r3-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
|
@ -87,7 +87,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r4-eth1",
|
"parent": "r4-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -95,7 +94,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r4-eth1",
|
"parent": "r4-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -110,15 +108,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "20",
|
"next-hop": "20",
|
||||||
"parent": "r4-eth1",
|
"parent": "r4-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:2:1::/64"
|
"vertex": "2001:db8:1:1::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5",
|
"interface": "r5",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "20",
|
"next-hop": "20",
|
||||||
"parent": "r4-eth1",
|
"parent": "r4-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -182,7 +178,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r2",
|
"interface": "r2",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r4-eth0",
|
"parent": "r4-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
|
@ -90,13 +90,13 @@
|
|||||||
"metric": "internal",
|
"metric": "internal",
|
||||||
"parent": "0",
|
"parent": "0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:1:1::/64"
|
"vertex": "2001:db8:2:1::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"metric": "internal",
|
"metric": "internal",
|
||||||
"parent": "0",
|
"parent": "0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:1:2::/64"
|
"vertex": "2001:db8:2:2::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r5-eth0",
|
"interface": "r5-eth0",
|
||||||
@ -116,15 +116,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3",
|
"interface": "r3",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r5-eth0",
|
"parent": "r5-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:2:1::/64"
|
"vertex": "2001:db8:1:1::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r3",
|
"interface": "r3",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r5-eth0",
|
"parent": "r5-eth0",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
@ -132,15 +130,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r4",
|
"interface": "r4",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r5-eth1",
|
"parent": "r5-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
"vertex": "2001:db8:2:2::/64"
|
"vertex": "2001:db8:1:2::/64"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"interface": "r4",
|
"interface": "r4",
|
||||||
"metric": "internal",
|
|
||||||
"next-hop": "10",
|
"next-hop": "10",
|
||||||
"parent": "r5-eth1",
|
"parent": "r5-eth1",
|
||||||
"type": "IP6",
|
"type": "IP6",
|
||||||
|
Loading…
Reference in New Issue
Block a user