Openstack cloud (identity service, nova service and swift service) vs Java application

狂风中的少年 提交于 2019-11-28 13:25:36

问题


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).

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

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


回答1:


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

Take a more closer view to the classes below

  • OpenstackConnector.java
  • Deployer.java



回答2:


There is java SDK(aka jcloud) is available to access the openstack functionality.

wiki link : https://wiki.openstack.org/wiki/OpenStack-SDK-Java



来源:https://stackoverflow.com/questions/28873916/openstack-cloud-identity-service-nova-service-and-swift-service-vs-java-appli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!