diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-01 20:27:24 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-02 16:33:58 +0000 |
commit | 9f831714ef0f32264e7046a5ecb86d74f24ec4ac (patch) | |
tree | 264938d4ecb19ad07e0e5d3f312bca8cc011e4b5 /interface-definitions/include/constraint | |
parent | 0cb21915164551b3d2eaab79ed6339184957c326 (diff) | |
download | vyos-1x-9f831714ef0f32264e7046a5ecb86d74f24ec4ac.tar.gz vyos-1x-9f831714ef0f32264e7046a5ecb86d74f24ec4ac.zip |
xml: T5738: extend VRF building blocks with common constraint definition
(cherry picked from commit 32d6a693de99021d2cd44fb4235e929caf7b4a6d)
Diffstat (limited to 'interface-definitions/include/constraint')
-rw-r--r-- | interface-definitions/include/constraint/vrf.xml.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/include/constraint/vrf.xml.i b/interface-definitions/include/constraint/vrf.xml.i new file mode 100644 index 000000000..a1922bb6d --- /dev/null +++ b/interface-definitions/include/constraint/vrf.xml.i @@ -0,0 +1,6 @@ +<!-- include start from constraint/vrf.xml.i --> +<constraint> + <validator name="vrf-name"/> +</constraint> +<constraintErrorMessage>VRF instance name must be 15 characters or less and can not\nbe named as regular network interfaces.\nA name must starts from a letter.\n</constraintErrorMessage> +<!-- include end --> |