| Summary: | [RFE] return VM's ip address via REST | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Colin Arnott <carnott> |
| Component: | API | Assignee: | Šimon Lukašík <slukasik> |
| Status: | CLOSED NOTABUG | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.6.0 | CC: | benglish, jhardy, obarenbo, slukasik |
| Target Milestone: | GA | Keywords: | FutureFeature |
| Target Release: | 5.7.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-01 09:35:34 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Colin Arnott
2016-08-31 17:56:52 UTC
The list of IP addresses is available upon curl -k https://admin:smartvm@example.com/api/vms/1?attributes=ipaddresses Additionally, you can use 'attributes=hostnames` to get list of hostnames in the response. The other available fields are for example: os_image_name, platform, vendor_display, thin_provisioned, provisioned_storage, used_storage, mac_addresses, num_hard_disks, num_disks, num_cpu, cpu_total_cores, cpu_cores_per_socket, annotation, has_rdm_disk, disks_aligned. The problem is that we these attributes may change in future releases. We plan to have a global option to list all the possible attributes, so I am inclined to close this specific request. |