]> git.puffer.fish Git - mirror/frr.git/commit
tools: fix reload script for SRv6 locators and formats 18628/head
authorRajasekar Raja <rajasekarr@nvidia.com>
Tue, 8 Apr 2025 22:06:57 +0000 (15:06 -0700)
committerRajasekar Raja <rajasekarr@nvidia.com>
Thu, 10 Apr 2025 14:55:57 +0000 (07:55 -0700)
commitce06d35fa983c67d25d93f5c2533610490313699
tree09d63821914033831b994fe93f886d4b5c5875a6
parent4281d2b2c70408fd3a053a8362ceded943db87ad
tools: fix reload script for SRv6 locators and formats

Current code implementation does not have a "no" form of handling for
the following commands under segment-routing srv6
 - no formats
 - no locators
 - no prefix <> under locator XYZ

Fix the handling of segment-routing srv6 locators and formats commands
 - Ignore "no formats" and "no locators" command
 - replace "no prefix" under locator XYZ as "no locator XYZ" as prefix
   is a mandatory property of locator

Signed-off-by: Rajasekar Raja <rajasekarr@nvidia.com>
tools/frr-reload.py