Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1060791 - [RFE] Cleanup, remove IP information guest_info section from VM resource
[RFE] Cleanup, remove IP information guest_info section from VM resource
Status: CLOSED CURRENTRELEASE
Product: ovirt-engine
Classification: oVirt
Component: RestAPI (Show other bugs)
---
Unspecified Unspecified
unspecified Severity unspecified (vote)
: ovirt-4.0.0-alpha
: 4.0.0
Assigned To: Juan Hernández
Pavel Stehlik
: FutureFeature, Improvement
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-03 10:56 EST by Juan Hernández
Modified: 2016-07-06 02:19 EDT (History)
11 users (show)

See Also:
Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Enhancement
Doc Text:
In 4.0, the "guest_info" section has been removed from the REST API VM resource as it is no longer required.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-05 04:04:38 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: ovirt‑4.0.0+
gklein: testing_plan_complete-
rule-engine: planning_ack+
juan.hernandez: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 45992 master MERGED restapi: Remove duplicated guest info Never

  None (edit)
Description Juan Hernández 2014-02-03 10:56:35 EST
Currently the RESTAPI reports the information about the IP addresses of guest network interfaces in several places:

1. /vms/{vm:id}

  <vm href="..." id="...">
    ...
    <name>whatever</name>
    ...
    <guest_info>
      <ips>
        <ip address="192.168.122.30"/>
      </ips>
      <fqdn>whatever.example.com</fqdn>
    </guest_info>
  </vm>

2. /vms/{vm:id}/nics and /vms/{vm:id}/reporteddevices

  <nics>
    <nic>
      ...
      <reported_devices>
        <reported_device href="..." id="..">
          <name>eth0</name>
          <description>guest reported data</description>
          <type>network</type>
          <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>
          <vm href="..." id="..."/>
        </reported_device>
      </reported_devices>
      ...
    </nic>
  </nics>

Number 1 was the first implementation, and is kept only for backwards compatibility. It should be removed in version 4.x.
Comment 1 Juan Hernández 2014-02-03 10:57:41 EST
The initial discussion about this is in bug 1055556.
Comment 2 Juan Hernández 2014-09-02 05:56:19 EDT
This is a backwards compatibility breaking change that we can do only in 4.x, please don't move it back to 3.x.
Comment 3 Red Hat Bugzilla Rules Engine 2015-10-19 07:00:22 EDT
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Comment 4 Karolína Hajná 2016-04-27 03:29:35 EDT
Verified in 4.0.0-0.0.master.20160404161620.git4ffd5a4.el7.centos (build ovirt-4.0_alpha1)
Comment 6 Sandro Bonazzola 2016-07-05 04:04:38 EDT
oVirt 4.0.0 has been released, closing current release.

Note You need to log in before you can comment on or make changes to this bug.