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_northbound.c | |
| 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_northbound.c')
| -rw-r--r-- | lib/routemap_northbound.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/routemap_northbound.c b/lib/routemap_northbound.c index 02eb756334..b9ac01e865 100644 --- a/lib/routemap_northbound.c +++ b/lib/routemap_northbound.c @@ -1218,6 +1218,8 @@ const struct frr_yang_module_info frr_route_map_info = { .cbs = { .create = lib_route_map_entry_create, .destroy = lib_route_map_entry_destroy, + .cli_show = route_map_instance_show, + .cli_show_end = route_map_instance_show_end, } }, { @@ -1225,6 +1227,7 @@ const struct frr_yang_module_info frr_route_map_info = { .cbs = { .modify = lib_route_map_entry_description_modify, .destroy = lib_route_map_entry_description_destroy, + .cli_show = route_map_description_show, } }, { @@ -1238,12 +1241,14 @@ const struct frr_yang_module_info frr_route_map_info = { .cbs = { .modify = lib_route_map_entry_call_modify, .destroy = lib_route_map_entry_call_destroy, + .cli_show = route_map_call_show, } }, { .xpath = "/frr-route-map:lib/route-map/entry/exit-policy", .cbs = { .modify = lib_route_map_entry_exit_policy_modify, + .cli_show = route_map_exit_policy_show, } }, { @@ -1258,6 +1263,7 @@ const struct frr_yang_module_info frr_route_map_info = { .cbs = { .create = lib_route_map_entry_match_condition_create, .destroy = lib_route_map_entry_match_condition_destroy, + .cli_show = route_map_condition_show, } }, { @@ -1321,6 +1327,7 @@ const struct frr_yang_module_info frr_route_map_info = { .cbs = { .create = lib_route_map_entry_set_action_create, .destroy = lib_route_map_entry_set_action_destroy, + .cli_show = route_map_action_show, } }, { |
