From 2d8a3984bb5fff1791b54210079050b4241ab544 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Thu, 22 Mar 2018 14:02:49 +0100 Subject: vpp-classifier: fix issues found by pyang Change-Id: Ice51b4974a37e4097787e47d735da8849f6d816f Signed-off-by: Marek Gradzki --- .../src/main/yang/vpp-classifier@2017-03-27.yang | 28 ++++++++++------------ 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang') diff --git a/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang b/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang index 574ed942a..5e3b8764c 100644 --- a/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang +++ b/vpp-classifier/api/src/main/yang/vpp-classifier@2017-03-27.yang @@ -3,23 +3,31 @@ module vpp-classifier { namespace "urn:opendaylight:params:xml:ns:yang:vpp:classifier"; prefix "vpp-classifier"; + import ietf-yang-types { + prefix "yang"; + } + + import policer { + prefix "policer"; + } + 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"; - } - revision "2016-12-14" { description "This revision adds the following new features: - updates order of union types for opaque-index"; } + revision "2016-03-15" { + description + "This revision adds policer support"; + } + revision "2015-06-03" { description "Initial revision of model for VPP packet classifier. @@ -30,16 +38,6 @@ module vpp-classifier { "https://wiki.fd.io/view/VPP/Introduction_To_N-tuple_Classifiers"; } - // TODO add revision (policer inclusion) - - import ietf-yang-types { - prefix "yang"; - } - - import policer { - prefix "policer"; - } - typedef classify-table-ref { type leafref { path "/vpp-classifier/classify-table/name"; -- cgit 1.2.3-korg