[ 
https://issues.apache.org/jira/browse/LIBCLOUD-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254562#comment-13254562
 ] 

Sengor commented on LIBCLOUD-183:
---------------------------------

Thank you for the patch. For API v1.5 this patch works on vanilla VMware vCloud 
lab deployment for the following tasks:
- create_node(name="test", image=images[0])
- destroy_node(nodes[0])
- list_nodes()
- list_images()

This patch did not work for me when ex_network is specified due to malformed 
XML request body (not compliant with official vApp.xsd). See attached 
"create_node_ex_net.test.txt" along with an example on how the request body 
should look "create_node_ex_net.recommended.xml"

I recommend using the following default headers as to my knowledge cookie 
method is not officially supported under v1.5 API spec:
           { 'Accept': 'application/*+xml;version=1.5',
            'x-vcloud-authorization': self.token }

                
> Implement support for vCloud v1.5
> ---------------------------------
>
>                 Key: LIBCLOUD-183
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-183
>             Project: Libcloud
>          Issue Type: New Feature
>          Components: Compute
>    Affects Versions: 0.9.1
>            Reporter: Michal Galet
>         Attachments: LIBCLOUD-183-vcloud_1_5.patch, 
> create_node_ex_net.test.txt
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> The current version of libcloud has support only for vCloud v0.8 and is 
> incompatible with the recent version of vCloud v1.5. 
> It would be nice if the newer version was supported by libcloud: 
> http://communities.vmware.com/thread/302725

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to