Red Hat Training
A Red Hat training course is available for Red Hat Virtualization
B.13. guest_info 요소 제거
guest_info
요소는 IP 주소 및 정규화된 호스트 이름과 같이 게스트 에이전트가 수집한 정보를 보유하는 데 사용되었습니다. 이 정보는 다른 곳에서도 제공됩니다. 예를 들어 IP 주소는 VM 리소스 내에서 사용할 수 있습니다.
GET /ovirt-engine/api/vms/123
<vm> <guest_info> <ips> <ip address="192.168.122.30"/> </ips> <fqdn>myvm.example.com</fqdn> </guest_info> </vm>
또한 NIC 리소스 내에서 최신 reported_devices
요소를 사용합니다.
GET /ovirt-engine/api/vms/{vm:id}/nics/{nic:id}
<nic> <reported_devices> <reported_device> <name>eth0</name> <mac address="00:1a:4a:b5:4c:94"/> <ips> <ip address="192.168.1.115" version="v4"/> <ip address="fe80::21a:4aff:feb5:4c94" version="v6"/> <ip address="::1:21a:4aff:feb5:4c94" version="v6"/> </ips> </reported_device> </reported_devices> </nic>
또한 이 최신 reported_devices
요소는 여러 IP 주소, MAC 주소 등과 같은 더 완전한 정보를 제공합니다.
이 중복을 제거하려면 guest_info
요소가 제거되었습니다.
정규화된 도메인 이름을 지원하기 위해 새 fqdn
요소가 VM 리소스에 추가되었습니다.
GET /ovirt-engine/api/vms/123
<vm> <fqdn>myvm.example.com</fqdn> </vms>
여기에는 guest_info.fqdn
이 포함된 것과 동일한 정보가 포함됩니다.