A python SDK wrapper for Cisco's VIRL API.
- This SDK wraps the following API functions:
- Get the current simulations
- Launch a simulation
- Stop a simulation
- Get the status of a simulation
Please see: http://virl-dev-innovate.cisco.com/api.docs.php, for details about the APIs themselves
`pip install virlsdk`
- This will add the sdk to your system` git clone https://github.com/termlen0/virlsdk.git `
- This will get the sample code to use the sdk- Update config.yaml with details of your VIRL install (A sample .virl file is provided for a basic hub/spoke topology)
`python launch_sim.py -f config.yaml`
- This should launch the sim The output will have the launched session info`python stop_sim -f config.yaml -s <sim_name>`
- will stop the session
Please see the docs dir.