mirror_frr/ospfd
Pooja Jagadeesh Doijode a8e6c2c6d0 ospfd: Option to query specific neighbor in VRF
Added VRF option to
"show ip ospf [vrf NAME] neighbor X.X.X.X [detail] [json]"
command so that the user can query information regarding a
specific neighbor within a VRF.

r1# show ip ospf vrf default neighbor 10.0.255.2
10.0.255.2        1 Full/-          33m10s             9.891s 10.0.3.2        r1-eth1:10.0.3.4                     0     0     0

r1# show ip ospf vrf default neighbor 10.0.255.2 json
    {
      "10.0.255.2":[
        {
          "priority":1,
          "state":"Full/-",
          "nbrPriority":1,
          "nbrState":"Full/-",
          "converged":"Full",
          "role":"DROther",
          "upTimeInMsec":13877947,
          "deadTimeMsecs":9498,
          "routerDeadIntervalTimerDueMsec":9498,
          "upTime":"3h51m17s",
          "deadTime":"9.498s",
          "address":"10.0.3.2",
          "ifaceAddress":"10.0.3.2",
          "ifaceName":"r1-eth1:10.0.3.4",
          "retransmitCounter":0,
          "linkStateRetransmissionListCounter":0,
          "requestCounter":0,
          "linkStateRequestListCounter":0,
          "dbSummaryCounter":0,
          "databaseSummaryListCounter":0
        }
      ]
    }
r1# show ip ospf vrf default neighbor 10.0.255.2 detail
     Neighbor 10.0.255.2, interface address 10.0.3.2
        In the area 0.0.0.0 via interface r1-eth1 local interface IP 10.0.3.4
        Neighbor priority is 1, State is Full/-, Role is DROther, 5 state changes
        Most recent state change statistics:
          Progressive change 3h51m27s ago
        DR is 0.0.0.0, BDR is 0.0.0.0
        Options 2 *|-|-|-|-|-|E|-
        Dead timer due in 8.458s
        Database Summary List 0
        Link State Request List 0
        Link State Retransmission List 0
        Thread Inactivity Timer on
        Thread Database Description Retransmision off
        Thread Link State Request Retransmission on
        Thread Link State Update Retransmission on

        Graceful restart Helper info:
          Graceful Restart HELPER Status : None

r1# show ip ospf vrf default neighbor 10.0.255.2 detail json
    {
      "10.0.255.2":[
        {
          "ifaceAddress":"10.0.3.2",
          "areaId":"0.0.0.0",
          "ifaceName":"r1-eth1",
          "localIfaceAddress":"10.0.3.4",
          "nbrPriority":1,
          "nbrState":"Full/-",
          "role":"DROther",
          "stateChangeCounter":5,
          "lastPrgrsvChangeMsec":13889856,
          "routerDesignatedId":"0.0.0.0",
          "routerDesignatedBackupId":"0.0.0.0",
          "optionsCounter":2,
          "optionsList":"*|-|-|-|-|-|E|-",
          "routerDeadIntervalTimerDueMsec":9715,
          "databaseSummaryListCounter":0,
          "linkStateRequestListCounter":0,
          "linkStateRetransmissionListCounter":0,
          "threadInactivityTimer":"on",
          "threadLinkStateRequestRetransmission":"on",
          "threadLinkStateUpdateRetransmission":"on",
          "grHelperStatus":"None"
        }
      ]
    }
