Client list: pbr(fd XX)
192.168.0.2
resolved via connected
- is directly connected, r1-eth0 (vrf default)
+ is directly connected, r1-eth0 (vrf default), weight 1
Client list: static(fd XX)
192.168.0.4
resolved via connected
- is directly connected, r1-eth0 (vrf default)
+ is directly connected, r1-eth0 (vrf default), weight 1
Client list: static(fd XX)
192.168.7.10
resolved via connected
- is directly connected, r1-eth7 (vrf default)
+ is directly connected, r1-eth7 (vrf default), weight 1
Client list: bgp(fd XX)
192.168.7.20(Connected)
resolved via connected
- is directly connected, r1-eth7 (vrf default)
+ is directly connected, r1-eth7 (vrf default), weight 1
Client list: bgp(fd XX)
192.168.161.4
unresolved
-C>* 192.168.0.0/24 is directly connected, r1-eth0, XX:XX:XX
-C>* 192.168.1.0/26 is directly connected, r1-eth1, XX:XX:XX
-C>* 192.168.2.0/26 is directly connected, r1-eth2, XX:XX:XX
-C>* 192.168.3.0/26 is directly connected, r1-eth3, XX:XX:XX
-C>* 192.168.4.0/26 is directly connected, r1-eth4, XX:XX:XX
-C>* 192.168.5.0/26 is directly connected, r1-eth5, XX:XX:XX
-C>* 192.168.6.0/26 is directly connected, r1-eth6, XX:XX:XX
-C>* 192.168.7.0/26 is directly connected, r1-eth7, XX:XX:XX
-C>* 192.168.8.0/26 is directly connected, r1-eth8, XX:XX:XX
-C>* 192.168.9.0/26 is directly connected, r1-eth9, XX:XX:XX
-L>* 192.168.0.1/32 is directly connected, r1-eth0, XX:XX:XX
-L>* 192.168.1.1/32 is directly connected, r1-eth1, XX:XX:XX
-L>* 192.168.2.1/32 is directly connected, r1-eth2, XX:XX:XX
-L>* 192.168.3.1/32 is directly connected, r1-eth3, XX:XX:XX
-L>* 192.168.4.1/32 is directly connected, r1-eth4, XX:XX:XX
-L>* 192.168.5.1/32 is directly connected, r1-eth5, XX:XX:XX
-L>* 192.168.6.1/32 is directly connected, r1-eth6, XX:XX:XX
-L>* 192.168.7.1/32 is directly connected, r1-eth7, XX:XX:XX
-L>* 192.168.8.1/32 is directly connected, r1-eth8, XX:XX:XX
-L>* 192.168.9.1/32 is directly connected, r1-eth9, XX:XX:XX
+C>* 192.168.0.0/24 is directly connected, r1-eth0, weight 1, XX:XX:XX
+C>* 192.168.1.0/26 is directly connected, r1-eth1, weight 1, XX:XX:XX
+C>* 192.168.2.0/26 is directly connected, r1-eth2, weight 1, XX:XX:XX
+C>* 192.168.3.0/26 is directly connected, r1-eth3, weight 1, XX:XX:XX
+C>* 192.168.4.0/26 is directly connected, r1-eth4, weight 1, XX:XX:XX
+C>* 192.168.5.0/26 is directly connected, r1-eth5, weight 1, XX:XX:XX
+C>* 192.168.6.0/26 is directly connected, r1-eth6, weight 1, XX:XX:XX
+C>* 192.168.7.0/26 is directly connected, r1-eth7, weight 1, XX:XX:XX
+C>* 192.168.8.0/26 is directly connected, r1-eth8, weight 1, XX:XX:XX
+C>* 192.168.9.0/26 is directly connected, r1-eth9, weight 1, XX:XX:XX
+L>* 192.168.0.1/32 is directly connected, r1-eth0, weight 1, XX:XX:XX
+L>* 192.168.1.1/32 is directly connected, r1-eth1, weight 1, XX:XX:XX
+L>* 192.168.2.1/32 is directly connected, r1-eth2, weight 1, XX:XX:XX
+L>* 192.168.3.1/32 is directly connected, r1-eth3, weight 1, XX:XX:XX
+L>* 192.168.4.1/32 is directly connected, r1-eth4, weight 1, XX:XX:XX
+L>* 192.168.5.1/32 is directly connected, r1-eth5, weight 1, XX:XX:XX
+L>* 192.168.6.1/32 is directly connected, r1-eth6, weight 1, XX:XX:XX
+L>* 192.168.7.1/32 is directly connected, r1-eth7, weight 1, XX:XX:XX
+L>* 192.168.8.1/32 is directly connected, r1-eth8, weight 1, XX:XX:XX
+L>* 192.168.9.1/32 is directly connected, r1-eth9, weight 1, XX:XX:XX
O 192.168.0.0/24 [110/10] is directly connected, r1-eth0, weight 1, XX:XX:XX
O 192.168.3.0/26 [110/10] is directly connected, r1-eth3, weight 1, XX:XX:XX
S>* 1.1.1.1/32 [1/0] is directly connected, r1-eth1, weight 1, XX:XX:XX
Resolve via default: on
fc00::2
resolved via connected
- is directly connected, r1-eth0 (vrf default)
+ is directly connected, r1-eth0 (vrf default), weight 1
Client list: static(fd XX)
fc00:0:0:8::1000
resolved via connected
- is directly connected, r1-eth8 (vrf default)
+ is directly connected, r1-eth8 (vrf default), weight 1
Client list: bgp(fd XX)
fc00:0:0:8::2000(Connected)
resolved via connected
- is directly connected, r1-eth8 (vrf default)
+ is directly connected, r1-eth8 (vrf default), weight 1
Client list: bgp(fd XX)
-C>* fc00:0:0:1::/64 is directly connected, r1-eth1, XX:XX:XX
-C>* fc00:0:0:2::/64 is directly connected, r1-eth2, XX:XX:XX
-C>* fc00:0:0:3::/64 is directly connected, r1-eth3, XX:XX:XX
-C>* fc00:0:0:4::/64 is directly connected, r1-eth4, XX:XX:XX
-C>* fc00:0:0:5::/64 is directly connected, r1-eth5, XX:XX:XX
-C>* fc00:0:0:6::/64 is directly connected, r1-eth6, XX:XX:XX
-C>* fc00:0:0:7::/64 is directly connected, r1-eth7, XX:XX:XX
-C>* fc00:0:0:8::/64 is directly connected, r1-eth8, XX:XX:XX
-C>* fc00:0:0:9::/64 is directly connected, r1-eth9, XX:XX:XX
-C>* fc00::/64 is directly connected, r1-eth0, XX:XX:XX
-C>* fe80::/64 is directly connected, lo, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth0, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth1, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth2, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth3, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth4, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth5, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth6, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth7, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth8, XX:XX:XX
-C * fe80::/64 is directly connected, r1-eth9, XX:XX:XX
-L>* fc00:0:0:1::1/128 is directly connected, r1-eth1, XX:XX:XX
-L>* fc00:0:0:2::1/128 is directly connected, r1-eth2, XX:XX:XX
-L>* fc00:0:0:3::1/128 is directly connected, r1-eth3, XX:XX:XX
-L>* fc00:0:0:4::1/128 is directly connected, r1-eth4, XX:XX:XX
-L>* fc00:0:0:5::1/128 is directly connected, r1-eth5, XX:XX:XX
-L>* fc00:0:0:6::1/128 is directly connected, r1-eth6, XX:XX:XX
-L>* fc00:0:0:7::1/128 is directly connected, r1-eth7, XX:XX:XX
-L>* fc00:0:0:8::1/128 is directly connected, r1-eth8, XX:XX:XX
-L>* fc00:0:0:9::1/128 is directly connected, r1-eth9, XX:XX:XX
-L>* fc00::1/128 is directly connected, r1-eth0, XX:XX:XX
+C>* fc00:0:0:1::/64 is directly connected, r1-eth1, weight 1, XX:XX:XX
+C>* fc00:0:0:2::/64 is directly connected, r1-eth2, weight 1, XX:XX:XX
+C>* fc00:0:0:3::/64 is directly connected, r1-eth3, weight 1, XX:XX:XX
+C>* fc00:0:0:4::/64 is directly connected, r1-eth4, weight 1, XX:XX:XX
+C>* fc00:0:0:5::/64 is directly connected, r1-eth5, weight 1, XX:XX:XX
+C>* fc00:0:0:6::/64 is directly connected, r1-eth6, weight 1, XX:XX:XX
+C>* fc00:0:0:7::/64 is directly connected, r1-eth7, weight 1, XX:XX:XX
+C>* fc00:0:0:8::/64 is directly connected, r1-eth8, weight 1, XX:XX:XX
+C>* fc00:0:0:9::/64 is directly connected, r1-eth9, weight 1, XX:XX:XX
+C>* fc00::/64 is directly connected, r1-eth0, weight 1, XX:XX:XX
+C>* fe80::/64 is directly connected, lo, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth0, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth1, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth2, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth3, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth4, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth5, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth6, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth7, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth8, weight 1, XX:XX:XX
+C * fe80::/64 is directly connected, r1-eth9, weight 1, XX:XX:XX
+L>* fc00:0:0:1::1/128 is directly connected, r1-eth1, weight 1, XX:XX:XX
+L>* fc00:0:0:2::1/128 is directly connected, r1-eth2, weight 1, XX:XX:XX
+L>* fc00:0:0:3::1/128 is directly connected, r1-eth3, weight 1, XX:XX:XX
+L>* fc00:0:0:4::1/128 is directly connected, r1-eth4, weight 1, XX:XX:XX
+L>* fc00:0:0:5::1/128 is directly connected, r1-eth5, weight 1, XX:XX:XX
+L>* fc00:0:0:6::1/128 is directly connected, r1-eth6, weight 1, XX:XX:XX
+L>* fc00:0:0:7::1/128 is directly connected, r1-eth7, weight 1, XX:XX:XX
+L>* fc00:0:0:8::1/128 is directly connected, r1-eth8, weight 1, XX:XX:XX
+L>* fc00:0:0:9::1/128 is directly connected, r1-eth9, weight 1, XX:XX:XX
+L>* fc00::1/128 is directly connected, r1-eth0, weight 1, XX:XX:XX
O fc00:0:0:4::/64 [110/10] is directly connected, r1-eth4, weight 1, XX:XX:XX
S>* 4:5::6:10/128 [1/0] via fc00::2, r1-eth0, weight 1, XX:XX:XX
S>* 4:5::6:11/128 [1/0] via fc00::2, r1-eth0, weight 1, XX:XX:XX
"metric":0,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"lo",
"active":true,
"table":254,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth1",
"active":true,
"metric":10,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth2",
"active":true,
"metric":10,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth0",
"active":true,
"metric":0,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"lo",
"active":true,
"metric":10,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth1",
"active":true,
"metric":10,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth2",
"active":true,
"metric":10,
"nexthops":[
{
- "flags":1,
+ "flags":3,
"directlyConnected":true,
"interfaceName":"r1-eth0",
"active":true,
{
"fib":true,
"ip":"11.1.1.6",
- "weight":85
+ "weight":84
},
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.1.2",
- "weight":255
+ "weight":254
}
]
}
{
"fib":true,
"ip":"11.1.2.2",
- "weight":255
+ "weight":254
}
]
}
"ip": "192.168.24.4",
"active": True,
"recursive": True,
- "weight": 204,
+ "weight": 203,
},
{
"ip": "192.168.12.2",
"active": True,
"resolver": True,
- "weight": 204,
+ "weight": 203,
},
{
"ip": "192.168.35.5",
"active": True,
"recursive": True,
- "weight": 255,
+ "weight": 254,
},
{
"ip": "192.168.13.3",
"active": True,
"resolver": True,
- "weight": 255,
+ "weight": 254,
},
],
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
]
}
}
-
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth2",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth3",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
logging.error(
"Error decoding json exp result: %s\noutput:\n%s", error, expected
)
+ logging.warning("FILE: {}".format(qr[1]))
raise
if dd_json_cmp:
"--------GOT----------\n%s\n-------END-GOT--------",
json.dumps(ojson, indent=4),
)
-
+ logging.warning("----diff---\n{}".format(cmpout))
+ logging.warning("Command: {}".format(qcmd.format(qr[0], qr[2] if len(qr) > 2 else "")))
+ logging.warning("File: {}".format(qr[1]))
assert cmpout is None
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth1",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight": 1
}
]
}
"gateway": "",
"interface": "r1-eth0",
"active": [null],
- "fib": [null]
+ "fib": [null],
+ "weight":1
}
]
}
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf' > ${resdir}/result-lib-vrf-nokey.json
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]' > ${resdir}/result-lib-vrf-default.json
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="red"]' > ${resdir}/result-lib-vrf-red.json
-vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]/frr-zebra:zebra' > ${resdir}/result-lib-vrf-zebra.json
+vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]/frr-zebra:zebra' > ${resdir}/result-lib-vrf-ebra.json
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]/frr-zebra:zebra/ribs' > ${resdir}/result-lib-vrf-zebra-ribs.json
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]/frr-zebra:zebra/ribs/rib' > ${resdir}/result-ribs-rib-nokeys.json
vtysh -c 'show mgmt get-data /frr-vrf:lib/vrf[name="default"]/frr-zebra:zebra/ribs/rib[afi-safi-name="frr-routing:ipv4-unicast"][table-id="254"]' > ${resdir}/result-ribs-rib-ipv4-unicast.json
O 10.0.1.0/24 [110/10] is directly connected, r1-eth0, weight 1, XX:XX:XX
-C>* 10.0.1.0/24 is directly connected, r1-eth0, XX:XX:XX
-L>* 10.0.1.1/32 is directly connected, r1-eth0, XX:XX:XX
+C>* 10.0.1.0/24 is directly connected, r1-eth0, weight 1, XX:XX:XX
+L>* 10.0.1.1/32 is directly connected, r1-eth0, weight 1, XX:XX:XX
O>* 10.0.2.0/24 [110/20] via 10.0.20.2, r1-eth1, weight 1, XX:XX:XX
B>* 10.0.3.0/24 [20/20] via 10.0.30.3, r1-eth2 (vrf neno), weight 1, XX:XX:XX
O>* 10.0.4.0/24 [110/20] via 10.0.20.2, r1-eth1, weight 1, XX:XX:XX
O 10.0.20.0/24 [110/10] is directly connected, r1-eth1, weight 1, XX:XX:XX
-C>* 10.0.20.0/24 is directly connected, r1-eth1, XX:XX:XX
-L>* 10.0.20.1/32 is directly connected, r1-eth1, XX:XX:XX
+C>* 10.0.20.0/24 is directly connected, r1-eth1, weight 1, XX:XX:XX
+L>* 10.0.20.1/32 is directly connected, r1-eth1, weight 1, XX:XX:XX
B>* 10.0.30.0/24 [20/0] is directly connected, neno (vrf neno), weight 1, XX:XX:XX
O>* 10.0.40.0/24 [110/20] via 10.0.20.2, r1-eth1, weight 1, XX:XX:XX
O>* 10.0.3.0/24 [110/20] via 10.0.30.3, r1-eth2, weight 1, XX:XX:XX
B>* 10.0.4.0/24 [20/20] via 10.0.20.2, r1-eth1 (vrf default), weight 1, XX:XX:XX
O 10.0.30.0/24 [110/10] is directly connected, r1-eth2, weight 1, XX:XX:XX
-C>* 10.0.30.0/24 is directly connected, r1-eth2, XX:XX:XX
-L>* 10.0.30.1/32 is directly connected, r1-eth2, XX:XX:XX
+C>* 10.0.30.0/24 is directly connected, r1-eth2, weight 1, XX:XX:XX
+L>* 10.0.30.1/32 is directly connected, r1-eth2, weight 1, XX:XX:XX
B>* 10.0.40.0/24 [20/20] via 10.0.20.2, r1-eth1 (vrf default), weight 1, XX:XX:XX
S>* 0.0.0.0/0 [1/0] via 10.0.20.1, r2-eth1, weight 1, XX:XX:XX
O>* 10.0.1.0/24 [110/20] via 10.0.20.1, r2-eth1, weight 1, XX:XX:XX
O 10.0.2.0/24 [110/10] is directly connected, r2-eth0, weight 1, XX:XX:XX
-C>* 10.0.2.0/24 is directly connected, r2-eth0, XX:XX:XX
-L>* 10.0.2.2/32 is directly connected, r2-eth0, XX:XX:XX
+C>* 10.0.2.0/24 is directly connected, r2-eth0, weight 1, XX:XX:XX
+L>* 10.0.2.2/32 is directly connected, r2-eth0, weight 1, XX:XX:XX
O>* 10.0.3.0/24 [110/20] via 10.0.20.1, r2-eth1, weight 1, XX:XX:XX
B>* 10.0.4.0/24 [20/20] via 10.0.40.4, r2-eth2 (vrf ray), weight 1, XX:XX:XX
O 10.0.20.0/24 [110/10] is directly connected, r2-eth1, weight 1, XX:XX:XX
-C>* 10.0.20.0/24 is directly connected, r2-eth1, XX:XX:XX
-L>* 10.0.20.2/32 is directly connected, r2-eth1, XX:XX:XX
+C>* 10.0.20.0/24 is directly connected, r2-eth1, weight 1, XX:XX:XX
+L>* 10.0.20.2/32 is directly connected, r2-eth1, weight 1, XX:XX:XX
O>* 10.0.30.0/24 [110/20] via 10.0.20.1, r2-eth1, weight 1, XX:XX:XX
B>* 10.0.40.0/24 [20/0] is directly connected, ray (vrf ray), weight 1, XX:XX:XX
B 10.0.20.0/24 [20/0] is directly connected, r2-eth1 (vrf default) inactive, weight 1, XX:XX:XX
B>* 10.0.30.0/24 [20/20] via 10.0.20.1, r2-eth1 (vrf default), weight 1, XX:XX:XX
O 10.0.40.0/24 [110/10] is directly connected, r2-eth2, weight 1, XX:XX:XX
-C>* 10.0.40.0/24 is directly connected, r2-eth2, XX:XX:XX
-L>* 10.0.40.2/32 is directly connected, r2-eth2, XX:XX:XX
+C>* 10.0.40.0/24 is directly connected, r2-eth2, weight 1, XX:XX:XX
+L>* 10.0.40.2/32 is directly connected, r2-eth2, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r3-eth0, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r3-eth0, XX:XX:XX
-L>* 10.0.3.3/32 is directly connected, r3-eth0, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r3-eth0, weight 1, XX:XX:XX
+L>* 10.0.3.3/32 is directly connected, r3-eth0, weight 1, XX:XX:XX
O>* 10.0.4.0/24 [110/20] via 10.0.30.1, r3-eth1, weight 1, XX:XX:XX
O 10.0.30.0/24 [110/10] is directly connected, r3-eth1, weight 1, XX:XX:XX
-C>* 10.0.30.0/24 is directly connected, r3-eth1, XX:XX:XX
-L>* 10.0.30.3/32 is directly connected, r3-eth1, XX:XX:XX
+C>* 10.0.30.0/24 is directly connected, r3-eth1, weight 1, XX:XX:XX
+L>* 10.0.30.3/32 is directly connected, r3-eth1, weight 1, XX:XX:XX
O>* 10.0.40.0/24 [110/20] via 10.0.30.1, r3-eth1, weight 1, XX:XX:XX
O>* 10.0.3.0/24 [110/20] via 10.0.40.2, r4-eth1, weight 1, XX:XX:XX
O 10.0.4.0/24 [110/10] is directly connected, r4-eth0, weight 1, XX:XX:XX
-C>* 10.0.4.0/24 is directly connected, r4-eth0, XX:XX:XX
-L>* 10.0.4.4/32 is directly connected, r4-eth0, XX:XX:XX
+C>* 10.0.4.0/24 is directly connected, r4-eth0, weight 1, XX:XX:XX
+L>* 10.0.4.4/32 is directly connected, r4-eth0, weight 1, XX:XX:XX
O>* 10.0.30.0/24 [110/20] via 10.0.40.2, r4-eth1, weight 1, XX:XX:XX
O 10.0.40.0/24 [110/10] is directly connected, r4-eth1, weight 1, XX:XX:XX
-C>* 10.0.40.0/24 is directly connected, r4-eth1, XX:XX:XX
-L>* 10.0.40.4/32 is directly connected, r4-eth1, XX:XX:XX
+C>* 10.0.40.0/24 is directly connected, r4-eth1, weight 1, XX:XX:XX
+L>* 10.0.40.4/32 is directly connected, r4-eth1, weight 1, XX:XX:XX
VRF r1-ospf-cust1:
O 10.0.1.0/24 [110/10] is directly connected, r1-eth0, weight 1, XX:XX:XX
-C>* 10.0.1.0/24 is directly connected, r1-eth0, XX:XX:XX
-L>* 10.0.1.1/32 is directly connected, r1-eth0, XX:XX:XX
+C>* 10.0.1.0/24 is directly connected, r1-eth0, weight 1, XX:XX:XX
+L>* 10.0.1.1/32 is directly connected, r1-eth0, weight 1, XX:XX:XX
O>* 10.0.2.0/24 [110/20] via 10.0.3.3, r1-eth1, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r1-eth1, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r1-eth1, XX:XX:XX
-L>* 10.0.3.2/32 is directly connected, r1-eth1, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r1-eth1, weight 1, XX:XX:XX
+L>* 10.0.3.2/32 is directly connected, r1-eth1, weight 1, XX:XX:XX
O>* 10.0.10.0/24 [110/20] via 10.0.3.1, r1-eth1, weight 1, XX:XX:XX
VRF r1-ospf-cust1:
O 10.0.1.0/24 [110/10] is directly connected, r1-eth0, weight 1, XX:XX:XX
-C>* 10.0.1.0/24 is directly connected, r1-eth0, XX:XX:XX
-L>* 10.0.1.1/32 is directly connected, r1-eth0, XX:XX:XX
+C>* 10.0.1.0/24 is directly connected, r1-eth0, weight 1, XX:XX:XX
+L>* 10.0.1.1/32 is directly connected, r1-eth0, weight 1, XX:XX:XX
O>* 10.0.2.0/24 [110/20] via 10.0.3.3, r1-eth1, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r1-eth1, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r1-eth1, XX:XX:XX
-L>* 10.0.3.2/32 is directly connected, r1-eth1, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r1-eth1, weight 1, XX:XX:XX
+L>* 10.0.3.2/32 is directly connected, r1-eth1, weight 1, XX:XX:XX
VRF r2-ospf-cust1:
O>* 10.0.1.0/24 [110/20] via 10.0.3.2, r2-eth1, weight 1, XX:XX:XX
O 10.0.2.0/24 [110/10] is directly connected, r2-eth0, weight 1, XX:XX:XX
-C>* 10.0.2.0/24 is directly connected, r2-eth0, XX:XX:XX
-L>* 10.0.2.1/32 is directly connected, r2-eth0, XX:XX:XX
+C>* 10.0.2.0/24 is directly connected, r2-eth0, weight 1, XX:XX:XX
+L>* 10.0.2.1/32 is directly connected, r2-eth0, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r2-eth1, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r2-eth1, XX:XX:XX
-L>* 10.0.3.3/32 is directly connected, r2-eth1, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r2-eth1, weight 1, XX:XX:XX
+L>* 10.0.3.3/32 is directly connected, r2-eth1, weight 1, XX:XX:XX
O>* 10.0.10.0/24 [110/20] via 10.0.3.1, r2-eth1, weight 1, XX:XX:XX
VRF r2-ospf-cust1:
O>* 10.0.1.0/24 [110/20] via 10.0.3.2, r2-eth1, weight 1, XX:XX:XX
O 10.0.2.0/24 [110/10] is directly connected, r2-eth0, weight 1, XX:XX:XX
-C>* 10.0.2.0/24 is directly connected, r2-eth0, XX:XX:XX
-L>* 10.0.2.1/32 is directly connected, r2-eth0, XX:XX:XX
+C>* 10.0.2.0/24 is directly connected, r2-eth0, weight 1, XX:XX:XX
+L>* 10.0.2.1/32 is directly connected, r2-eth0, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r2-eth1, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r2-eth1, XX:XX:XX
-L>* 10.0.3.3/32 is directly connected, r2-eth1, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r2-eth1, weight 1, XX:XX:XX
+L>* 10.0.3.3/32 is directly connected, r2-eth1, weight 1, XX:XX:XX
O>* 10.0.1.0/24 [110/20] via 10.0.3.2, r3-eth0, weight 1, XX:XX:XX
O>* 10.0.2.0/24 [110/20] via 10.0.3.3, r3-eth0, weight 1, XX:XX:XX
O 10.0.3.0/24 [110/10] is directly connected, r3-eth0, weight 1, XX:XX:XX
-C>* 10.0.3.0/24 is directly connected, r3-eth0, XX:XX:XX
-L>* 10.0.3.1/32 is directly connected, r3-eth0, XX:XX:XX
+C>* 10.0.3.0/24 is directly connected, r3-eth0, weight 1, XX:XX:XX
+L>* 10.0.3.1/32 is directly connected, r3-eth0, weight 1, XX:XX:XX
O 10.0.10.0/24 [110/10] is directly connected, r3-eth1, weight 1, XX:XX:XX
-C>* 10.0.10.0/24 is directly connected, r3-eth1, XX:XX:XX
-L>* 10.0.10.1/32 is directly connected, r3-eth1, XX:XX:XX
+C>* 10.0.10.0/24 is directly connected, r3-eth1, weight 1, XX:XX:XX
+L>* 10.0.10.1/32 is directly connected, r3-eth1, weight 1, XX:XX:XX
VRF r3-ospf-cust1:
O 10.0.10.0/24 [110/10] is directly connected, r3-eth1, weight 1, XX:XX:XX
-C>* 10.0.10.0/24 is directly connected, r3-eth1, XX:XX:XX
-L>* 10.0.10.1/32 is directly connected, r3-eth1, XX:XX:XX
+C>* 10.0.10.0/24 is directly connected, r3-eth1, weight 1, XX:XX:XX
+L>* 10.0.10.1/32 is directly connected, r3-eth1, weight 1, XX:XX:XX
.type = NEXTHOP_TYPE_IFINDEX,
.ifindex = ifp->ifindex,
.vrf_id = ifp->vrf->vrf_id,
+ .weight = 1,
};
struct zebra_vrf *zvrf;
uint32_t metric;
void *gate, afi_t afi, vrf_id_t vrf_id)
{
struct interface *ifp = NULL;
- struct nexthop nh = {0};
+ struct nexthop nh = {.weight = 1};
mpls_label_t labels[MPLS_MAX_LABELS] = {0};
int num_labels = 0;
enum seg6local_action_t seg6l_act = ZEBRA_SEG6_LOCAL_ACTION_UNSPEC;
struct interface **ifp,
ns_id_t ns_id)
{
- struct nexthop nh = {};
+ struct nexthop nh = {.weight = 1};
void *gate = NULL;
enum nexthop_types_t type = 0;
int if_index = 0;
vrf_id_t vrf_id = VRF_DEFAULT;
struct interface *ifp = NULL;
struct nhmsg *nhm = NULL;
- struct nexthop nh = {};
+ struct nexthop nh = {.weight = 1};
struct nh_grp grp[MULTIPATH_NUM] = {};
/* Count of nexthops in group array */
uint8_t grp_count = 0;