summaryrefslogtreecommitdiffstats
path: root/v3po/api
diff options
context:
space:
mode:
authorMichal Cmarada <mcmarada@cisco.com>2019-01-28 14:23:11 +0100
committerMichal Cmarada <mcmarada@cisco.com>2019-01-28 14:36:10 +0100
commitacf5a8a052e2f7f7c2b03c023df3dd489688cb00 (patch)
tree5a32d3fd0817cf5706f034324bf35ffeec9f5817 /v3po/api
parentd98af41d7030e012f6e6c2206786662ab8d268d6 (diff)
remove vpp deprecated tap-cli interface
Change-Id: I5b78cd2c9d8250b6af691d124fd31bb1bf822fb1 Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'v3po/api')
-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;