09-14-2023 01:27 AM
Hi
I have the service deployed at a customer site, with over 300 switches that all need to have config changes, and to be able to group them and send the same command to every device in that group would realy speed up the deployment.
So my question is, is there any way to write a python script and add the devices from a csv file using the client?
Solved! Go to Solution.
09-14-2023 01:34 AM
Hi Niclas,
You can use the radkit-control utility on the service side to load a JSON or CSV file.
Here is the documentation to the utility: https://radkit.cisco.com/docs/pages/control_cli.html
Command synopsis:
radkit-control device bulk-create [--input bulk_devices.json] [--json-template]
Or
radkit-control device bulk-create --csv-template terminal
let me know if that helps. The formats are described in the document above.
09-14-2023 01:34 AM
Hi Niclas,
You can use the radkit-control utility on the service side to load a JSON or CSV file.
Here is the documentation to the utility: https://radkit.cisco.com/docs/pages/control_cli.html
Command synopsis:
radkit-control device bulk-create [--input bulk_devices.json] [--json-template]
Or
radkit-control device bulk-create --csv-template terminal
let me know if that helps. The formats are described in the document above.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide