Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 856508

Summary: ovirt-engine-restapi : RSDL does not document VM CPU pinning
Product: Red Hat Enterprise Virtualization Manager Reporter: Oded Ramraz <oramraz>
Component: ovirt-engine-restapiAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Begun <ibegun>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: acathrow, bazulay, dyasny, ecohen, iheim, mpastern, oramraz, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: si20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 19:59:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Oded Ramraz 2012-09-12 07:47:42 UTC
Description of problem:

There is no way to define VM CPU pinning topology using Rest API , need to add it to RSDL . 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 3 Ido Begun 2012-11-13 14:12:16 UTC
OK - SI24

CPU pinning topology is now listed in API; for example:
<cpu>
<topology sockets="1" cores="1"/>
<cpu_tune>
<vcpu_pin vcpu="0" cpu_set="1-4,^2"/>
</cpu_tune>
</cpu>

Comment 4 Michael Pasternak 2012-11-13 15:30:37 UTC
(In reply to comment #3)
> OK - SI24
> 
> CPU pinning topology is now listed in API; for example:
> <cpu>
> <topology sockets="1" cores="1"/>
> <cpu_tune>
> <vcpu_pin vcpu="0" cpu_set="1-4,^2"/>
> </cpu_tune>
> </cpu>

api existence of the "CPU pinning" element is not related to this bug, please 
vitrify that it's described in the RSDL.

Comment 5 Oded Ramraz 2012-11-13 18:40:28 UTC
<parameter required="false" type="collection">
<name>vm.cpu.cpu_tune.vcpu_pin</name>
<parameters_set>
<parameter required="false" type="xs:int">
<name>vcpu_pin.vcpu</name>
</parameter>
<parameter required="false" type="xs:string">
<name>vcpu_pin.cpu_set</name>
</parameter>

<parameter required="false" type="collection">
<name>template.cpu.cpu_tune.vcpu_pin</name>
<parameters_set>
<parameter required="false" type="xs:int">
<name>vcpu_pin.vcpu</name>
</parameter>
<parameter required="false" type="xs:string">
<name>vcpu_pin.cpu_set</name>
</parameter>

Found it in rsdl 
moving to verified  
si24.1