diff options
| author | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-08-19 02:06:00 -0700 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-06 16:03:36 -0500 | 
| commit | 22c35834ea43ebec121c0c042bbb2ef3b6e25591 (patch) | |
| tree | 2deced58e8cd0934d6d4c005824b5c21359b4756 /pimd/pim_mlag.h | |
| parent | ec85b101e6ba032c17981b9f354f358a0bc67c01 (diff) | |
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 4639f56826..eb316695f7 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  | 
