Automation and Artificial Intelligence
An automation application submits an interface MTU outside the range defined in the device's YANG model. What does the model enable the device to do?
Show the answer
Correct answerC. Validate the value against schema constraints
AWhy not this: Submitting configuration data does not revise the YANG schema that defines valid data.
BWhy not this: A range restriction is a schema constraint, not a parameter negotiated with the application.
CWhy this is right: A YANG range restriction defines permitted values that can be checked during validation.
DWhy not this: A range restriction identifies valid values; it does not specify automatic rounding or correction.
YANG range constraints allow submitted values to be validated against the schema. Validation does not mean converting an invalid value to the nearest permitted value.