r1#

Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
2023-02-07 15:29:31 -08:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
ChangeLog.opaque.txt Initial revision 2003-02-03 16:31:16 +00:00
Makefile build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
ospf_abr.c ospfd: changes code maintainability 2022-08-19 12:45:16 +05:30
ospf_abr.h ospfd: change default ospf schedule abr task timer 2022-10-12 15:27:43 +00:00
ospf_api.c ospfd/ospfclient: add option to flush/withdrawal with zero length 2022-10-21 15:27:58 +00:00
ospf_api.h ospfd: increase API maximum message size 2022-11-18 09:30:09 +01:00
ospf_apiserver.c ospfd: Remove MTYPE_TMP 2022-12-05 11:43:57 -05:00
ospf_apiserver.h ospfd: Remove MTYPE_TMP 2022-12-05 11:43:57 -05:00
ospf_asbr.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
ospf_asbr.h ospfd: adjust type of "aggr_delay_interval" 2022-01-28 20:11:40 -05:00
ospf_ase.c ospfd: changes for code maintainability 2022-08-28 20:48:29 +05:30
ospf_ase.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_bfd.c ospfd: set/unset bfd profile 2022-06-30 10:56:34 +03:00
ospf_bfd.h ospfd: rework BFD integration 2021-03-23 10:18:42 -03:00
ospf_dump_api.c ospfd: replace inet_ntoa 2020-10-22 13:37:25 -04:00
ospf_dump_api.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf_dump.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_dump.h Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_errors.c ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_errors.h ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_ext.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
ospf_ext.h ospfd: Add Segment Routing Local Block 2020-08-20 14:37:40 +02:00
ospf_flood.c ospfd: fix bug where acks were not be generated to incoming P2P/P2MP neighbors 2022-10-29 17:17:56 +00:00
ospf_flood.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
ospf_gr_helper.c *: remove the checking returned value for hash_get() 2022-05-03 00:41:48 +08:00
ospf_gr.c build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
ospf_gr.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
ospf_ia.c ospfd: changes for code maintainability 2022-08-22 18:23:04 +05:30
ospf_ia.h *: reindent 2017-07-17 14:04:07 +02:00
ospf_interface.c *: introduce function for sequence numbers 2023-01-20 15:40:28 -03:00
ospf_interface.h ospfd: Refactor fifo_flush for the interface 2022-08-11 13:30:32 -04:00
ospf_ism.c ospfd: Do not auto-debug DR-Election notifications 2022-11-28 08:57:38 -05:00
ospf_ism.h ospfd: Remove various macros that overlap THREAD_OFF 2022-07-21 08:27:35 -04:00
ospf_ldp_sync.c *: Drop deprecated incorrect JSON fields with wrong naming 2023-01-31 10:18:28 +02:00
ospf_ldp_sync.h ldpd, isisd, ospfd: Remove periodic ldp-sync hello message 2020-12-09 14:11:38 -05:00
ospf_lsa.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_lsa.h Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_lsdb.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_lsdb.h ospfd: replace pqueue_* with DECLARE_SKIPLIST 2019-04-27 19:33:45 +02:00
ospf_main.c *: Convert quagga_signal_X to frr_signal_X 2021-11-11 14:41:27 -05:00
ospf_memory.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_memory.h Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_neighbor.c ospfd: Remove various macros that overlap THREAD_OFF 2022-07-21 08:27:35 -04:00
ospf_neighbor.h ospfd: rename the graceful restart header 2021-07-05 11:43:02 -03:00
ospf_network.c ospfd: Do not always debug joining AllDRouters Multicast group 2022-11-28 08:53:20 -05:00
ospf_network.h ospfd: basic support for VRF NETNS backend 2018-02-27 11:11:24 +01:00
ospf_nsm.c ospfd: Refactor fifo_flush for the interface 2022-08-11 13:30:32 -04:00
ospf_nsm.h ospfd: Remove various macros that overlap THREAD_OFF 2022-07-21 08:27:35 -04:00
ospf_opaque.c ospfd/ospfclient: add option to flush/withdrawal with zero length 2022-10-21 15:27:58 +00:00
ospf_opaque.h ospfd: allow for zero length opaque LSAs (which is permitted per RFC 5250) 2022-10-19 11:50:41 +00:00
ospf_packet.c ospfd: report the router IP with Opaque capability mismatch 2023-01-06 09:27:18 -06:00
ospf_packet.h *: Change thread->func to return void instead of int 2022-02-23 19:56:04 -05:00
ospf_ri.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
ospf_ri.h ospfd: Correct Coverity defects 2021-05-19 09:48:54 +02:00
ospf_route.c Revert "bgpd, ospfd: update BGP when routes are removed from OSPF routing table" 2023-01-17 18:07:41 +02:00
ospf_route.h Revert "bgpd, ospfd: update BGP when routes are removed from OSPF routing table" 2023-01-17 18:07:41 +02:00
ospf_routemap_nb_config.c *: make sure config.h or zebra.h is first 2021-04-23 12:06:35 +02:00
ospf_routemap_nb.c *: make sure config.h or zebra.h is first 2021-04-23 12:06:35 +02:00
ospf_routemap_nb.h ospfd: North-bound implementation for ospfd rmaps 2021-03-30 22:59:30 +03:00
ospf_routemap.c ospfd: don't use if_lookup_by_name_all_vrf 2021-10-15 03:44:42 +03:00
ospf_snmp.c ospfd: Remove MTYPE_TMP 2022-12-05 11:43:57 -05:00
ospf_spf.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_spf.h Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_sr.c ospfd: Cleanup indentation surrounding oi->nbr 2022-08-11 13:30:32 -04:00
ospf_sr.h ospfd: validate input SRGB and SRLB 2021-09-28 10:40:32 +02:00
ospf_te.c *: Properly use memset() when zeroing 2022-05-11 14:08:47 +03:00
ospf_te.h ospfd: Add Link-State support 2021-03-23 15:39:29 +01:00
ospf_ti_lfa.c ospfd: add all_rtrs route table when opaque enabled 2022-06-02 16:37:16 -04:00
ospf_ti_lfa.h ospfd: Add support for TI-LFA node protection 2021-01-19 15:32:13 +00:00
ospf_vty.c ospfd: Option to query specific neighbor in VRF 2023-02-07 15:29:31 -08:00
ospf_vty.h ospfd: TI-LFA basic infrastructure and algorithms 2021-01-19 15:32:13 +00:00
ospf_zebra.c Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
ospf_zebra.h ospfd: introduce support for Graceful Restart (restarting mode) 2021-07-05 11:43:02 -03:00
OSPF-ALIGNMENT.txt *: Remove cvs control points 2017-12-05 17:28:12 -05:00
ospfd.c Revert "ospfd: few fixes in rSPF calc when LSA received from non root node" 2023-01-17 18:09:55 +02:00
ospfd.h Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00
subdir.am Revert "ospfd: rSPF calc and messaging for optimal route reflection" 2023-01-17 18:11:56 +02:00