grabbing a live list of params
Dan Morphis
dan at milkcarton.com
Fri Jan 9 15:06:05 EST 2015
POST a request to /devices/_modem_id_/tasks?timeout=3000&connection_request
{
"name": "getParameterValues",
"parameterNames": [
"InternetGatewayDevice.ManagementServer.KickURL",
"InternetGatewayDevice.ManagementServer.CWMPRetryMinimumWaitInterval",
"InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress",
"some.parameter.you.want"
]
}
The &connection_request in the URL tell GenieACS to try and talk to the
CPE. If you get back a 202, that means the CPE didn't respond in a timely
fashion.
Here is my response for the above query:
{
"name": "getParameterValues",
"parameterNames": [
"InternetGatewayDevice.ManagementServer.KickURL",
"InternetGatewayDevice.ManagementServer.CWMPRetryMinimumWaitInterval",
"InternetGatewayDevice.ManagementServer.UDPConnectionRequestAddress"
],
"device": "00236a-96318REF-SR360NA0A4%2D0003196",
"timestamp": "2015-01-09T20:02:41.898Z",
"_id": "54b033e1f160d0240bbf0a28"
}
On Fri, Jan 9, 2015 at 8:20 AM, Christopher Chance <cchance at newtechgrp.com>
wrote:
> How would I go about pulling a list of say 6-7 different stats from a cpe
> (preferably live not queued) via geniefs, and have the results returned by
> json.
>
>
>
> I want to pull a few vars out to perform signal tests from my oss system,
> but the API docs are a bit sparse in regards to the getparams
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20150109/77ff0363/attachment.html>
More information about the Users
mailing list