Community
 
 
 

CloudPlatform 3.x

343 seguidores
 
Avatar
Administrator

Access to console from my web application using API

Avatar

Access to console from my web application using API

Hi,
I'm using CloudStack, ver. 3.0. I implement some of API and use it for provisioning via my web site. I have next request. I need to provide access to console through my web site. How I can do that?


Silver Developer MEMBERS 01 February 2013 - 09:51 AM
1 comentário
0

Por favor, entrar para comentar.

 
 

Previous 1 comentário

Avatar
Administrator
Avatar

Access to console from my web application using API

You should be able to achieve that by using the following:

http://<Management_Server_IP>:8080/client/console?cmd=access&vm=<VM_ID>

Lets say the management server IP is 10.20.30.40 and vm id is fdec294c-46c2-46fd-bc0e-fac23bc146b3, then the URL would look like,
http://10.20.30.40:8080/client/console?cmd=access&vm=fdec294c-46c2-46fd-bc0e-fac23bc146b3

Note that you would need an authenticated web session to use the above else you'd see "Access denied. Invalid web session or API key in request".

Please refer to the below API for more details,
http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/login.html

-somesh


Somesh Naidu CITRIX EMPLOYEES 05 March 2013 - 09:53 AM
Ações de comentário Permalink

Top Contributors