You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (JIRA)" <ji...@apache.org> on 2013/04/09 23:26:16 UTC

[jira] [Closed] (DTACLOUD-535) cimi: listed volumes show id instead of name in name attribute

     [ https://issues.apache.org/jira/browse/DTACLOUD-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy closed DTACLOUD-535.
----------------------------------


Closing issue as fixed in deltacloud commit version: 3b0b1a59361bfaf33a2e3ae81c1881209e8cc016

For rhevm (for example) volume name and id are different:

 curl -X GET --user "un:pw" "http://localhost:3001/cimi/volumes?format=xml"

<Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/VolumeCollection">
  <id>http://localhost:3001/cimi/volumes</id>
  <count>3</count>
  <Volume>
    <id>http://localhost:3001/cimi/volumes/d4d29b31-e562-407f-81aa-27f85cfda4b3</id>
    <name>data</name>
    <state>AVAILABLE</state>
    <type>http://schemas.dmtf.org/cimi/1/mapped</type>
    <capacity>678428672</capacity>
    <bootable>false</bootable>
    <operation rel="delete" href="http://localhost:3001/cimi/volumes/d4d29b31-e562-407f-81aa-27f85cfda4b3" />
  </Volume>
  <Volume>
    <id>http://localhost:3001/cimi/volumes/a6f38f21-1aed-4880-97e0-fac852184b17</id>
    <name>export</name>
    <state>AVAILABLE</state>
    <type>http://schemas.dmtf.org/cimi/1/mapped</type>
    <capacity>678428672</capacity>
    <bootable>false</bootable>
    <operation rel="delete" href="http://localhost:3001/cimi/volumes/a6f38f21-1aed-4880-97e0-fac852184b17" />
  </Volume>
  <Volume>
    <id>http://localhost:3001/cimi/volumes/6e293b32-39cd-4aee-ba97-5136db0fc49a</id>
    <name>iso</name>
    <state>AVAILABLE</state>
    <type>http://schemas.dmtf.org/cimi/1/mapped</type>
    <capacity>678428672</capacity>
    <bootable>false</bootable>
    <operation rel="delete" href="http://localhost:3001/cimi/volumes/6e293b32-39cd-4aee-ba97-5136db0fc49a" />
  </Volume>
</Collection>



                
> cimi: listed volumes show id instead of name in name attribute
> --------------------------------------------------------------
>
>                 Key: DTACLOUD-535
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-535
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Dies Koper
>         Attachments: 0008-CIMI-use-storage-volume-name-for-cimi-volume-name-if.patch
>
>
> /cimi/volumes shows volume id instead of storage_volume name in name element.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira