diff options
Diffstat (limited to 'v3po/api/src/main')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index d1af6114c..828a095b0 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -257,12 +257,24 @@ module v3po { } } + grouping interface-tag { + leaf tag { + type string { + length 1..63; + } + description + "ASCII string placeholder for interface metadata. Value is stored in vpp, + and returned in read requests. No processing involved."; + } + } + grouping tap-interface-base-attributes { leaf tap-name { type string{ pattern "[a-zA-Z0-9\-;.+@$#^&*!_()=\[\]]*"; } } + uses interface-tag; } grouping tap-interface-config-attributes { @@ -335,6 +347,7 @@ module v3po { type vhost-user-role; default "server"; } + uses interface-tag; description "vhost-user settings"; } |