summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2026-08-11 20:32:52 +0200
committerChristian Breunig <christian@breunig.cc>2026-08-17 18:54:14 +0200
commita57dd68ed40ec77ba0a0fc5a2c641fe344fc0570 (patch)
treeac9da9361ca08caabe98203b7959bb07385abad1 /src/migration-scripts
parent43b78a835a9672a23524bcec12d86bc420c6df79 (diff)
downloadvyos-1x-a57dd68ed40ec77ba0a0fc5a2c641fe344fc0570.tar.gz
vyos-1x-a57dd68ed40ec77ba0a0fc5a2c641fe344fc0570.zip
xml: T9179: reject VRF names in interface-name constraint
Tab completion for source-interface and other interface leafNodes already excludes VRF names, but the shared interface-name constraint accepted them anyway: an existing VRF is a real net device, so it passed the file-path existence check even though it failed the interface-name regex. Replace the file-path validator with a new interface-exists validator that requires the value to both exist under /sys/class/net and not be a VRF. The regex-match fallback is unchanged, so dynamic interfaces (e.g. pppoe) referenced before they exist still validate correctly.
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions