Hi,

I was wondering (and could not find in the documentation) if there are
guidelines on what needs to be implemented for a cloud (and specifically
compute) driver. Any 'MUST' functions the driver needs to support? Or can I
start with something minimalist and gradually add more?

I was looking at the libvirt driver[1 and dummy[2] as an example, but
wasn't sure about ex_ functions. For example, ex_start_node() , is
mandatory or not?

I assume those are needed:
list_nodes()
reboot_node()
destroy_node()


What about create_node() ?

What about:
ex_start_node()
ex_shutdown_node()
ex_suspend_node()
ex_resume_node()
ex_get_node_by_uuid()
ex_get_node_by_name()
ex_take_node_screenshot()  (?!)
ex_get_hypervisor_hostname()
ex_get_hypervisor_sysinfo()  (?! - isn't it very driver specific?)

TIA,
Y.

[1]
https://git-wip-us.apache.org/repos/asf?p=libcloud.git;a=blob;f=libcloud/compute/drivers/libvirt_driver.py;h=a914c5e613c53d90fbd5b5de6028bd3ae4e643be;hb=HEAD
[2]
https://git-wip-us.apache.org/repos/asf?p=libcloud.git;a=blob;f=libcloud/compute/drivers/dummy.py;h=982433525b6ef927115616cf7080c56b53a93499;hb=HEAD

Reply via email to