VSphere
OPS works perfectly fine with VSphere ESX 6.7 and 7.0.
It uses the pvsci driver for storage and vmnetx3 for networking.
For most operations you'll want to use the following config and you'll need access to your API key and the access key and secret access key found in your portal:
Image Operations
Create Image
This creates a monolithicFlat image (2 files) and uploads it to vsphere's datastorage.
List Images
Delete Image
Instance Operations
Create Instance
The domain part of the Resource Pool is in this example, 'localhost.localdomain'. You can find that in your portal.
Start an Instance
List Instances
Note: The first time you run this command you might need to have the Guest IP Hack set. OPS will try to set that automatically for you but all existing vms won't report their ips until it is set and will require a new ARP request to be sent. If you already know the ip in question you can simply connect to it or you can reboot the vm and that will generate traffic.
Get Logs for Instance
You can obtain the logs via:
Delete Instance
Right now the delete instance deletes both the instance and the image. We will probably change this in the future to do just the instance.
Last updated