Download RDP conf file to auto connect to a windows instance

Registered by Cédric Soulas on 2014-02-10

Windows, Linux and Mac OS make connection to a windows machine easy through a RDP configuration file. Here is an example of the content of such a configuration file:

----- instance-xxxx.rdp -----
    auto connect:i:1full address:s:94.101.81.219
    username:s:Administrator
-------------------------------

For example, on Windows, a user just has to double-click on a .rdp shortcut and it will automatically try to connect to the remote server, using the proper username.

This blueprint is to make, through Horizon, connections to a Windows instance easier and faster using this file:

1/ Start a Windows instance via Horizon
2/ Click on the "More.." dropdown for the launched instance (page instances: /project/instances/)
3/ Click "Download RDP file"
4/ Click on the downloaded file
5/ On windows, it starts connecting to the instance
6/ Just enter your password on the remote windows login box and voilà!

Notes:
- We should be able to disable this feature via horizon settings.py
- The "Download RDP file" link should be displayed only for windows images
- We could use the standard os_distro=windows property (but it would be only for Windows instance, maybe other distro would like to provide RDP?)
- Alternatively, we could use the glance API v2 tags field to distinguish windows images (and being able to customize this tag value in the settings.py)

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Cédric Soulas
Direction:
Needs approval
Assignee:
None
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Cindy Lu on 2016-10-28

Related branches

Sprints

Whiteboard

10.28.2016 [clu_] no work done for a long time. closing out.

Gerrit topic: https://review.openstack.org/#q,topic:bp/download-windows-rdp-file,n,z

Addressed by: https://review.openstack.org/91394
    Implemented the functionality of generating a rdp file for a windows instance.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.