What is the leafref path for interface?

Hi ,

We know that for device , we should use /ncs:devices/ncs:device/ncs:name . like that what we should use for interface for a device . Please help on this …


This is datamodel specific question.
Generally, you should look into your datamodel, locate list of interfaces and then use leafref into this list.

You may want to get some inspiration from RFC 7950 Section 9.9(.6) where leafref is defined and there are some leafref usage examples.