grabbing a live list of params

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


:S so how would I then pull those values to complete it since it’s a 2 step processs (refresh then grab values)

From: Users [mailto:users-bounces at lists.genieacs.com] On Behalf Of Dan Morphis
Sent: Friday, January 9, 2015 4:33 PM
To: Community support for GenieACS users
Subject: Re: grabbing a live list of params

Correct, you're not going to see that. You have to then pull back the device info and get that yourself. This just tells GenieACS to refresh those values from the CPE.

On Fri, Jan 9, 2015 at 11:27 AM, Christopher Chance <cchance at newtechgrp.com<mailto:cchance at newtechgrp.com>> wrote:
Don’t know if I’m missing something but in the below wheres the actual response when I ran it I got a similar response with the same param names , device, timestamp and id…

But the values for the results of the parameters are not their as is the case in your below example, where is the results of the kickurl, wait interval and connrequestaddress?

From: Users [mailto:users-bounces at lists.genieacs.com<mailto:users-bounces at lists.genieacs.com>] On Behalf Of Christopher Chance
Sent: Friday, January 9, 2015 4:10 PM
To: Community support for GenieACS users
Subject: RE: grabbing a live list of params

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



_______________________________________________
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/dd739414/attachment-0001.html>


More information about the Users mailing list