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

Check handling list keys in URI #13

Open
peckato1 opened this issue Oct 7, 2024 · 1 comment
Open

Check handling list keys in URI #13

peckato1 opened this issue Oct 7, 2024 · 1 comment

Comments

@peckato1
Copy link
Contributor

peckato1 commented Oct 7, 2024

  1. What if the list key is an identityref, enum, or leafrefs? Do we handle the prefixes well?
  2. Make a research about where URL encoding is allowed, where is it a must and where it is forbidden.
  3. What if the list key is complicated like it is a compound key of two leafs and one is of int type and the second one is something like union { string, identityref } and there is a when statement like "if the first key is even number, then the second key is string, otherwise it is the identityref (perhaps to an identity from another module)" . Is such YANG even allowed? And if so, do we handle such situations well?
@peckato1
Copy link
Contributor Author

peckato1 commented Oct 8, 2024

Ad 1: Enum values are always specified without the module name (see https://www.rfc-editor.org/rfc/rfc7951#section-6.4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant