-
Notifications
You must be signed in to change notification settings - Fork 0
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
Templates must be validated when defined (not only when used) #4
Comments
Should we differentiate here between basic syntax validation (e.g. right type & range) vs semantic validation (e.g. mandatory and min-element statements, must statements, when statements, etc)? |
Please keep comments with each issue/requirement. Just because an issue/requirement is linked, doesn't mean that all its comments need to be carried over. |
Expanding on Jason's point, perhaps we should distinguish between two different cases of validation failure:
|
Requirements
This requirement validates templates at the time they are defined, as opposed to only when they are used. Since templates must be defined prior to being referenced, this means that unreferenced templates are validated.
Non-Requirements
Implicit in this requirement is that templates would have to be model-specific (i.e., their YANG known) in order to be validated. Requirements for how the data-model for a template would be known are NOT specified here, leaving those requirements to be specified elsewhere.
The text was updated successfully, but these errors were encountered: