05-09-2017 06:59 AM - edited 03-01-2019 03:48 AM
Hello everyone,
I am looking for a live-status JSON-RPC call/payload for PCRF device. Do we have support to get device configuration from PCRF device like GW and other devices? This is what I send in the payload for a GW device:
{
"method":"run_action",
"params":{
"th":1,
"path":"/ncs:devices/device{NDC2BSVC3GW01}/live-status/staros-stats:exec/show",
"params":{"args":"configuration"}
},
"jsonrpc":"2.0",
"id":5
}
I am looking for something similar for a PCRF device. Thanks for your help.
Solved! Go to Solution.
05-09-2017 07:00 AM
A device’s config is under /devices/device/<device-name>/config.
A GET equivalent will get the configs for the device (at least whatever has been modelled in the NED).
Is that what is required here?
live-status action is used more to retrieve “operational” data and run exec/show-commands. For this to work the respective NED needs to have this action modelled.
05-09-2017 07:00 AM
A device’s config is under /devices/device/<device-name>/config.
A GET equivalent will get the configs for the device (at least whatever has been modelled in the NED).
Is that what is required here?
live-status action is used more to retrieve “operational” data and run exec/show-commands. For this to work the respective NED needs to have this action modelled.
05-09-2017 07:00 AM
Thanks Bilal for your reply. Yes, this is what I ended up using.
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