cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
467
Views
0
Helpful
2
Replies

live-status call for PCRF

previousqna
Level 5
Level 5

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.

1 Accepted Solution

Accepted Solutions

previousqna
Level 5
Level 5

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.

View solution in original post

2 Replies 2

previousqna
Level 5
Level 5

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.

Thanks Bilal for your reply. Yes, this is what I ended up using.