On 19/08/2015 12:25, Martin Bjorklund wrote:
Robert Wilton <[email protected]> wrote:
What would the real resource location for
"/network/device/<device-name>/interfaces/interface" be?
I don't think there is such a thing as a "real" location. The path is
scoped in the system you work with; in the controller it might be as I
illustrated above, in the device it starts with /interfaces, but in a
controller-of-controllers it might be:
/domains/domain[name='bar']/devices/device[name='foo']/data
/interfaces/interface[name='eth0']
Currently we have a proprietary way of "relocating" YANG modules, and
ODL has its "mount", and I think Andy has some other mechanism. Maybe
the time has come to standardize how mount works, and maybe then also
standardize the list of devices in a controller model.
Yes, I agree.
I was also questioning whether relocating YANG modules is something that
YANG packages could/should be concerned with.
There is also draft-clemm-netmod-mount-00 which seems to be concerned
with mounting external datastores in part of the data tree that may also
be worth considering.
Thanks,
Rob
/martin
.
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod