Hi Nino,

Right now there is no API to generate the URL. You'll have to craft an http 
request
http://<mgmt-svr>://client/console?cmd=access&vm=<vm-uuid>

Then scrape the response for the console proxy url along with the token within 
a frame like you see in the logs and use it

Thanks,
David
________________________________
From: El Nino <[email protected]>
Sent: Monday, August 3, 2020 6:14 PM
To: [email protected] <[email protected]>
Subject: Get console URL

Hi,

Could you help me please.

I need to get the console url for instance to integrate it to my application.

On the cloudstack-management server I have log bellow.

the console url is :: <html><title>r-411-KD</title><frameset><frame 
src="http://XXX.XXX.XXX.XXX/resource/noVNC/vnc_lite.html?port=8080&token=WZEwCaI3M0ccgQnMpeRW6acWcJLgO-g1xYraGkrcvEztvW_zTZeVUx84aMldw0i2z4fc-nhKOK-sS1h4tSPcNKFvxnpSTQuczTyIWxT6XjaArg7GotG0pyiMq1c0LI2SVkwDoF--QP1h1yF26TssL2Hfm0cemHg_ezxv_UTV0Um0mekl4RZlZFyn6Yv7ZO7y9uFu1Gk4pP7mCgOlFgNipVABjL7C9NEB6D7bpOrvTM6H2kogm5vzf5R2-BIy1wdJTqJ6ZrHRqCwR8qc8SKFgiw";></frame></frameset></html>


No api command to get this url. so maybe we have another way to do this ?

I’am using the last 4.15 SNAPSHOT version.

Thank You.

[email protected] 
www.shapeblue.com
3 London Bridge Street,  3rd floor, News Building, London  SE1 9SGUK
@shapeblue
  
 

Reply via email to