<div dir="ltr">Why are you doing the CPE config this way? A much easier approach is to have a base config on all your CPEs, then use a provisioning script to set the specific things (un/pw, wifi, port forwards,etc) for the CPE as it comes online. Search the mailing list archives, I've posted provisioning and external scripts that will accomplish this.<div><br></div><div>At any rate, what you have wouldn't really work, an OUI isn't a serial number. OUI is Organizational Unique Identifier and only identifies a vendor, not a specific device. So to go about things the way you want, you would need to upload hundreds of configs, and then use a provisioning script to push the f/w based on serial number.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 7:11 AM, Kris Germann - Portal Network Co. <span dir="ltr"><<a href="mailto:kgermann@portal.net.co" target="_blank">kgermann@portal.net.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><font face="HelveticaNeue"><span style="font-size:11px">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.</span></font><div><font face="HelveticaNeue"><span style="font-size:11px"><br></span></font></div><div><font face="HelveticaNeue"><span style="font-size:11px">Is the below correct?</span><br><br><span style="font-size:11px">curl -i '</span><a href="http://acsurl:7557/files/smartrg.conf'" style="font-size:11px;margin:0px;padding:0px;vertical-align:baseline;text-decoration:none" target="_blank">http://acsurl:7557/files/<wbr>smartrg.conf'</a><span style="font-size:11px"> \</span><br><span style="font-size:11px">-X PUT \</span><br><span style="font-size:11px">--data @"./smartrg.conf" \</span><br><span style="font-size:11px">--header "fileType: 3 Vendor Configuration File" \</span><br><span style="font-size:11px">--header "oui: XXSerialNumberXX" \</span><br><span style="font-size:11px">--header "Autogenerated Config"</span><br><br><span style="font-size:11px">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.</span></font></div></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>