summaryrefslogtreecommitdiffstats
path: root/vpp-classifier/api/src
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-03-27 12:58:48 +0200
committerJan Srnicek <jsrnicek@cisco.com>2017-03-27 12:58:48 +0200
commit148e3067aa22b312c0bec24b1c8c89994b311c77 (patch)
tree37fa96c27c6d19cccd01ea7bcf9659e9e9378503 /vpp-classifier/api/src
parent27f8f9aa4be32ebcdf11738db52287686d2d87e9 (diff)
HC2VPP-121 - fixed wrong path for vpp-classifier
vpp-classifier was using path incompatible with leaf-ref context Change-Id: I9ffff8b7b6c1b1759ce887b88a5f10ab51a4df5d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'vpp-classifier/api/src')
-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.yang8
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