]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_vty.c
bgpd: Format properly `show bgp neighbors` for graceful restart stuff
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Mon, 10 Feb 2020 11:59:05 +0000 (13:59 +0200)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Wed, 12 Feb 2020 09:00:45 +0000 (11:00 +0200)
commita53ca37b89b8f171b8995b8c451484a2fde7904b
treec23027220002975d2d699011c8c73c2733989ae6
parentf94ed830df98218447f00b97f856de811bfcc4a2
bgpd: Format properly `show bgp neighbors` for graceful restart stuff

Before:

```
  Graceful restart informations:
    End-of-RIB send: IPv4 Unicast
    End-of-RIB received: IPv4 Unicast
    Local GR Mode  : Helper*
    Remote GR Mode : Helper
    R bit          : False
    Timers :
     Configured Restart Time(sec)  : 120
     Received Restart Time(sec)    : 120
    IPv4 Unicast :
     F bit                 : False
     End-of-RIB Received   : Yes
     End-of-RIB Send       : Yes
     EoRSentAfterUpdate   : Yes
     Timers:
      Configured Stale Path Time(sec)        : 360
```

After:

```
  Graceful restart informations:
    End-of-RIB send: IPv4 Unicast
    End-of-RIB received: IPv4 Unicast
    Local GR Mode: Helper*
    Remote GR Mode: Helper
    R bit: False
    Timers:
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 120
    IPv4 Unicast:
      F bit: False
      End-of-RIB sent: Yes
      End-of-RIB sent after update: Yes
      End-of-RIB received: Yes
      Timers:
        Configured Stale Path Time(sec): 360
```

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_vty.c