Details
Description
The attached patch adds a new Snitch that queries meta data for a host on Apache Cloudstack environments. Since the metadata service is colocated with the DHCP service in Cloudstack, common lease file locations are looked up to retrieve.
Since zone naming is freeform in Apache Cloudstack, the widely used <country><location><az> notation is assumed.
The patch includes a simple unit test and has been tested on exoscale.ch, a public cloud based on Apache Cloudstack