diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-09-30 10:34:49 -0300 | 
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-02-04 14:05:43 -0300 | 
| commit | 686d244f00d87fa0b76c8e4644550d413fc3400b (patch) | |
| tree | 4ad346eee6657cc776d89ca4ba5c363bad348d08 /lib/subdir.am | |
| parent | a7282663eff6f036a427165b7fa73c75dccd47ff (diff) | |
lib: implement route map northbound
Based on the route map old CLI, implement the route map handling using
the exported functions.
Use a curry-like programming pattern avoid code repetition when
destroying match/set entries. This is needed by other daemons that
implement custom route map functions and need to pass to lib their
specific destroy functions.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'lib/subdir.am')
| -rw-r--r-- | lib/subdir.am | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index d804d839db..94b3d933ac 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -71,6 +71,7 @@ lib_libfrr_la_SOURCES = \  	lib/qobj.c \  	lib/ringbuf.c \  	lib/routemap.c \ +	lib/routemap_northbound.c \  	lib/sbuf.c \  	lib/seqlock.c \  	lib/sha256.c \ @@ -105,6 +106,7 @@ lib_libfrr_la_SOURCES = \  nodist_lib_libfrr_la_SOURCES = \  	yang/frr-interface.yang.c \ +	yang/frr-route-map.yang.c \  	yang/frr-route-types.yang.c \  	yang/ietf/ietf-routing-types.yang.c \  	yang/frr-module-translator.yang.c \  | 
