diff options
Diffstat (limited to 'interface-definitions/vrf.xml.in')
-rw-r--r-- | interface-definitions/vrf.xml.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-definitions/vrf.xml.in b/interface-definitions/vrf.xml.in index 76748e5ae..7c75bf824 100644 --- a/interface-definitions/vrf.xml.in +++ b/interface-definitions/vrf.xml.in @@ -17,9 +17,9 @@ <properties> <help>VRF instance name</help> <constraint> - <regex>[^/\s]{1,16}$</regex> + <validator name="vrf-name"/> </constraint> - <constraintErrorMessage>VRF instance name must be 16 characters or less</constraintErrorMessage> + <constraintErrorMessage>VRF instance name must be 16 characters or less and can not\nbe named as regular network interfaces</constraintErrorMessage> <valueHelp> <format>name</format> <description>Instance name</description> @@ -44,4 +44,4 @@ </tagNode> </children> </node> -</interfaceDefinition>
\ No newline at end of file +</interfaceDefinition> |