I have an OpenStack installation in my laptop running in VirtualBox windows. I want to access it from my android client and send some computational queries and retrieve the response. I know all about hotspot and networking, Just tell me about the OpenStack setup part and how the client will connect to it i.e. GET/POST requests or sockets, etc.
Advertisement
Answer
@Senol has given you links to documentation for the OpenStack “control plane” APIs. You would use these if you wanted to programatically do things like spin up new VMs, configure security groups, create and attach volumes and so on.
But if you want to do a computational task (say) on an existing OpenStack instance that you created on your DevStack installation … that’s software you need to put together yourself. Basically, you setup something on your instance that can accept requests over its private network. That could be via HTTP / HTTPS requests, or via SSH connections, or … basically anything that can accept TCP connections, UDP packets and so on.
In short:
- Set up OpenStack instance, networking, etc.
- Install network capable software stack on instance.
- Implement your application “service” to do your compute.
In your case, you appear to want your OpenStack instance to be accessible from the outside. Therefore it either needs a public IP (that your Android client can route to) or you need to do some port forwarding from your laptop’s IP / ports to the OpenStack instance’s ports on its private network. (This is getting “too broad” …)