Example Python programs for basic interaction with the Interoute Virtual Data Centre API. These all make use of the class 'VDCApiCall' which is defined in vdc_api_call.py.
For introduction to using the API, see Introduction to the VDC API.
See the other repo Interoute/API-fun-and-education for API programming and application examples.
vdc_api_call.py: Base Python class VDCApiCall for working with the Interoute Virtual Data Centre API
disk_offering_get_all.py: Get a list of the available disk offerings
iso_get_by_zone.py: List available ISOs to create a virtual machine, in a specified zone
networks_get_by_zone.py: List available networks in a specified zone
service_offering_get_all.py: List all the available service offerings (CPU and RAM) for a virtual machine
template_get_by_zone.py: List available templates to create a virtual machine, in a specified zone
vm_changeserviceoffering.py: Change the service offering (CPU and RAM) of a stopped virtual machine
vm_deploy.py: Deploy a virtual machine
vm_destroy.py: Destroy a virtual machine
vm_get_one.py: Get status and properties information about one virtual machine
vm_reboot.py: Reboot (stop and start) a virtual machine
vm_resetpassword.py: Reset the administrator/root user password for a virtual machine
vm_scale.py: Scale the service offering (CPU and RAM) of a virtual machine
vm_start.py: Start a virtual machine from a stopped state
vm_stop.py: Stop a virtual machine from a running state
zone_get_all.py: List the available zones