]> git.puffer.fish Git - matthieu/frr.git/commit
Zebra: Add "show ip/ipv6 fib <prefix> [json]" CLI
authorAmeya Dharkar <adharkar@vmware.com>
Wed, 8 May 2019 21:26:49 +0000 (14:26 -0700)
committerAmeya Dharkar <adharkar@vmware.com>
Wed, 8 May 2019 21:26:49 +0000 (14:26 -0700)
commit6a794a7e83725ef76c609e1b9c561887ac4caa5e
treeafe89b4410a010c566a577e2f4d111cee5cd26fb
parent12456add8434f538a5003f0fda5006a04a6ff7de
Zebra: Add "show ip/ipv6 fib <prefix> [json]" CLI

"show ip/ipv6 route <prefix> [json]" uses a different parser chain from
"show ip/ipv6 route [json]".
"show ip/ipv6 route <prefix> [json]" CLI does not support "fib" option.

Fix:
Add "fib" option to the above command.
The new command is: "show ip/ipv6 <route/fib> <prefix> [json]"
If "fib" option is specified, we will show only the selected routes
(Similar to "show ip/ipv6 fib")

Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
zebra/zebra_vty.c