diff options
author | 2018-03-22 14:02:49 +0100 | |
---|---|---|
committer | 2018-03-22 14:02:49 +0100 | |
commit | 2d8a3984bb5fff1791b54210079050b4241ab544 (patch) | |
tree | acb3217bf1ccf06f2e1d0c4a627796b515880a5a /vpp-classifier/api/src/main/yang/policer@2017-03-15.yang | |
parent | 69342de1844ed0d8a0e53f8f04c10e0725c44ce1 (diff) |
vpp-classifier: fix issues found by pyang
Change-Id: Ice51b4974a37e4097787e47d735da8849f6d816f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-classifier/api/src/main/yang/policer@2017-03-15.yang')
-rw-r--r-- | vpp-classifier/api/src/main/yang/policer@2017-03-15.yang | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang b/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang index 637967128..fa2b8f049 100644 --- a/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang +++ b/vpp-classifier/api/src/main/yang/policer@2017-03-15.yang @@ -4,6 +4,10 @@ module policer { namespace "urn:opendaylight:params:xml:ns:yang:policer"; prefix "policer"; + import ietf-inet-types { + prefix inet; + } + description "VPP specific configuration of policer messages. Mapped to policer API: https://git.fd.io/vpp/tree/src/vnet/policer/policer.api @@ -18,10 +22,6 @@ module policer { description "Initial revision of policer model"; } - import ietf-inet-types { - prefix inet; - } - typedef policer-ref { type leafref { path "/policers/policer/name"; |