From d14a6814acb173cdc6df13212620f7da330434ed Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 28 Feb 2023 22:24:38 +0100 Subject: T4967: xml: provide re-usable constraint for CLI host-name definitions --- interface-definitions/include/constraint/host-name.xml.in | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 interface-definitions/include/constraint/host-name.xml.in (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/constraint/host-name.xml.in b/interface-definitions/include/constraint/host-name.xml.in new file mode 100644 index 000000000..202c200f4 --- /dev/null +++ b/interface-definitions/include/constraint/host-name.xml.in @@ -0,0 +1,3 @@ + +[A-Za-z0-9][-.A-Za-z0-9]*[A-Za-z0-9] + -- cgit v1.2.3