diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-09-30 15:01:46 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-02-04 14:05:43 -0300 |
| commit | 2b3e4807ecf4d2586fe4d651b904967ea8d759c0 (patch) | |
| tree | 4aff697d2864eeae02c96d8395cfa47ee3ecc091 /lib/routemap.h | |
| parent | 686d244f00d87fa0b76c8e4644550d413fc3400b (diff) | |
lib: implement new route map CLI
Use the northbound back-end instead of the old route map CLI.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/routemap.h')
| -rw-r--r-- | lib/routemap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/routemap.h b/lib/routemap.h index d9e7f73f81..70e150c981 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -666,8 +666,27 @@ int lib_route_map_entry_match_destroy(enum nb_event event, const struct lyd_node *dnode); int lib_route_map_entry_set_destroy(enum nb_event event, const struct lyd_node *dnode); + extern const struct frr_yang_module_info frr_route_map_info; +/* routemap_cli.c */ +extern void route_map_instance_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void route_map_instance_show_end(struct vty *vty, + struct lyd_node *dnode); +extern void route_map_condition_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void route_map_action_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void route_map_exit_policy_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void route_map_call_show(struct vty *vty, struct lyd_node *dnode, + bool show_defaults); +extern void route_map_description_show(struct vty *vty, + struct lyd_node *dnode, + bool show_defaults); +extern void route_map_cli_init(void); + #ifdef __cplusplus } #endif |
