项目作者: pbreton

项目描述 :
Add support in MAAS to control power of VMs in VMware Fusion.
高级语言: Shell
项目地址: git://github.com/pbreton/maas-vmware-fusion.git
创建时间: 2018-11-20T19:39:00Z
项目社区:https://github.com/pbreton/maas-vmware-fusion

开源协议:

下载


maas-vmware-fusion

This will allow MAAS to manage power for virtual machine created using VMWare Fusion.
For some reason it looks like VMWare Fusion is not using the same API as other VMWare products: most use a SOAP-based
API where Fusion uses a REST API delivered by an executable called ‘vmrest’ (part of Fusion).

This will make availabke a new power type: vmwaremac (VMWare Fusion (vmrest))

Couple pointers:

You can use a self-signed certificate for vmrest:

  • openssl req -x509 -newkey rsa:4096 -keyout fusionapi-key.pem -out fusionapi-cert.pem -days 365 -nodes
  • use ‘https+unverified’ as protocol type in MAAS