mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:21:22 +00:00
zebra: implement zebra route map northbound
Add skeleton code for zebra northbound, but implement route map commands. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
bc77245fa1
commit
b87fa24d08
@ -21,10 +21,12 @@ EXTRA_DIST += yang/embedmodel.py
|
||||
|
||||
dist_yangmodels_DATA += yang/frr-filter.yang
|
||||
dist_yangmodels_DATA += yang/frr-module-translator.yang
|
||||
dist_yangmodels_DATA += yang/frr-nexthop.yang
|
||||
dist_yangmodels_DATA += yang/frr-test-module.yang
|
||||
dist_yangmodels_DATA += yang/frr-interface.yang
|
||||
dist_yangmodels_DATA += yang/frr-route-map.yang
|
||||
dist_yangmodels_DATA += yang/frr-route-types.yang
|
||||
dist_yangmodels_DATA += yang/frr-zebra.yang
|
||||
dist_yangmodels_DATA += yang/ietf/ietf-routing-types.yang
|
||||
|
||||
if BFDD
|
||||
|
@ -245,6 +245,7 @@ struct quagga_signal_t zebra_signals[] = {
|
||||
static const struct frr_yang_module_info *const zebra_yang_modules[] = {
|
||||
&frr_interface_info,
|
||||
&frr_route_map_info,
|
||||
&frr_zebra_info,
|
||||
};
|
||||
|
||||
FRR_DAEMON_INFO(
|
||||
|
@ -75,6 +75,7 @@ zebra_zebra_SOURCES = \
|
||||
zebra/zebra_mlag.c \
|
||||
zebra/zebra_mlag_vty.c \
|
||||
zebra/zebra_l2.c \
|
||||
zebra/zebra_northbound.c \
|
||||
zebra/zebra_memory.c \
|
||||
zebra/zebra_dplane.c \
|
||||
zebra/zebra_mpls.c \
|
||||
@ -191,5 +192,10 @@ zebra_zebra_fpm_la_SOURCES += zebra/zebra_fpm_dt.c
|
||||
endif
|
||||
endif
|
||||
|
||||
nodist_zebra_zebra_SOURCES = \
|
||||
yang/frr-nexthop.yang.c \
|
||||
yang/frr-zebra.yang.c \
|
||||
# end
|
||||
|
||||
zebra_zebra_cumulus_mlag_la_SOURCES = zebra/zebra_mlag_private.c
|
||||
zebra_zebra_cumulus_mlag_la_LDFLAGS = -avoid-version -module -shared -export-dynamic
|
||||
|
2212
zebra/zebra_northbound.c
Normal file
2212
zebra/zebra_northbound.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -218,6 +218,9 @@ extern void multicast_mode_ipv4_set(enum multicast_mode mode);
|
||||
|
||||
extern enum multicast_mode multicast_mode_ipv4_get(void);
|
||||
|
||||
/* zebra_northbound.c */
|
||||
extern const struct frr_yang_module_info frr_zebra_info;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user