Community
 
 
 

CloudPlatform 3.x

343 abonnés
 
Avatar
Pankaj Paliwal

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
1 commentaire
0

Vous devez vous connecter pour laisser un commentaire.

 
 

Previous 1 commentaire

Avatar
Pankaj Paliwal
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
Actions pour les commentaires Permalien

Top Contributors