diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-04-30 13:56:05 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-06-05 14:36:53 -0300 |
| commit | 1d3c4b664deef0847ee0471b0d36f162f7341f88 (patch) | |
| tree | dba505ce22b2737564034a46ecec06b3f601e08e /lib/filter.h | |
| parent | 63895e83cbba519fb0d442cf4b80c021c6114b01 (diff) | |
lib: migrate filter configuration writer
Use northbound to write the configuration from now on. While here, fix
how `exact-match` configuration is being created.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/filter.h')
| -rw-r--r-- | lib/filter.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/filter.h b/lib/filter.h index 5a2af88c9d..f4bd62e40d 100644 --- a/lib/filter.h +++ b/lib/filter.h @@ -148,6 +148,24 @@ struct filter *filter_lookup_zebra(struct access_list *access, extern const struct frr_yang_module_info frr_filter_info; +/* filter_cli.c */ +struct lyd_node; +struct vty; + +extern void access_list_legacy_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void access_list_legacy_remark_show(struct vty *vty, + struct lyd_node *dnode, + bool show_defaults); +extern void access_list_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void access_list_remark_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void prefix_list_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void prefix_list_remark_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); + void filter_cli_init(void); #ifdef __cplusplus |
