From f2b233e26ebb8c9755cd80625e8463025bfefbd7 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 7 Feb 2021 18:40:49 +0100 Subject: ospf: T3267: add proper CLI constraints --- interface-definitions/include/ospf-authentication.xml.i | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/ospf-authentication.xml.i b/interface-definitions/include/ospf-authentication.xml.i index 0963e5cc0..efb29c1f0 100644 --- a/interface-definitions/include/ospf-authentication.xml.i +++ b/interface-definitions/include/ospf-authentication.xml.i @@ -16,6 +16,9 @@ u32:1-255 MD5 key id + + + @@ -25,6 +28,10 @@ txt MD5 Key (16 characters or less) + + ^[^[:space:]]{1,16}$ + + Password must be 16 characters or less @@ -38,6 +45,10 @@ txt Plain text password (8 characters or less) + + ^[^[:space:]]{1,8}$ + + Password must be 8 characters or less -- cgit v1.2.3