]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_upstream.c
pimd: Allow SSM groups to co-exist with ASM groups.
authoranuradhak <anuradhak@cumulusnetworks.com>
Fri, 17 Mar 2017 18:51:13 +0000 (11:51 -0700)
committeranuradhak <anuradhak@cumulusnetworks.com>
Thu, 23 Mar 2017 16:47:53 +0000 (09:47 -0700)
commit15a5dafe44ea3f64351858496c042e4037c3e750
treed3e605d7ecdc570dc6279dfcbbb14a6e04dcd77f
parent7a6327c003a57b8c9c98dea84f48d4f9b2eb0763
pimd: Allow SSM groups to co-exist with ASM groups.

SSM groups (232/8 or user configured SSM range) can exist in the same
multicast network as ASM groups. For such groups all RPT related state
machine operations have to be skipped as defined by section 4.8 of
RFC4601 -
1. Source registration is skipped for SSM groups. For SSM groups mroute
is setup on the FHR when a new multicast flow is rxed; however source
registration (i.e. pimreg join) is skipped. This will let the ASIC black
hole the traffic till a valid OIL is added to the mroute.
2. (*,G) IGMP registrations are ignored for SSM groups.

Sample output:
=============
fhr#  sh ip pim group-type
SSM group range : 232.0.0.0/8
fhr#  sh ip pim group-type 232.1.1.1
Group type: SSM
fhr#  sh ip pim group-type 239.1.1.1
Group type: ASM
fhr#

Sample config:
=============
fhr(config)# ip pim ssm prefix-list ssm-ranges
fhr(config)#

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Ticket: CM-15344
Testing Done:
1. SSM/ASM source-registration/igmp-joins.
2. On the fly multicast group type changes.
3. pim-smoke.
18 files changed:
pimd/Makefile.am
pimd/pim_cmd.c
pimd/pim_ifchannel.c
pimd/pim_main.c
pimd/pim_memory.c
pimd/pim_memory.h
pimd/pim_mroute.c
pimd/pim_register.c
pimd/pim_register.h
pimd/pim_ssm.c [new file with mode: 0644]
pimd/pim_ssm.h [new file with mode: 0644]
pimd/pim_upstream.c
pimd/pim_upstream.h
pimd/pim_vty.c
pimd/pim_zebra.c
pimd/pim_zebra.h
pimd/pimd.c
pimd/pimd.h