summaryrefslogtreecommitdiffstats
path: root/acl
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-04-09 08:07:55 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-04-09 08:15:45 +0200
commitfff535ff048d0ed3e492083d4936f61722362b4f (patch)
tree420833cd920ff7cfc89605bdac8384b8bd386b8b /acl
parent911b0eda3c744c6822134b088fd3da20e793cc0d (diff)
HC2VPP-290: fix access-control-list-ref definition
Fixes pyang validation issues of ietf-access-control-list@2016-07-08.yang Change-Id: I6f6034ac854814315b09807bd81b33a3a77b6f40 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'acl')
-rw-r--r--acl/acl-api/src/main/yang/ietf-access-control-list@2016-07-08.yang6
1 files changed, 5 insertions, 1 deletions
diff --git a/acl/acl-api/src/main/yang/ietf-access-control-list@2016-07-08.yang b/acl/acl-api/src/main/yang/ietf-access-control-list@2016-07-08.yang
index 3083ee2a0..bdd0d0ee3 100644
--- a/acl/acl-api/src/main/yang/ietf-access-control-list@2016-07-08.yang
+++ b/acl/acl-api/src/main/yang/ietf-access-control-list@2016-07-08.yang
@@ -82,9 +82,13 @@ module ietf-access-control-list {
"This type is used to refer to an Access Control List
(ACL) type";
}
+ /*
+ HC2VPP-290: access-control-list-ref was modified to fix pyang errors
+ TODO(HC2VPP-291): bump ietf-access-control-list version to resolve the issue
+ */
typedef access-control-list-ref {
type leafref {
- path "/access-lists/acl/acl-name";
+ path "/acl:access-lists/acl:acl/acl:acl-name";
}
description
"This type is used by data models that need to reference an