diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-04-25 18:29:35 +0200 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-05-25 15:49:38 +0200 | 
| commit | 4762c2137de994b5b1054cc43c26efef04b27bbf (patch) | |
| tree | e645d9a0e0938327506bf7b7bfd507a28329de57 /bgpd/bgp_flowspec.h | |
| parent | b588b642ce3d933394240f77879eb41f36959311 (diff) | |
bgpd: add vty command to restrict FS policy routing to a defined interface
policy routing is configurable via address-family ipv4 flowspec
subfamily node. This is then possible to restrict flowspec operation
through the BGP instance, to a single or some interfaces, but not all.
Two commands available:
[no] local-install [IFNAME]
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_flowspec.h')
| -rw-r--r-- | bgpd/bgp_flowspec.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_flowspec.h b/bgpd/bgp_flowspec.h index 392b321530..5dd2c3931a 100644 --- a/bgpd/bgp_flowspec.h +++ b/bgpd/bgp_flowspec.h @@ -47,4 +47,7 @@ extern void bgp_fs_nlri_get_string(unsigned char *nlri_content, size_t len,  extern void route_vty_out_flowspec(struct vty *vty, struct prefix *p,  				   struct bgp_info *binfo,  				   int display, json_object *json_paths); +extern int bgp_fs_config_write_pbr(struct vty *vty, struct bgp *bgp, +				   afi_t afi, safi_t safi); +  #endif /* _FRR_BGP_FLOWSPEC_H */  | 
