Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1063584

Summary: [RFE][horizon]: Download RDP conf file to auto connect to a windows instance
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/horizon/+spec/download-windows-rdp-file
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:27:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description RHOS Integration 2014-02-11 05:05:59 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/download-windows-rdp-file.

Description:

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 glance API v2 tags field to distinguish windows images. We should be able to customize this tag value in the settings.py.
Example:

------------------------
           ....
            "self": "/v2/images/3a0c219d-0a0f-48ad-9be4-97c90cfac0f4",
            "size": 9761280,
            "status": "active",
            "tags": [
                "windows-rdp",  # <--------------------------------------
                "foo",
                "bar"
            ],

------------------------

Specification URL (additional information):

None