diff options
Diffstat (limited to 'v3po/api/src/main/yang')
-rw-r--r-- | v3po/api/src/main/yang/v3po@2019-01-28.yang (renamed from v3po/api/src/main/yang/v3po@2018-10-08.yang) | 44 |
1 files changed, 6 insertions, 38 deletions
diff --git a/v3po/api/src/main/yang/v3po@2018-10-08.yang b/v3po/api/src/main/yang/v3po@2019-01-28.yang index b93cd3386..9fbb6c6d3 100644 --- a/v3po/api/src/main/yang/v3po@2018-10-08.yang +++ b/v3po/api/src/main/yang/v3po@2019-01-28.yang @@ -48,6 +48,12 @@ module v3po { See the License for the specific language governing permissions and limitations under the License."; + revision "2019-01-28" { + description + "Revision changes: + - removed deprecated tap-cli interface"; + } + revision "2018-10-08" { description "Revision changes: @@ -119,10 +125,6 @@ module v3po { base if:interface-type; } - identity tap { - base if:interface-type; - } - identity tap-v2 { base if:interface-type; } @@ -324,29 +326,6 @@ module v3po { } } - grouping tap-interface-base-attributes { - leaf tap-name { - type string{ - pattern '[a-zA-Z0-9\-;.+@$#^&*!_()=\[\]]*'; - } - } - uses interface-tag; - } - - grouping tap-interface-config-attributes { - leaf mac { - type yang:phys-address; - mandatory false; - description "Mac address to be set for the tap interface. Random will be used if not configured"; - } - - leaf device-instance { - type uint32; - mandatory false; - description "Custom device instance. Autogenerated will be used if not configured"; - } - } - grouping tap-v2-interface-base-attributes { leaf id { type uint32; @@ -739,12 +718,6 @@ module v3po { // 2. Only this augmentation with combination of ifc type is trigger to do something for vpp, what if user only configures base interface stuff ? + We need to get leaves defined by ietf-interfaces when we are processing this augment // 3. The ietf-interfaces model does not define groupings which makes types reuse difficult - container tap { - when "../if:type = 'v3po:tap'"; - uses tap-interface-base-attributes; - uses tap-interface-config-attributes; - } - container tap-v2 { when "../if:type = 'v3po:tap-v2'"; uses tap-v2-interface-base-attributes; @@ -830,11 +803,6 @@ module v3po { type string; } - container tap { - when "../if:type = 'v3po:tap'"; - uses tap-interface-base-attributes; - } - container tap-v2 { when "../if:type = 'v3po:tap-v2'"; uses tap-v2-interface-base-attributes; |