]> git.puffer.fish Git - matthieu/frr.git/commit
tools: fix frr-reload for no ip msdp peer cmd
authorChirag Shah <chirag@nvidia.com>
Tue, 23 Apr 2024 02:47:27 +0000 (19:47 -0700)
committerChirag Shah <chirag@nvidia.com>
Tue, 23 Apr 2024 20:40:13 +0000 (13:40 -0700)
commitda2093ba3916327367eb2179c1b2ce36be4e5ebc
tree65ea098a47a9932be2a70a10060ac5a2e19edf7e
parentbb52e5ebdcd450d718bef31917c476c43fb9a082
tools: fix frr-reload for no ip msdp peer cmd

no form of 'ip pm msdp peer <> source <>' does not
accept source argument. Stip the 'source <>' part from
config line being deleted via frr-reload.

Ticket: #3874971
Testing:

Config:
vrf blue
 ip msdp peer 1.1.1.1 source 1.1.1.1

frr-reload failure log:
2024-04-23 02:08:32,501  INFO: Failed to execute vrf blue  no ip
msdp peer 1.1.1.1 source 1.1.1.1 exit
2024-04-23 02:08:32,501 ERROR: "vrf blue --  no ip msdp peer 1.1.1.1
source 1.1.1.1 -- exit" we failed to remove this command
2024-04-23 02:08:32,501 ERROR: % Unknown command:  no ip msdp peer
1.1.1.1 source 1.1.1.1

Signed-off-by: Chirag Shah <chirag@nvidia.com>
tools/frr-reload.py