diff options
Diffstat (limited to 'vpp-classifier/api')
-rw-r--r-- | vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/OpaqueIndexBuilder.java (renamed from vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java) | 6 | ||||
-rw-r--r-- | vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/VppNodeBuilder.java (renamed from vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java) | 2 | ||||
-rw-r--r-- | vpp-classifier/api/src/main/yang/vpp-classifier.yang | 8 |
3 files changed, 12 insertions, 4 deletions
diff --git a/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java b/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/OpaqueIndexBuilder.java index a0c086bda..499aa79ee 100644 --- a/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/OpaqueIndexBuilder.java +++ b/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/OpaqueIndexBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev161214; +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev170327; /** @@ -33,7 +33,9 @@ public class OpaqueIndexBuilder { final long value = Long.parseLong(defaultValue); // u32 value return new OpaqueIndex(value); } catch (NumberFormatException e) { - return new OpaqueIndex(VppNodeBuilder.getDefaultInstance(defaultValue)); + return new OpaqueIndex( + org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev170327.VppNodeBuilder + .getDefaultInstance(defaultValue)); } } diff --git a/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java b/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/VppNodeBuilder.java index 1c13e80d7..df970f69f 100644 --- a/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev161214/VppNodeBuilder.java +++ b/vpp-classifier/api/src/main/java/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/vpp/classifier/rev170327/VppNodeBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev161214; +package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.vpp.classifier.rev170327; /** diff --git a/vpp-classifier/api/src/main/yang/vpp-classifier.yang b/vpp-classifier/api/src/main/yang/vpp-classifier.yang index 3784a54d4..574ed942a 100644 --- a/vpp-classifier/api/src/main/yang/vpp-classifier.yang +++ b/vpp-classifier/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 "2017-03-27" { + description + "This revision updates classify table ref to be compatible with LeafRefContext + (ODL tool for checking leafrefs in runtime)"; + } + revision "2016-03-15" { description "This revision adds policer support"; @@ -36,7 +42,7 @@ module vpp-classifier { typedef classify-table-ref { type leafref { - path "/vpp-classifier:vpp-classifier/classify-table/name"; + path "/vpp-classifier/classify-table/name"; } description "This type is used by data models that need to reference |