mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-24 21:22:59 +00:00
1. Renamed "gates" to "nexthops"
2. Displaying afi of the nexthops being dispalyed in place of
"nexthops" JSON object in the old JSON output
3. Calling show_route_nexthop_helper() and show_nexthop_json_helper()
instead of print_nh() inorder to keeps the fields in "nexthops"
JSON object in sync with "nexthops" JSON object of
"show nexthop-group rib json".
Updated vtysh:
r1# show ip nht
192.168.0.2
resolved via connected
is directly connected, r1-eth0 (vrf default)
Client list: static(fd 28)
192.168.0.4
resolved via connected
is directly connected, r1-eth0 (vrf default)
Client list: static(fd 28)
Updated JSON:
r1# show ip nht json
{
"default":{
"ipv4":{
"192.168.0.2":{
"nhtConnected":false,
"clientList":[
{
"protocol":"static",
"socket":28,
"protocolFiltered":"none"
}
],
"nexthops":[
{
"flags":3,
"fib":true,
"directlyConnected":true,
"interfaceIndex":2,
"interfaceName":"r1-eth0",
"vrf":"default",
"active":true
}
],
"resolvedProtocol":"connected"
}
}
}
}
Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
|
||
|---|---|---|
| .. | ||
| babeld.conf | ||
| bgpd.conf | ||
| ip_nht.ref | ||
| ipv4_routes.ref | ||
| ipv6_nht.ref | ||
| ipv6_routes.ref | ||
| isisd.conf | ||
| ldpd.conf | ||
| nhrpd.conf | ||
| ospf6d.conf | ||
| ospf6d.conf-pre-v4 | ||
| ospfd.conf | ||
| pbrd.conf | ||
| rip_status.ref | ||
| ripd.conf | ||
| ripng_status.ref | ||
| ripngd.conf | ||
| show_bgp_ipv4-post4.1.ref | ||
| show_bgp_ipv4-post5.0.ref | ||
| show_bgp_ipv4-post6.1.ref | ||
| show_bgp_ipv4.ref | ||
| show_bgp_ipv6_post6.1.ref | ||
| show_bgp_ipv6_summary.ref | ||
| show_bgp_ipv6-post4.1.ref | ||
| show_bgp_ipv6.ref | ||
| show_ip_bgp_summary.ref | ||
| show_ip_ospf_interface.ref | ||
| show_ipv6_ospf6_interface | ||
| show_ipv6_ospf6_interface.ref | ||
| show_isis_interface_detail.ref | ||
| show_mpls_ldp_interface.ref | ||
| show_route_map.ref | ||
| zebra.conf | ||