The external application stores the intended configuration under nodes in the UniConfig topology. The configuration can be checked for validity. This RPC is the trigger for validating a configuration.
RPC input contains a list of UniConfig nodes whose configuration should be validated. RPC output describes the result of the validation and matches all input nodes.
If the RPC is called with an empty list of target nodes, all nodes modified in the UniConfig transaction are validated.
The configuration of nodes follows these steps:
Open transaction to device
Write configuration
Validate configuration
Close transaction
If any node fails in step 3 (validation), the entire RPC also fails.
Validation (step 3) only applies to nodes that support this operation.
{"errors":{"error":[{"error-type":"application","error-tag":"data-missing","error-message":"Node 'R2' hasn't been installed in Uniconfig database","error-info":{"node-id":"R2"}}]}}
{"errors":{"error":[{"error-type":"application","error-tag":"missing-element","error-message":"There aren't any nodes specified in input RPC and there aren't any touched nodes."}]}}