summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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\-;.+@$#^&*!_()=\[\]]*";
+ }
}
}