How to get custom params from CPE from GenieACS

Hidayat Halim hidayat at swag.my
Wed Aug 30 04:52:25 EDT 2017


Sadly there is no log from easycwmp that I'm able to find.

I am using this command to create a setParameterValues RPC thru the
GenieAcs API.

curl -i '
http://47.74.148.104:7557/devices/FFFFFF-Generic-FFFFFF123456/tasks?connection_request'
  -X POST   --data '{"name":"setParameterValues",
"parameterValues":[["Device.DeviceInfo.ServiceLevel", "limited",
"xsd:string"]]}'


However I have problem updating the information on the device. Can anyone
give me an example of a working setParameterValue that I can try on my
device?

Thank you!

On Tue, Aug 29, 2017 at 6:44 PM, Dan Morphis <dan at milkcarton.com> wrote:

> Look for the easycwmp log file. Maybe in /var/log
>
> -dan
>
> On Aug 29, 2017, at 1:59 AM, Hidayat Halim <hidayat at swag.my> wrote:
>
> Amazing. Thank you very much Oliver. That really clarifies the issue.
>
> I have another question which is pretty simple but I can't seem to get it
> work.
>
> I am currently using genieAcs with easycwmp. I'm trying to
> setParameterValues using genieAcs API but to no avail. I'm not sure how I
> can start debugging it. Do you have any experience with easycwmp?
>
> Thank you in advance!
>
> On 29 Aug 2017 5:41 pm, "Oliver Kraitschy" <oliver at okraits.de> wrote:
>
>> On 29.08.2017 05:00, Hidayat Halim wrote:
>>
>> 1. Lets say that I have several devices which I wanted to categorize into
>>> several categories. Can you advice me on what is the recommended way to do
>>> that?
>>>
>>
>> What do you want to use the categories for? For presets/provisions?
>>
>> I can think of at least 3 ways to group devices:
>>
>> - assign tags to devices and use those in preconditions in presets
>> - use preconditions to run a preset only for a number of devices, grouped
>> by Productclass, Model, Subnet, etc.
>> - use a custom logic in a provision script to evaluate if actions need to
>> be applied to a certain device
>>
>> 2. I've read the wiki on Provision and I think this could help me with
>>> this problem. Is it possible to write a provision scripts that will run
>>> firmware_updates automatically on all devices from the same category
>>> without the need for the admin to push the firmware files manually on the
>>> devices?
>>>
>>
>> Yes, see 1. Use preconditions to run a preset only for a group of devices.
>>
>> Greetings,
>> Oliver
>> _______________________________________________
>> Users mailing list
>> Users at lists.genieacs.com
>> http://lists.genieacs.com/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.genieacs.com
> http://lists.genieacs.com/mailman/listinfo/users
>
>


-- 
Regards,
Hidayat Halim | Software Engineer
Swag Technologies Sdn Bhd (1055083-V)
33-15, Q Sentral, 50470, Kuala Lumpur, Malaysia
T +60 3 2742 6473 | F +60 3 2742 6474 | www.swag.my
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20170830/03c336b2/attachment.html>


More information about the Users mailing list