问题
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