diff options
author | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-08-19 11:06:00 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-06 22:03:36 +0100 |
commit | 22c35834ea43ebec121c0c042bbb2ef3b6e25591 (patch) | |
tree | 2deced58e8cd0934d6d4c005824b5c21359b4756 /pimd/pim_mlag.h | |
parent | pimd: run DF election only on (*, G) termination mroutes (diff) | |
download | frr-22c35834ea43ebec121c0c042bbb2ef3b6e25591.tar.xz frr-22c35834ea43ebec121c0c042bbb2ef3b6e25591.zip |
pimd: Use PIM EVPN MLAG Infra for syncing PIM MLAG Entries
Initially, MLAG Sync is happened at pim_ifchannel, this is mainly to
support even config mismatches(missing configuration of dual active).
But this causes more syncs for each entry.
and also it is not In-line with PIM EVPN. to avoid that moving to
pm_upstream based syncing.
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mlag.h')
-rw-r--r-- | pimd/pim_mlag.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pimd/pim_mlag.h b/pimd/pim_mlag.h index 4639f5682..eb316695f 100644 --- a/pimd/pim_mlag.h +++ b/pimd/pim_mlag.h @@ -32,8 +32,6 @@ extern void pim_instance_mlag_init(struct pim_instance *pim); extern void pim_instance_mlag_terminate(struct pim_instance *pim); extern void pim_if_configure_mlag_dualactive(struct pim_interface *pim_ifp); extern void pim_if_unconfigure_mlag_dualactive(struct pim_interface *pim_ifp); -extern void pim_mlag_register(void); -extern void pim_mlag_deregister(void); extern int pim_zebra_mlag_process_up(void); extern int pim_zebra_mlag_process_down(void); extern int pim_zebra_mlag_handle_msg(struct stream *msg, int len); @@ -43,10 +41,13 @@ extern int pim_mlag_signal_zpthread(void); extern void pim_zpthread_init(void); extern void pim_zpthread_terminate(void); +extern void pim_mlag_register(void); +extern void pim_mlag_deregister(void); extern void pim_mlag_up_local_add(struct pim_instance *pim, - struct pim_upstream *upstream); + struct pim_upstream *upstream); extern void pim_mlag_up_local_del(struct pim_instance *pim, - struct pim_upstream *upstream); + struct pim_upstream *upstream); extern bool pim_mlag_up_df_role_update(struct pim_instance *pim, - struct pim_upstream *up, bool is_df, const char *reason); + struct pim_upstream *up, bool is_df, + const char *reason); #endif |