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

yang type range statement does not support multiple values #59

Closed
olofhagsand opened this issue Dec 1, 2018 · 1 comment
Closed

yang type range statement does not support multiple values #59

olofhagsand opened this issue Dec 1, 2018 · 1 comment
Labels

Comments

@olofhagsand
Copy link
Member

The Yang range statement does not support multiple values (RFC7895 sec 9.2.4).
For example

type uint8 {
      range "1..14 | 36  | 48";
}

is not supported

olofhagsand added a commit that referenced this issue Feb 5, 2019
…ltiple values](#59).

  * Should work for netconf and restconf, but not for CLI.
* Fixed again: [Range parsing is not RFC 7950 compliant](#71)
@olofhagsand
Copy link
Member Author

Works for netconf and restconf.
Does not work for CLI generated code.

olofhagsand added a commit to clicon/cligen that referenced this issue Mar 4, 2019
…nd string types. This means thatthe following is allowed, for example:

  * See [yang type range statement does not support multiple values](clicon/clixon#59)
olofhagsand added a commit that referenced this issue Mar 4, 2019
[Multiple ranges support](#78)
Restructured "cb" parameter in cli_generate.c
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