I’ve built a config generator for our routers that currently download a vendor 
config file to the users desktop, but I want to push it to our ACS using the 
API.

Is the below correct?

curl -i 'http://acsurl:7557/files/smartrg.conf' 
<http://acsurl:7557/files/smartrg.conf'> \
-X PUT \
--data @"./smartrg.conf" \
--header "fileType: 3 Vendor Configuration File" \
--header "oui: XXSerialNumberXX" \
--header "Autogenerated Config"

I wanted to see if there is a way to tag the upload with a serial number (or 
anything) so I can create a script later on to push that config to a device 
with serial number XXXX when it connects.
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to