trouble using setParameterValues

Dan Morphis dan at milkcarton.com
Thu Feb 14 13:25:32 EST 2019


GenieACS will not do a SPV if it thinks the value is already the desired
one. I.e., if the cached model matches the desired state, no changes will
be sent to the CPE.

To work around this, you need to do a GPV first.

  curl -i '
http://localhost:7557/devices/48BF74-FAP%252FpBS4230%252FSC-1202000092184AP0017/tasks?connection_request'
\
  -X POST \
  --data '{"name":"getParameterValues", "*parameterNames*
":["InternetGatewayDevice.Services.FAPService.1.FAPControl.LTE.AdminState"]}'

Then:
 curl -i '
http://localhost:7557/devices/48BF74-FAP%252FpBS4230%252FSC-1202000092184AP0017/tasks?connection_request'
\
  -X POST \
  --data '{"name":"setParameterValues",
"parameterValues":[["InternetGatewayDevice.Services.FAPService.1.FAPControl.LTE.AdminState",
"DOWN"]]}'

-dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20190214/660772ff/attachment.html>


More information about the Users mailing list