summaryrefslogtreecommitdiffstats
path: root/v3po
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2016-08-12 12:19:17 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-08-15 07:33:39 +0000
commit4e288bb329065aa8d429992f7b0d74872fc77d1a (patch)
tree7ef19d949e02f895a5e8bfb8826377ef1d834456 /v3po
parent2f61c6d37718d71d9fafb0106a7580c0346260fc (diff)
HONEYCOMB-112 : Added regex for tap-name
Change-Id: I3ea78b8a26296f6509659f3237aa34365adab723 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'v3po')
-rw-r--r--v3po/api/src/main/yang/v3po.yang4
1 files changed, 3 insertions, 1 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index 78163d633..d9b0c5bce 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -199,7 +199,9 @@ module v3po {
grouping tap-interface-base-attributes {
leaf tap-name {
- type string;
+ type string{
+ pattern "[a-zA-Z0-9\-;.+@$#^&*!_()=\[\]]*";
+ }
}
}