From 60071c191bbb22ba48831f74ad2095acfa84f7d1 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Fri, 7 Oct 2016 11:21:52 +0200 Subject: HONEYCOMB-154: update revison of models that changed since 16.09 Sets revision date to 14.12.2016 - API freeze for HC 1.17.01 Updated models: - lisp.yang - v3po.yang - vpp-vlan.yang - pbb-types.yang - vpp-pbb.yang Change-Id: Ib2b962c7756748ac357141ffbc6f5bc6668c97e3 Signed-off-by: Marek Gradzki --- .../v3po/rev150105/InterfaceNameOrIndexBuilder.java | 19 ------------------- .../v3po/rev161214/InterfaceNameOrIndexBuilder.java | 19 +++++++++++++++++++ v3po/api/src/main/yang/pbb-types.yang | 20 ++++++++++---------- v3po/api/src/main/yang/v3po.yang | 7 +++++++ v3po/api/src/main/yang/vpp-pbb.yang | 4 ++-- v3po/api/src/main/yang/vpp-vlan.yang | 6 ++++++ 6 files changed, 44 insertions(+), 31 deletions(-) delete mode 100644 v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev150105/InterfaceNameOrIndexBuilder.java create mode 100644 v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev161214/InterfaceNameOrIndexBuilder.java (limited to 'v3po/api/src/main') diff --git a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev150105/InterfaceNameOrIndexBuilder.java b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev150105/InterfaceNameOrIndexBuilder.java deleted file mode 100644 index 5e9974a5a..000000000 --- a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev150105/InterfaceNameOrIndexBuilder.java +++ /dev/null @@ -1,19 +0,0 @@ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev150105; - - -/** - * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation. - * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32). - * - * The reason behind putting it under src/main/java is: - * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent - * loss of user code. - * - */ -public class InterfaceNameOrIndexBuilder { - - public static InterfaceNameOrIndex getDefaultInstance(java.lang.String defaultValue) { - throw new java.lang.UnsupportedOperationException("Not yet implemented"); - } - -} diff --git a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev161214/InterfaceNameOrIndexBuilder.java b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev161214/InterfaceNameOrIndexBuilder.java new file mode 100644 index 000000000..5151320b8 --- /dev/null +++ b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/v3po/rev161214/InterfaceNameOrIndexBuilder.java @@ -0,0 +1,19 @@ +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev161214; + + +/** + * The purpose of generated class in src/main/java for Union types is to create new instances of unions from a string representation. + * In some cases it is very difficult to automate it since there can be unions such as (uint32 - uint16), or (string - uint32). + * + * The reason behind putting it under src/main/java is: + * This class is generated in form of a stub and needs to be finished by the user. This class is generated only once to prevent + * loss of user code. + * + */ +public class InterfaceNameOrIndexBuilder { + + public static InterfaceNameOrIndex getDefaultInstance(java.lang.String defaultValue) { + throw new java.lang.UnsupportedOperationException("Not yet implemented"); + } + +} diff --git a/v3po/api/src/main/yang/pbb-types.yang b/v3po/api/src/main/yang/pbb-types.yang index 1b3d4b6d5..8c3aad41a 100644 --- a/v3po/api/src/main/yang/pbb-types.yang +++ b/v3po/api/src/main/yang/pbb-types.yang @@ -5,7 +5,7 @@ module pbb-types { description "Common types used for defining Pbb based subinterfaces"; - revision "2016-07-04" { + revision "2016-12-14" { description "Initial revision."; } @@ -25,15 +25,15 @@ module pbb-types { typedef operation { type enumeration { // NOTE - Does not specify disabled enum value(0), because its used internally to delete/disable rewrite - enum "push-2"{ + enum "push-2" { value 2; } - enum "pop-2"{ + enum "pop-2" { value 4; description "Encapsulate/Decapsulate pbb packet according to incoming/outcoming direction"; } - enum "translate-2-1"{ + enum "translate-2-1" { value 7; } } @@ -42,22 +42,22 @@ module pbb-types { grouping pbb-rewrite-attributes { description "Provider Backbone Bridge attributes"; - leaf destination-address{ + leaf destination-address { type yang:mac-address; description "backbone destination address"; } - leaf source-address{ + leaf source-address { type yang:mac-address; description "backbone source address"; } - leaf outer-tag{ + leaf outer-tag { type uint16; } - leaf b-vlan-tag-vlan-id{ - type uint16{ + leaf b-vlan-tag-vlan-id { + type uint16 { //12 bit range range "1..4095"; } @@ -65,7 +65,7 @@ module pbb-types { } leaf i-tag-isid { - type uint32{ + type uint32 { //24 bit range range "1..16777215"; } diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index f17ee9ae1..69e2f73b3 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -3,6 +3,13 @@ module v3po { namespace "urn:opendaylight:params:xml:ns:yang:v3po"; prefix "v3po"; + revision "2016-12-14" { + description + "This revision adds the following new features: + - ingress/egress ACLs support + - interface-mode type as a part of ietf-acl configuration"; + } + revision "2015-01-05" { description "Initial revision of v3po model"; } diff --git a/v3po/api/src/main/yang/vpp-pbb.yang b/v3po/api/src/main/yang/vpp-pbb.yang index 848f04e6c..d3ca160ce 100644 --- a/v3po/api/src/main/yang/vpp-pbb.yang +++ b/v3po/api/src/main/yang/vpp-pbb.yang @@ -3,11 +3,11 @@ module vpp-pbb { namespace "urn:opendaylight:params:xml:ns:yang:vpp-pbb"; prefix "vpp-pbb"; - revision "2016-04-10" { + revision "2016-12-14" { description "Initial revision of pbb model"; } - import pbb-types{ + import pbb-types { prefix "pbb-types"; } diff --git a/v3po/api/src/main/yang/vpp-vlan.yang b/v3po/api/src/main/yang/vpp-vlan.yang index 95a770961..ffe009a2a 100644 --- a/v3po/api/src/main/yang/vpp-vlan.yang +++ b/v3po/api/src/main/yang/vpp-vlan.yang @@ -3,6 +3,12 @@ module vpp-vlan { namespace "urn:opendaylight:params:xml:ns:yang:vpp:vlan"; prefix "vpp-vlan"; + revision "2016-12-14" { + description + "This revision adds the following new features: + - ingress/egress ACLs support"; + } + revision "2015-05-27" { description "Initial revision of vlan model for VPP. -- cgit 1.2.3-korg