]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Add ability to set DR Priority for an interface
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 19 Jun 2015 01:14:20 +0000 (18:14 -0700)
committerDonald Sharp <sharpd@cumulusnetwroks.com>
Thu, 26 May 2016 00:38:32 +0000 (20:38 -0400)
commitdedccda63ff8d030bb655178c708a85ad9ba8652
tree3d0b741893997226a6a3ab7fc0ac2e6d72d65263
parent6250610a59397c2a54e4fa5f66a74a2e61aaa914
pimd: Add ability to set DR Priority for an interface

From RFC 4601, Section 4.3.1:

The DR_Priority Option allows a network administrator to give
preference to a particular router in the DR election process by
giving it a numerically larger DR Priority.  The DR_Priority Option
SHOULD be included in every Hello message, even if no DR Priority is
explicitly configured on that interface.  This is necessary because
priority-based DR election is only enabled when all neighbors on an
interface advertise that they are capable of using the DR_Priority
Option.  The default priority is 1.

This modification allows the setting of the DR Priority on a per
interface basis.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_neighbor.c
pimd/pim_neighbor.h
pimd/pim_vty.c