Bug 1221419

Summary: [Docs][Tech]REST API Creating a Virtual Machine example is missing cpu profile element
Product: Red Hat Enterprise Virtualization Manager Reporter: Julie <juwu>
Component: DocumentationAssignee: Julie <juwu>
Status: CLOSED CURRENTRELEASE QA Contact: Lucy Bopf <lbopf>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4.5CC: aburden, adahms, ecohen, gklein, lsurette, rbalakri, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-24 01:28:59 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1227301    

Description Julie 2015-05-14 01:22:06 UTC
Current example:
<vm>
    <name>vm2</name>
    <description>Virtual Machine 2</description>
    <type>desktop</type>
    <memory>536870912</memory>
    <cluster>
        <name>Default</name>
    </cluster>
    <template>
        <name>Blank</name>
    </template>
    <os>
      <boot dev="hd"/>
    </os>
</vm>

Error:

<fault>
<reason>Operation Failed</reason>
<detail>[action type cpu profile empty]</detail>
</fault>

Documentation Link: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Technical_Guide/sect-Methods6.html#Creating_a_Virtual_Machine

Expected Result:
Add in the missing element.

Comment 3 Lucy Bopf 2015-05-22 05:23:25 UTC
Reviewed in cs22767.

The missing elements have been added to the listed topics. I made some minor spacing fixes to the XML bodies in my QA pass. Revisions updated accordingly.

Updated in Technical Guide production spec cs23029:

Creating a Virtual Machine [7760-759138]
Example: Create Virtual Machine[7650-759137]
Example: List CPU Profiles [44375-758290] (added to spec)
Revision History [34616-759141]