diff --git a/interface-definitions/container.xml.in b/interface-definitions/container.xml.in index f0db8a6f21..d0af0900a5 100644 --- a/interface-definitions/container.xml.in +++ b/interface-definitions/container.xml.in @@ -211,6 +211,7 @@ container network + #include @@ -426,10 +427,7 @@ Network name - - [-_a-zA-Z0-9]{1,11} - - Network name cannot be longer than 11 characters + #include #include diff --git a/interface-definitions/include/constraint/container-network.xml.i b/interface-definitions/include/constraint/container-network.xml.i new file mode 100644 index 0000000000..6f0f06d6ff --- /dev/null +++ b/interface-definitions/include/constraint/container-network.xml.i @@ -0,0 +1,6 @@ + + + [-_a-zA-Z0-9]{1,11} + +Network name cannot be longer than 11 characters +