grabbing a live list of params

Christopher Chance cchance at newtechgrp.com
Fri Jan 9 15:10:14 EST 2015


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

From: Users [mailto:users-bounces at lists.genieacs.com] 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 <cchance at newtechgrp.com<mailto: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<mailto: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/61c63564/attachment.html>


More information about the Users mailing list