You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Xianguang Zhou (JIRA)" <ji...@apache.org> on 2015/11/29 14:22:11 UTC
[jira] [Commented] (JCLOUDS-1039) Create OpenStack
Api(NovaApi/NeutronApi/CinderApi......) by token
[ https://issues.apache.org/jira/browse/JCLOUDS-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030938#comment-15030938 ]
Xianguang Zhou commented on JCLOUDS-1039:
-----------------------------------------
https://github.com/jclouds/jclouds/pull/886
> Create OpenStack Api(NovaApi/NeutronApi/CinderApi......) by token
> -----------------------------------------------------------------
>
> Key: JCLOUDS-1039
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1039
> Project: jclouds
> Issue Type: New Feature
> Reporter: Xianguang Zhou
>
> Create OpenStack Api(NovaApi/NeutronApi/CinderApi......) by token.
> The token is generated by OpenStack keystone.
> use Identity API v2.0
> http://developer.openstack.org/api-ref-identity-v2.html
> API URI: /v2.0/tokens
> For example:
> NovaApi novaApi = ContextBuilder.newBuilder(provider)
> .endpoint("http://xxx.xxx.xxx.xxx:5000/v2.0/")
> .credentials(identity, "")
> .authToken("xxxxx")
> .modules(modules)
> .buildApi(NovaApi.class);
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)