]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: add vrf option to operational command
authorChirag Shah <chirag@cumulusnetworks.com>
Thu, 26 Oct 2017 21:23:25 +0000 (14:23 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Sat, 28 Oct 2017 23:09:44 +0000 (16:09 -0700)
commitb1c3ae8ce33dff980cc5008c939776327f9b9f11
tree52267cbe808b610388f88b0a0ccba9e488ebb4ca
parente4715aed63b9b791f35baa8abeb473870bb62213
ospfd: add vrf option to operational command

Seperate the display option in both vty and json
case 'vrf' is used in show command.
   show ip ospf 'vrf all' [json]
   Display vrf name as key object in json and vrf name
   in vty output.
case 'vrf' is not used then only display default
   vrf ospf instance and vrf name is not shown in vty and
   json.

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospfd/ospf_network.c
ospfd/ospf_vty.c