diff options
author | Jan Srnicek <jsrnicek@cisco.com> | 2016-08-12 12:19:17 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-08-15 07:33:39 +0000 |
commit | 108cf86484c5792cf8db0caada0a0f11582e03fc (patch) | |
tree | e5f85c33d8a8b635cf37209595cccb0e8029adb0 /v3po | |
parent | 0e0b6671892436cd6bf890dc7fbd2f75ee1d472f (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.yang | 4 |
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\-;.+@$#^&*!_()=\[\]]*"; + } } } |