Not sure how but please please add this to the wiki section for 
getParameterValues

From: Users [mailto:[email protected]] On Behalf Of Dan Morphis
Sent: Friday, January 9, 2015 4:06 PM
To: Community support for GenieACS users
Subject: Re: grabbing a live list of params

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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.genieacs.com/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to