GetParameterValues RPC call from GenieACS

Magesh Balaji Magesh.Balaji at infinite.com
Wed Jun 7 10:00:54 EDT 2017


Hi,

I am trying to communicate to Genieacs from a java based modus client.

After getting the InformResponse from GenieACS to the client, I want genieacs to trigger a call (GetParameterValues RPC) to the connected device(client).

I went through the wiki and referenced api-reference (https://github.com/zaidka/genieacs/wiki/API-Reference ) and used the below command to add the task to the genieacs.

But the below command triggers a GetPrametersNames RPC call instead of GetPrametersValues.

curl -i 'http://localhost:7557/devices/0AA00C-DeviceWAVESIO-FFFFFF123456/tasks?timeout=3000&connection_request' \
    -X POST \
    --data '{ "name": "getParameterValues", "parameterNames": ["Device.DeviceInfo.SoftwareVersion", "Device.DeviceInfo.SerialNumber", "Device.DeviceInfo.SpecVersion"] }'


<?xml version='1.0' encoding='UTF-8' ?>
<soap-env:Envelope xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cwmp="urn:dslforum-org:cwmp-1-2"><soap-env:Header><cwmp:ID soap-env:mustUnderstand="1">15c821d3e38000</cwmp:ID></soap-env:Header><soap-env:Body><cwmp:GetParameterNames><ParameterPath>Device.DeviceInfo.</ParameterPath><NextLevel>1</NextLevel></cwmp:GetParameterNames></soap-env:Body></soap-env:Envelope>

This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s).

If you are not the intended recipient, please notify so to the sender by e-mail and delete the original message.

In such cases, please notify us immediately at info at infinite.com . Further, you are not to copy, 

disclose, or distribute this e-mail or its contents to any unauthorized person(s) .Any such actions are 

considered unlawful. This e-mail may contain viruses. Infinite has taken every reasonable precaution to minimize

this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should 

carry out your own virus checks before opening the e-mail or attachments. Infinite reserves the right to monitor

and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail

address may be stored on the Infinite e-mail system. 

***INFINITE******** End of Disclaimer********INFINITE******** 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170607/54aa2ce5/attachment.html>


More information about the Users mailing list