]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd, doc, tests: combined SRGB/SRLB command
authorEmanuele Di Pascale <emanuele@voltanet.io>
Thu, 27 May 2021 12:37:48 +0000 (14:37 +0200)
committerEmanuele Di Pascale <emanuele@voltanet.io>
Fri, 4 Jun 2021 15:22:38 +0000 (17:22 +0200)
commit6443a4be57d71fbe008478dee5d4cb137525f1aa
tree7cdbf7efd456ac6c3e28050acf657c6ad2d4a63e
parentdd553fb39b02cd4391d50ffb84b45da7248906ed
ospfd, doc, tests: combined SRGB/SRLB command

similarly to what was done for IS-IS in commit 01d43141, combine
the SRGB and SRLB commands for OSPF-SR, so that we can replace
overlapping ranges in one sweep change.

Also allow the range configuration to be stored before SR is enabled.
There is no reason why we should not - in fact that constraint meant
that we were always requesting the default label ranges regardless
of what we actually wanted to use.

Finally, update the topotests now that we do not need to refresh
the SRGB/SRLB/MSD after disabling SR. Note that the prefix-sid still
needs to be re-added.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
doc/user/ospfd.rst
ospfd/ospf_sr.c
ospfd/ospf_sr.h
tests/topotests/ospf_sr_topo1/test_ospf_sr_topo1.py