HONEYCOMB-112 : Added regex for tap-name
authorJan Srnicek <[email protected]>
Fri, 12 Aug 2016 10:19:17 +0000 (12:19 +0200)
committerMaros Marsalek <[email protected]>
Mon, 15 Aug 2016 07:33:39 +0000 (07:33 +0000)
Change-Id: I3ea78b8a26296f6509659f3237aa34365adab723
Signed-off-by: Jan Srnicek <[email protected]>
v3po/api/src/main/yang/v3po.yang

index 78163d6..d9b0c5b 100644 (file)
@@ -199,7 +199,9 @@ module v3po {
 
   grouping tap-interface-base-attributes {
     leaf tap-name {
-      type string;
+      type string{
+        pattern "[a-zA-Z0-9\-;.+@$#^&*!_()=\[\]]*";
+      }
     }
   }