diff options
author | Christian Breunig <christian@breunig.cc> | 2023-11-15 18:20:39 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-11-15 18:20:39 +0100 |
commit | 64b4cfc71d402222fd6b034336b3588b5986ba24 (patch) | |
tree | abf6654357a377f71f5a262000885697e00274eb | |
parent | 403d2ffd6e46cb082b1d16ddf515e1784bee968c (diff) | |
download | vyos-1x-64b4cfc71d402222fd6b034336b3588b5986ba24.tar.gz vyos-1x-64b4cfc71d402222fd6b034336b3588b5986ba24.zip |
pim: T5733: incorporate feedback from peer review
5 files changed, 6 insertions, 8 deletions
diff --git a/interface-definitions/include/pim/dr-priority.xml.i b/interface-definitions/include/pim/dr-priority.xml.i index bfda4e257..e4b3067c2 100644 --- a/interface-definitions/include/pim/dr-priority.xml.i +++ b/interface-definitions/include/pim/dr-priority.xml.i @@ -1,10 +1,10 @@ <!-- include start from pim/dr-priority.xml.i --> <leafNode name="dr-priority"> <properties> - <help>Designated Router Election Priority</help> + <help>Designated router election priority</help> <valueHelp> <format>u32:1-4294967295</format> - <description>Value of the new DR Priority</description> + <description>DR Priority</description> </valueHelp> <constraint> <validator name="numeric" argument="--range 1-4294967295"/> diff --git a/interface-definitions/include/pim/join-prune-interval.xml.i b/interface-definitions/include/pim/join-prune-interval.xml.i index f7519ad67..882787d3f 100644 --- a/interface-definitions/include/pim/join-prune-interval.xml.i +++ b/interface-definitions/include/pim/join-prune-interval.xml.i @@ -1,7 +1,7 @@ <!-- include start from pim/join-prune-interval.xml.i --> <leafNode name="join-prune-interval"> <properties> - <help>Join Prune Send Interval</help> + <help>Join prune send interval</help> <valueHelp> <format>u32:1-65535</format> <description>Interval in seconds</description> diff --git a/interface-definitions/include/pim/register-suppress-time.xml.i b/interface-definitions/include/pim/register-suppress-time.xml.i index 80180e9b6..919945b52 100644 --- a/interface-definitions/include/pim/register-suppress-time.xml.i +++ b/interface-definitions/include/pim/register-suppress-time.xml.i @@ -1,10 +1,10 @@ <!-- include start from pim/register-suppress-time.xml.i --> <leafNode name="register-suppress-time"> <properties> - <help>Register Suppress Timer</help> + <help>Register suppress timer</help> <valueHelp> <format>u32:1-65535</format> - <description>In seconds</description> + <description>Timer in seconds</description> </valueHelp> <constraint> <validator name="numeric" argument="--range 1-65535"/> diff --git a/interface-definitions/protocols-pim.xml.in b/interface-definitions/protocols-pim.xml.in index 39188398b..4a20c0d9b 100644 --- a/interface-definitions/protocols-pim.xml.in +++ b/interface-definitions/protocols-pim.xml.in @@ -182,7 +182,7 @@ </leafNode> <node name="spt-switchover"> <properties> - <help>Send v6 secondary addresses</help> + <help>Shortest-path tree (SPT) switchover</help> </properties> <children> <node name="infinity-and-beyond"> diff --git a/src/conf_mode/protocols_pim.py b/src/conf_mode/protocols_pim.py index 5e6225f6f..09c3be8df 100755 --- a/src/conf_mode/protocols_pim.py +++ b/src/conf_mode/protocols_pim.py @@ -22,9 +22,7 @@ from sys import exit from vyos.config import Config from vyos.config import config_dict_merge -from vyos.configdict import dict_merge from vyos.configdict import node_changed -from vyos.utils.dict import dict_search from vyos.configverify import verify_interface_exists from vyos.utils.process import process_named_running from vyos.utils.process import call |