mirror_frr/pbrd
Stephen Worley 3259cde637 pbrd: make show pbr map detail actually work
The `detail` keyword was doing literally nothing. Changed the
default show to be a bit more user friendly and detail
to give the information you might would need for
debugging.

alfred# show pbr map
  pbr-map TEST1 valid: 1
    Seq: 222 rule: 521
    Installed: yes Reason: Valid
        SRC Match: 2.2.2.2/32
        Nexthop-Group: blue(10000) Installed: yes
    Seq: 333 rule: 632
    Installed: yes Reason: Valid
        SRC Match: 3.3.3.3/32
        Nexthop-Group: blue(10000) Installed: yes
    Seq: 444 rule: 743
    Installed: yes Reason: Valid
        SRC Match: 4.4.4.4/32
        Nexthop-Group: blue(10000) Installed: yes
    Seq: 555 rule: 854
    Installed: yes Reason: Valid
        SRC Match: 5.5.5.5/32
        Nexthop-Group: red(10001) Installed: yes
    Seq: 666 rule: 965
    Installed: yes Reason: Valid
        SRC Match: 6.6.6.6/32
     nexthop 1.1.1.1
        Installed: yes Tableid: 10002
alfred# show pbr map detail
  pbr-map TEST1 valid: 1
    Seq: 222 rule: 521
    Installed: 1(1) Reason: Valid
        SRC Match: 2.2.2.2/32
        Nexthop-Group: blue(10000) Installed: 1(1)
    Seq: 333 rule: 632
    Installed: 1(2) Reason: Valid
        SRC Match: 3.3.3.3/32
        Nexthop-Group: blue(10000) Installed: 1(1)
    Seq: 444 rule: 743
    Installed: 1(3) Reason: Valid
        SRC Match: 4.4.4.4/32
        Nexthop-Group: blue(10000) Installed: 1(1)
    Seq: 555 rule: 854
    Installed: 1(4) Reason: Valid
        SRC Match: 5.5.5.5/32
        Nexthop-Group: red(10001) Installed: 1(1)
    Seq: 666 rule: 965
    Installed: 1(5) Reason: Valid
        SRC Match: 6.6.6.6/32
     nexthop 1.1.1.1
        Installed: 1(1) Tableid: 10002
alfred#

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-12-06 14:04:02 -05:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_debug.c pbrd: Fix unused function 2018-04-17 18:43:47 -04:00
pbr_debug.h pbrd: move debug vty into pbr_vty.c 2018-04-17 18:43:47 -04:00
pbr_main.c *: make frr_yang_module_info const 2019-11-30 00:38:32 +01:00
pbr_map.c *: generously apply const 2019-12-02 15:01:29 +01:00
pbr_map.h pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_memory.c pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_memory.h pbrd: Add PBR to FRR 2018-04-06 13:22:43 -04:00
pbr_nht.c pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_nht.h pbrd: add support for interface nexthops 2019-02-14 22:57:39 -02:00
pbr_vrf.c pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_vrf.h pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00
pbr_vty.c pbrd: make show pbr map detail actually work 2019-12-06 14:04:02 -05:00
pbr_vty.h pbrd, lib: move PBR_STR def. to lib 2018-06-13 16:22:01 +00:00
pbr_zebra.c pbrd: consolidate rule_notify debugs into one call 2019-12-03 16:25:40 -05:00
pbr_zebra.h *: Add infrastructure to support zapi interface callbacks 2019-09-19 13:34:06 -04:00
pbrd.conf.sample pbrd, sharpd, staticd: Add some color to sample configuration files 2019-08-19 10:36:53 -04:00
subdir.am pbrd: Add set vrf NAME and set vrf unchanged 2019-11-21 16:59:42 -05:00