]> git.puffer.fish Git - mirror/frr.git/commit
pim-msdp: part-3: use SA cache for setting up SPTs
authoranuradhak <anuradhak@cumulusnetworks.com>
Tue, 8 Nov 2016 18:34:31 +0000 (10:34 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:15 +0000 (20:26 -0500)
commit7667c5568fdff287ad124e6d6d39653da2241968
tree46fd372d515d8ab4aa6971c2349520e5a57f42a4
parent46c8aab88af4aa4ab2aca68ee854aed43227260f
pim-msdp: part-3: use SA cache for setting up SPTs

1. Added a new MSDP source reference flag for creating (S,G) entries
based on the SA-cache. The RFC recommends treating as SA like rxing
a (S, G) join (which is a bit different then treating like a traffic
stream).
2. SA-SPT is only setup if we are RP for the group and a corresponding
(*,G) exists with a non-empty OIL.
3. When an SA is moved we need to let the SPT live if it is active (this
change will come in a subsequent CL).

Testing done:
1. SA first; SPT setup whenever (*, G) comes around.
2. (*, G) first. As soon as SA is added SPT is setup.
3. (*, G) del with valid SA entries around.

Ticket: CM-13306

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_msdp.c
pimd/pim_msdp.h
pimd/pim_msdp_packet.c
pimd/pim_register.c
pimd/pim_rp.c
pimd/pim_upstream.c
pimd/pim_upstream.h