RedHatCloudForms / cfme-cloud_services

Red Hat Cloud Services plugin for CloudForms
Apache License 2.0
5 stars 13 forks source link

Add Hosts, EmsClusters, and Storages to manifest #22

Closed agrare closed 5 years ago

agrare commented 5 years ago

EmsCluster:

{
 "id"=>1,
 "uid_ems"=>"domain-c109",
 "ems_ref"=>"domain-c109",
 "ha_enabled"=>false,
 "drs_enabled"=>true,
 "effective_cpu"=>122271,
 "effective_memory"=>387353411584
 }

Hosts:

 {
 "id"=>3,
 "name"=>"dell-r430-21",
 "type"=>"ManageIQ::Providers::Vmware::InfraManager::HostEsx",
 "hostname"=>"dell-r430-21",
 "ipaddress"=>"1.2.3.4",
 "power_state"=>"on",
 "guid"=>"81ed14c3-968d-4f33-952f-c507b9c721a3",
 "uid_ems"=>"dell-r430-21",
 "mac_address"=>nil,
 "maintenance"=>false,
 "vmm_vendor"=>"vmware",
 "vmm_version"=>"6.7.0",
 "vmm_product"=>"ESXi",
 "vmm_buildnumber"=>"8169922",
 "archived"=>false,
 "cpu_cores_per_socket"=>10,
 "cpu_total_cores"=>20,
 "ems_cluster_id"=>1
 }

Storages:

{
 "id"=>1,
 "name"=>"NFS Share",
 "location"=>"08e49cea-d9221d10",
 "store_type"=>"NFS",
 "total_space"=>1044536049664,
 "free_space"=>908617875456,
 "uncommitted"=>4650814222336,
 "storage_domain_type"=>nil,
 "host_storages"=>[
   {"ems_ref"=>"datastore-118", "host_id"=>1},
   {"ems_ref"=>"datastore-118", "host_id"=>2},
   {"ems_ref"=>"datastore-118", "host_id"=>3}
 ]
}
agrare commented 5 years ago

cc @gtanzillo @Fryguy