The schema path /oc-if:interfaces/interface/name is a leafref pointing to /oc-if:interfaces/interface/config/name. Validation should raise an exception if the values do not match in a payload. In the following example, the former has a value of Loopback0 and the latter has a value of Loopback1. Validation testing should cover this scenario.
The schema path
/oc-if:interfaces/interface/name
is aleafref
pointing to/oc-if:interfaces/interface/config/name
. Validation should raise an exception if the values do not match in a payload. In the following example, the former has a value ofLoopback0
and the latter has a value ofLoopback1
. Validation testing should cover this scenario.Script
Output:
System:
Ubuntu Bionic running: