]> git.puffer.fish Git - mirror/frr.git/commit
tools: fix reload script for SRv6 locators and formats 18646/head
authorRajasekar Raja <rajasekarr@nvidia.com>
Tue, 8 Apr 2025 22:06:57 +0000 (15:06 -0700)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 11 Apr 2025 15:07:53 +0000 (15:07 +0000)
commitd7760fed9ef24e1186c3636a064f8cea5ed91682
tree544fa28b07365d5ed9ac75b05b7f29c62eb13578
parent73b65df25331cacb07b40766c91a47b570d3451d
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>
(cherry picked from commit ce06d35fa983c67d25d93f5c2533610490313699)
tools/frr-reload.py