]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_pbr.c
zebra: pbr vty show command for ipset and iptables
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 23 Apr 2018 13:17:19 +0000 (15:17 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 25 May 2018 13:49:38 +0000 (15:49 +0200)
commit586f4ccf2cbf8626499a8a8e281679db863d417e
treecf1f56e9cbac4d117f439ea413dcf02c6a01bde5
parent2bee7aae60285c01a4c7e81c20940c1feff1404e
zebra: pbr vty show command for ipset and iptables

Two new vty show functions available:
show pbr ipset <NAME>
show pbr iptables <NAME>

Those function dump the underlying "kernel" contexts. It relies on the
zebra pbr contexts. This helps then to know which zebra pbr
context has been configured since those contexts are mainly configured
by BGP Flowspec.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/zebra_pbr.c
zebra/zebra_pbr.h
zebra/zebra_vty.c