Working on provisioning about 35 switches. Had downloaded the bulk upload project template and filled it in pretty consistently but 7 switches don't go into the project for some reason and wind up in Unplanned devices. Can claim them and add them to the project. Are there any logs that I can review to try to figure out why those 7 are rejected. Had done upload Via the GUI.
BTW, for the forum, make sure that any config/image files in the rules are already uploaded to the controller.
Maybe that is the problem...in this project it was initially just for code upgrade on the 34 devices. No config file. But that does not explain why those 7 failed. If that was an issue they would have all failed.
One way you could try, is to use the swagger API to do the upload.
Click on "API" top right,
Select "Network Plug And Play" on LHS
Select "POST pnp-project/seed-file"
Select "Choose File" next too "seedFile" parameter and use your CSV.
Press "Try it out" and you will see any errors below.
The next problem was the serial number. A lot of the ones in the file are 12 characters? Is that correct?
Invalid Serial Number, Serial number is 11 characters alphanumeric
Tried the upload via the API and all 34 devices failed. Not really sure what the output is telling me.
Code 202 =
|202||Request was accepted. Use Task ID to track the progress|
The API stuff will show you data issues in your file.
If you get through this, then you will see the seed file uploads and there will be a report you can download.
In your case, it shows the devices already exist... the names are duplicated. Every device name needs to be unique
The 202 tells you there were no data errors in the file. You can then look at the GUI (or another API) to get a report of the upload.
can show you the API to find out the next step programatically, but probably simpler in the UI.
You didn't realize that the device name had to be unique..Assumed that the key was the Serial Number. And that explains the failure as the names are indeed duplicates because these are stacks and used the host name as the device name vs the label which notes the member number.
Just need to configure a single rule any of the serial numbers in the stack, with the stacking option enabled, and the controller will do the rest.
When the stack contacts the controller, it will send all serial numbers in the stack and the controller will match on any of them.
Might be good to select the appropriate number of stack members too.