- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
API
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
