diff options
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/netns.xml.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/interface-definitions/netns.xml.in b/interface-definitions/netns.xml.in index 88451737a..80de805fb 100644 --- a/interface-definitions/netns.xml.in +++ b/interface-definitions/netns.xml.in @@ -9,13 +9,13 @@ <tagNode name="name"> <properties> <help>Network namespace name</help> + <constraint> + <regex>^[a-zA-Z0-9-_]{1,100}</regex> + </constraint> + <constraintErrorMessage>Netns name must be alphanumeric and can contain hyphens and underscores.</constraintErrorMessage> </properties> <children> - <leafNode name="descriprion"> - <properties> - <help>Network namespace description</help> - </properties> - </leafNode> + #include <include/interface/description.xml.i> </children> </tagNode> </children> |