deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-494) CIMI: NetworkTemplates collection does not have an add op
Date Fri, 22 Feb 2013 00:16:12 GMT
Ronelle Landy created DTACLOUD-494:
--------------------------------------

             Summary: CIMI: NetworkTemplates collection does not have an add op
                 Key: DTACLOUD-494
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-494
             Project: DeltaCloud
          Issue Type: Bug
         Environment: CIMI frontend
mock provider
Deltacloud commit version: 9b33690b6302209b85e19f5df405c07538325598
            Reporter: Ronelle Landy
            Assignee: Ronelle Landy


I'm writing a tests that adds a Network Template to the provider before using that template
to create a new network. 'discover_uri_for' networkTemplates fails as there is no add op for
this collection. The curl command below confirms that missing op:

>>  curl -X GET -H "Accept:Application/xml"  --user "un:pw" "localhost:3001/cimi/network_templates"

<Collection xmlns="http://schemas.dmtf.org/cimi/1" resourceURI="http://schemas.dmtf.org/cimi/1/NetworkTemplateCollection">
  <id>http://localhost:3001/cimi/network_templates</id>
  <count>2</count>
  <NetworkTemplate>
    <id>http://localhost:3001/cimi/network_templates/template1</id>
    <name>template1</name>
    <description>A mock network template</description>
    <created>Thu Mar 15 12:15:15 EET 2012</created>
    <networkConfig href="http://localhost:3001/cimi/network_configurations/network_config1"
/>
    <forwardingGroup href="http://localhost:3001/cimi/forwarding_groups/group1" />
    <operation rel="edit" href="http://localhost:3001/cimi/network_templates/template1"
/>
    <operation rel="delete" href="http://localhost:3001/cimi/network_templates/template1"
/>
  </NetworkTemplate>
  <NetworkTemplate>
    <id>http://localhost:3001/cimi/network_templates/template2</id>
    <name>template2</name>
    <description>Another mock network template</description>
    <created>Thu Mar 15 13:51:12 EET 2012</created>
    <networkConfig href="http://localhost:3001/cimi/network_configurations/network_config2"
/>
    <forwardingGroup href="http://localhost:3001/cimi/forwarding_groups/group1" />
    <operation rel="edit" href="http://localhost:3001/cimi/network_templates/template2"
/>
    <operation rel="delete" href="http://localhost:3001/cimi/network_templates/template2"
/>
  </NetworkTemplate>
</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

Mime
View raw message