diff options
Diffstat (limited to 'v3po/api')
-rw-r--r-- | v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java (renamed from v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev150603/OpaqueIndexBuilder.java) | 9 | ||||
-rw-r--r-- | v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java (renamed from v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev150603/VppNodeBuilder.java) | 10 | ||||
-rw-r--r-- | v3po/api/src/main/yang/vpp-classifier.yang | 8 |
3 files changed, 11 insertions, 16 deletions
diff --git a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev150603/OpaqueIndexBuilder.java b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java index 01f088469..2ff7f823f 100644 --- a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev150603/OpaqueIndexBuilder.java +++ b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java @@ -1,4 +1,4 @@ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev150603; +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev161214; /** @@ -13,12 +13,7 @@ package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.cla public class OpaqueIndexBuilder { public static OpaqueIndex getDefaultInstance(java.lang.String defaultValue) { - try { - final long value = Long.parseLong(defaultValue); // u32 value - return new OpaqueIndex(value); - } catch (NumberFormatException e) { - return new OpaqueIndex(VppNodeBuilder.getDefaultInstance(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/vpp/classifier/rev150603/VppNodeBuilder.java b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java index 4ae04d48f..b339435d4 100644 --- a/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev150603/VppNodeBuilder.java +++ b/v3po/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java @@ -1,4 +1,4 @@ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev150603; +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev161214; /** @@ -13,13 +13,7 @@ package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.cla public class VppNodeBuilder { public static VppNode getDefaultInstance(java.lang.String defaultValue) { - if (PacketHandlingAction.Deny.toString().equalsIgnoreCase(defaultValue)) { - return new VppNode(PacketHandlingAction.Deny); - } else if (PacketHandlingAction.Permit.toString().equalsIgnoreCase(defaultValue)) { - return new VppNode(PacketHandlingAction.Permit); - } else { - return new VppNode(new VppNodeName(defaultValue)); - } + throw new java.lang.UnsupportedOperationException("Not yet implemented"); } } diff --git a/v3po/api/src/main/yang/vpp-classifier.yang b/v3po/api/src/main/yang/vpp-classifier.yang index 8bf939933..ea2788289 100644 --- a/v3po/api/src/main/yang/vpp-classifier.yang +++ b/v3po/api/src/main/yang/vpp-classifier.yang @@ -3,6 +3,12 @@ module vpp-classifier { namespace "urn:opendaylight:params:xml:ns:yang:vpp:classifier"; prefix "vpp-classifier"; + revision "2016-12-14" { + description + "This revision adds the following new features: + - updates order of union types for opaque-index"; + } + revision "2015-06-03" { description "Initial revision of model for VPP packet classifier. @@ -54,8 +60,8 @@ module vpp-classifier { typedef opaque-index { type union { - type vpp-node; type uint32; + type vpp-node; } description "Defines opaque-index type - metadata that can be attached to session-hit packets. |