mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-13 16:03:53 +00:00
pimd: fix dr-priority range
0 is a valid DR priority.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit b564c1d890
)
This commit is contained in:
parent
fb66adb680
commit
37d5dc445d
@ -211,7 +211,7 @@ is in a vrf, enter the interface command with the vrf keyword at the end.
|
|||||||
messages. This is enabled by default. 'no' form of this command is used to
|
messages. This is enabled by default. 'no' form of this command is used to
|
||||||
restrict processing of unicast bsm messages on this interface.
|
restrict processing of unicast bsm messages on this interface.
|
||||||
|
|
||||||
.. clicmd:: ip pim drpriority (1-4294967295)
|
.. clicmd:: ip pim drpriority (0-4294967295)
|
||||||
|
|
||||||
Set the DR Priority for the interface. This command is useful to allow the
|
Set the DR Priority for the interface. This command is useful to allow the
|
||||||
user to influence what node becomes the DR for a lan segment.
|
user to influence what node becomes the DR for a lan segment.
|
||||||
|
@ -135,7 +135,7 @@ is in a vrf, enter the interface command with the vrf keyword at the end.
|
|||||||
command will not do anything if you do not have the underlying ability
|
command will not do anything if you do not have the underlying ability
|
||||||
of a mlag implementation.
|
of a mlag implementation.
|
||||||
|
|
||||||
.. clicmd:: ipv6 pim drpriority (1-4294967295)
|
.. clicmd:: ipv6 pim drpriority (0-4294967295)
|
||||||
|
|
||||||
Set the DR Priority for the interface. This command is useful to allow the
|
Set the DR Priority for the interface. This command is useful to allow the
|
||||||
user to influence what node becomes the DR for a lan segment.
|
user to influence what node becomes the DR for a lan segment.
|
||||||
|
@ -244,7 +244,7 @@ DEFPY (interface_no_ipv6_pim,
|
|||||||
|
|
||||||
DEFPY (interface_ipv6_pim_drprio,
|
DEFPY (interface_ipv6_pim_drprio,
|
||||||
interface_ipv6_pim_drprio_cmd,
|
interface_ipv6_pim_drprio_cmd,
|
||||||
"ipv6 pim drpriority (1-4294967295)",
|
"ipv6 pim drpriority (0-4294967295)",
|
||||||
IPV6_STR
|
IPV6_STR
|
||||||
PIM_STR
|
PIM_STR
|
||||||
"Set the Designated Router Election Priority\n"
|
"Set the Designated Router Election Priority\n"
|
||||||
@ -255,7 +255,7 @@ DEFPY (interface_ipv6_pim_drprio,
|
|||||||
|
|
||||||
DEFPY (interface_no_ipv6_pim_drprio,
|
DEFPY (interface_no_ipv6_pim_drprio,
|
||||||
interface_no_ipv6_pim_drprio_cmd,
|
interface_no_ipv6_pim_drprio_cmd,
|
||||||
"no ipv6 pim drpriority [(1-4294967295)]",
|
"no ipv6 pim drpriority [(0-4294967295)]",
|
||||||
NO_STR
|
NO_STR
|
||||||
IPV6_STR
|
IPV6_STR
|
||||||
PIM_STR
|
PIM_STR
|
||||||
|
@ -3953,7 +3953,7 @@ DEFUN (interface_no_ip_igmp_last_member_query_interval,
|
|||||||
|
|
||||||
DEFUN (interface_ip_pim_drprio,
|
DEFUN (interface_ip_pim_drprio,
|
||||||
interface_ip_pim_drprio_cmd,
|
interface_ip_pim_drprio_cmd,
|
||||||
"ip pim drpriority (1-4294967295)",
|
"ip pim drpriority (0-4294967295)",
|
||||||
IP_STR
|
IP_STR
|
||||||
PIM_STR
|
PIM_STR
|
||||||
"Set the Designated Router Election Priority\n"
|
"Set the Designated Router Election Priority\n"
|
||||||
@ -3966,7 +3966,7 @@ DEFUN (interface_ip_pim_drprio,
|
|||||||
|
|
||||||
DEFUN (interface_no_ip_pim_drprio,
|
DEFUN (interface_no_ip_pim_drprio,
|
||||||
interface_no_ip_pim_drprio_cmd,
|
interface_no_ip_pim_drprio_cmd,
|
||||||
"no ip pim drpriority [(1-4294967295)]",
|
"no ip pim drpriority [(0-4294967295)]",
|
||||||
NO_STR
|
NO_STR
|
||||||
IP_STR
|
IP_STR
|
||||||
PIM_STR
|
PIM_STR
|
||||||
|
@ -422,9 +422,7 @@ module frr-pim {
|
|||||||
}
|
}
|
||||||
|
|
||||||
leaf dr-priority {
|
leaf dr-priority {
|
||||||
type uint32 {
|
type uint32;
|
||||||
range "1..max";
|
|
||||||
}
|
|
||||||
default 1;
|
default 1;
|
||||||
description
|
description
|
||||||
"DR (Designated Router) priority";
|
"DR (Designated Router) priority";
|
||||||
|
Loading…
Reference in New Issue
Block a user