diff options
| author | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-13 14:01:27 +0700 |
|---|---|---|
| committer | Alex Kudentsov <43482574+alexk37@users.noreply.github.com> | 2026-10-18 16:34:21 +0700 |
| commit | 20a57113117b5db6d54c8da3eb08fa29b9398947 (patch) | |
| tree | c7744bf26b9e819c33a5efeac28c84a1d9bb6501 /src/validators | |
| parent | a57ab8277f5b35d6b3f5b7873d3107ab527887e3 (diff) | |
| download | vyos-1x-20a57113117b5db6d54c8da3eb08fa29b9398947.tar.gz vyos-1x-20a57113117b5db6d54c8da3eb08fa29b9398947.zip | |
ospf: T9441: reject "capability opaque" in a VRF instance
FRR refuses opaque LSAs outside the default VRF ("OSPF Opaque LSA is only
supported in default VRF"). Before this, a "set protocols ospf capability
opaque" under "vrf name <vrf> protocols ospf" was accepted by the CLI and
only failed later, at FRR's own reload, with the render already written
and every other change in the commit already applied.
Reject it in verify() before the commit reaches FRR, with a message that
names the node and the VRF; the default VRF is unaffected.
Test: test_ospf_23_vrf_capability_opaque sets "capability opaque" in a VRF
instance and expects the commit to fail.
Diffstat (limited to 'src/validators')
0 files changed, 0 insertions, 0 deletions
