08-29-2017 09:13 PM - edited 03-01-2019 03:58 AM
ConfD provide REST API interface which can be used for configuration of device. This interface also refer to device Yang model.
Can same interface be used for non configuration activity e.g. fetching device metrics ?
Solved! Go to Solution.
08-29-2017 09:42 PM
A device-model can have not only the configuration data but also operational data.
So if there are metrics/operational-data modeled/exposed via its device's YANG model then it can be retrieved by any of the APIs.
The URL for the operational data where the GET is done might be slightly different to that of the configuration data. Example on NSO using RESTCONF:
http://localhost:8080/restconf/data
vs
08-29-2017 09:42 PM
A device-model can have not only the configuration data but also operational data.
So if there are metrics/operational-data modeled/exposed via its device's YANG model then it can be retrieved by any of the APIs.
The URL for the operational data where the GET is done might be slightly different to that of the configuration data. Example on NSO using RESTCONF:
http://localhost:8080/restconf/data
vs
09-04-2017 03:12 PM
Thanks Bilal.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide