]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_main.c
pimd : Add support for MLAG Register & Un-register
authorSatheesh Kumar K <sathk@cumulusnetworks.com>
Tue, 12 Nov 2019 06:36:17 +0000 (22:36 -0800)
committerSatheesh Kumar K <sathk@cumulusnetworks.com>
Thu, 14 Nov 2019 03:46:52 +0000 (19:46 -0800)
commit36b5b98fefd2f77297f31274ca031104902f8b38
treed1c44f95f1f7b7257c64f219b7dc5af3fac50867
parenta6ac9df8eaed9a27c5a7711d354e2ba39d8bcb02
pimd : Add support for MLAG Register & Un-register

when ever a FRR Client wants to send any data to another node
using MLAG Channel, uses below mechanisam.

1. sends  a MLAG Registration to zebra with interested messages that
   it is intended to receive from peer.
2. In response to this request, Zebra opens communication channel with
   MLAG. and also in Rx. diretion zebra forwards only those messages which
   client shown interest during registration
3. when client is no-longer interested in communicating with MLAG, client
   posts De-register to Zebra
4. if this is the last client which is interested for MLAG Communication,
   zebra closes the channel.

why PIM Needs MLAG Communication
================================
1. In general on LAN Networks elecetd DR will send the Join towards
   Multicast RP in case of a LHR and Register in case of FHR.
2. But in case DR Goes down, traffic will be re-converged only after
   the New DR is elected, but this can take time based on Hold Timer to
   detect the DR down.
3. this can be optimised by using MLAG Mecganisam.
4. and also Traffic can be forwarded more efficiently by knowing the cost
   towards RP using MLAG

Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
13 files changed:
lib/mlag.h
lib/zclient.c
lib/zclient.h
pimd/pim_cmd.c
pimd/pim_cmd.h
pimd/pim_instance.c
pimd/pim_instance.h
pimd/pim_main.c
pimd/pim_mlag.c [new file with mode: 0644]
pimd/pim_mlag.h [new file with mode: 0644]
pimd/pim_zebra.c
pimd/pimd.h
pimd/subdir.am