Validate Capability
Validate operation is supported only on the candidate configuration. You get a “feature not supported” error for other scenarios.
Here is the example of successful validation.
yangcli root@127.1> edit-config config=@/root/config.xml default-operation=merge
Filling container /edit-config/input/target:
RPC OK Reply 3 for session 2:
yangcli root@127.1>
yangcli root@127.1> validate source=candidate
RPC OK Reply 4 for session 2: