Hello,

I don't know if it's everybody or if it's just me, but I've been trying the preset API to create a new preset in GenieACS, but I can't make it work. I only change "localhost" to my GenieACS Server IP. The code is the following:

|curl -i 'http://GENIEACS-IP:7557/presets/inform' \
-X PUT \
--data '{ weight: 0, precondition: "{\"_tags\":\"test\"}", configurations: [ { type: "value", name: 
"InternetGatewayDevice.ManagementServer.PeriodicInformEnable", value: "true" }, { type: "value", name: 
"InternetGatewayDevice.ManagementServer.PeriodicInformInterval", value: "300" } ] }'
|


Maybe it's a recent change in the GenieACS project implementation, maybe not. Thank you all.

- Sergio Fernández
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to