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

order of attributes in YANG model could use some tweaking #45

Open
mcr opened this issue Aug 27, 2023 · 0 comments
Open

order of attributes in YANG model could use some tweaking #45

mcr opened this issue Aug 27, 2023 · 0 comments

Comments

@mcr
Copy link
Member

mcr commented Aug 27, 2023

> 25) "last-renewal-date": Some questions regarding the underlying data
> model:

> 25a) would it make sense to put the last-renewal-date next to the
> created-on?

> 25b) It seems that "last-renewal-date" can be present only if there is
> also an "expires-on".  Again, you could simply move this into a
> corresponding choice, e.g. something like: choice validity {   case
> perpetual: {leaf nonce {....}}    case limited: {leaf expires on {...}
>                 {leaf last-renewal-date{...}}

> (and, if within the choice any node must be present, indicate by making
> the corresponding leaf mandatory within the choice, not just the choice
> itself - not sure if this applies here)
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