Ronelle Landy created DTACLOUD-510:
--------------------------------------

             Summary: CIMI: GET cimi/machines(/machine_id) does not return an 
address element (networkInterfaces)
                 Key: DTACLOUD-510
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-510
             Project: DeltaCloud
          Issue Type: Bug
          Components: CIMI/Frontend
         Environment: deltacloud commit version: 
a084a27c395794037929875598d406b76ef6a4a8
cimi
addresses

            Reporter: Ronelle Landy


To test user_data injection, we need to be able to SSH to a machine and 
retrieve the data through one of the three supported methods. All methods 
require an ip address to be associated with the machine to facilitate SSH.

Looking at the spec, addresses are listed an an attribute of networkInterfaces. 
Is it possible to return the address associated with the machine w/o the full 
implementation of cimi metworks?

Right now ... GET cimi/machines returns .... (note: no address)

  <Machine>
    <id>http://localhost:3001/cimi/machines/miq-win7-1-dnd</id>
    <name>miq-win7-1-dnd</name>
    <description>No description set for Machine miq-win7-1-dnd</description>
    <created>2013-02-27T20:27:59Z</created>
    <realm>iscsi_storage</realm>
    <state>STOPPED</state>
    <cpu>1</cpu>
    <memory>2097152</memory>
    <disks href="http://localhost:3001/cimi/machines/miq-win7-1-dnd/disks"; />
    <volumes href="http://localhost:3001/cimi/machines/miq-win7-1-dnd/volumes"; 
/>
    <operation rel="http://schemas.dmtf.org/cimi/1/action/start"; 
href="http://localhost:3001/cimi/machines/miq-win7-1-dnd/start"; />
    <operation rel="http://schemas.dmtf.org/cimi/1/action/delete"; 
href="http://localhost:3001/cimi/machines/miq-win7-1-dnd"; />
    <operation rel="http://schemas.dmtf.org/cimi/1/action/capture"; 
href="http://localhost:3001/cimi/machine_images"; />
  </Machine>
  <operation rel="add" href="http://localhost:3001/cimi/machines"; />
</Collection>


--
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

Reply via email to