HC2VPP-290: fix access-control-list-ref definition 90/11590/1
authorMarek Gradzki <[email protected]>
Mon, 9 Apr 2018 06:07:55 +0000 (08:07 +0200)
committerMarek Gradzki <[email protected]>
Mon, 9 Apr 2018 06:15:45 +0000 (08:15 +0200)
Fixes pyang validation issues of [email protected]

Change-Id: I6f6034ac854814315b09807bd81b33a3a77b6f40
Signed-off-by: Marek Gradzki <[email protected]>
acl/acl-api/src/main/yang/[email protected]

index 3083ee2..bdd0d0e 100644 (file)
@@ -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