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/03/18 22:43:15 UTC

[jira] [Assigned] (DTACLOUD-494) CIMI: NetworkTemplates collection does not have an add op

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

Ronelle Landy reassigned DTACLOUD-494:
--------------------------------------

    Assignee: Marios Andreou  (was: Ronelle Landy)
    
> 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: Marios Andreou
>
> 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