Openstack云(身份服务,新星服务和快速服务)与Java应用程序 [英] Openstack cloud (identity service, nova service and swift service) vs Java application

查看:153
本文介绍了Openstack云(身份服务,新星服务和快速服务)与Java应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想构建一个Java应用程序来访问OpenStack服务,如身份服务(用户名,密码,密钥等),Nova服务(创建和删除虚拟机等)和Swift服务(上传和下载文件,等等。

I want to build a Java application to access the OpenStack services like the Identity Service (username, password, secret key, etc), Nova service (create and remove virtual machines, etc) and Swift service (upload and download files, etc).

我在三台机器上设置了OpenStack Cloud并下载了Java SDK文件,以便通过此链接访问云资源 https://github.com/woorea/openstack-java-sdk

I set up OpenStack Cloud in three machines and downloaded the Java SDK files to access the cloud resources from this link https://github.com/woorea/openstack-java-sdk

我需要简单的Java代码来访问已在云中注册的用户名。

I need simple Java code to access the usernames that have registered in the cloud.

推荐答案

github上有一个项目(< a href =https://github.com/dtrihinas/CloudServiceDeployer =nofollow> CloudServiceDeployer )几乎处理你要求的内容。

There is a project on github (CloudServiceDeployer) handling almost what you were asking for.

进一步了解下面的课程

  • OpenstackConnector.java
  • Deployer.java

这篇关于Openstack云(身份服务,新星服务和快速服务)与Java应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