Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identityref validation fails when using typedef #87

Closed
olofhagsand opened this issue Jun 19, 2019 · 0 comments
Closed

identityref validation fails when using typedef #87

olofhagsand opened this issue Jun 19, 2019 · 0 comments
Labels

Comments

@olofhagsand
Copy link
Member

See acl-type in: ietf-access-control-list@2019-03-04.yang
The following fails on validation of <acls><acl><type>xxx</type>, "xxx" can be any string

  typedef acl-type {
    type identityref {
      base acl-base;
    }
...
  container acls { list acl { ...
      leaf type {
	  type acl-type;
     }

This works:

 container acls { list acl { ...
      leaf type {
	  type identityref {
             base acl-base;
          }
     }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant