Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1377738 - [Docs][REST] Wrong example format in hot plugging vCPUs api example
[Docs][REST] Wrong example format in hot plugging vCPUs api example
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
unspecified
Unspecified Unspecified
high Severity unspecified
: ovirt-3.6.10
: ---
Assigned To: Byron Gravenorst
Megan Lewis
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-20 09:48 EDT by Jenny Tokar
Modified: 2016-12-20 22:37 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-12-20 22:37:37 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Docs
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jenny Tokar 2016-09-20 09:48:53 EDT
Description of problem:

The example stated in the doc (https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.6/html/REST_API_Guide/sect-Methods7.html#Updating_a_Virtual_Machine section 15.7) is in a wrong format and if someone will use it he will not get the expected results. 

The wrong example: 
<vm>
    <cpu>
        <topology sockets="2" cores="1"/>
    </cpu>
</vm>

The correct example:
    <vm>
        <cpu>
          <topology>
            <sockets>4</sockets>
            <cores>2</cores>
            <threads>2</threads>
          </topology>
        </cpu>
     </vm>

If a user will try and run the api with the example from the docs the vm topology will not change.
Comment 1 Lucy Bopf 2016-11-17 20:17:48 EST
Assigning to Byron for review.

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