This repository is deprecated; please follow the main search page or use the ‘Related code repos’ widget on the right side of the current page.

netdevops-lab-as-code

I often find myself building useful bits of code to help deploy some network device or related system for labbing or testing. I figured I'd start a repository to gather them together and share with the community.

Deploying CSR1000v to vCenter from OVA with PowerShell

I deploy a lot of CSR1000vs for different labs and testing, and most often the target platform is VMware vCenter. After getting tired of the normal deploy OVA GUI workflow I put together this example.

Use Case

If you need to deploy many network devices (such as the Cisco CSR1000v) for lab work and testing, you can use this sample code to develop your own code to automate the deployment process. This enables you to perform tasks like deploying from OVA to vCenter without using a GUI.

The examples assume you have access to the source artifact (such as an OVA from cisco.com) and can leverage tools like PowerCLI from VMware and Python libraries to easily deploy consistent devices.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.