re-core.core
Core protocols
Vm
protocol
A VM/Machine base API, implement this in order to add a new provider into re-core
members
create
(create this)
Creates a VM, the VM should be up and and ready to accept ssh sessions post this step
delete
(delete this)
Deletes a VM
ip
(ip this)
Instance IP address
start
(start this)
Starts an existing VM only if its not running, ssh should be up
status
(status this)
Returns vm status (values defere between providers) false if it does not exists
stop
(stop this)
Stops a VM only if it exists and running