Push vendor config file to ACS via API
Kris Germann - Portal Network Co.
kgermann at portal.net.co
Wed Oct 25 11:11:49 EDT 2017
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171025/e726b78d/attachment.html>
More information about the Users
mailing list