Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vCloud console access via WebMKS #218

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

miha-plesko
Copy link
Contributor

@miha-plesko miha-plesko commented Mar 26, 2018

With this commit we provide code needed for VMware vCloud Director's (i.e. CloudManager) console access to work. The code is similar to that of InfraManger, but with some important differences:

  • WebMKS SDK requires additional information (vmx location)
  • WebMKS SDK must know it's vCloud's VM to use uint8utf8 protocol (instead binary)
  • websocket proxy must connect to differently formed URL (port is part of URL, while
    actual port is always 443)

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1560517

@miq-bot add_label enhancement,gaprindashvili/yes
@miq-bot assign @agrare

Related PRs:
ManageIQ/manageiq-ui-classic#3679 (merged)
ManageIQ/manageiq#17200 (merged)

/cc @bmclaughlin @gberginc

@miha-plesko
Copy link
Contributor Author

I've added unit tests, @skateman looking forward for your comments also on this one.

With this commit we provide code needed for VMware vCloud Director's (i.e.
CloudManager) console access to work. The code is similar to that of InfraManger,
but with some important differences:

* WebMKS SDK requires additional information (vmx location)
* WebMKS SDK must know it's vCloud's VM to use uint8utf8 protocol (instead binary)
* websocket proxy must connect to differently formed URL (port is part of URL, while
  actual port is always 443)

Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
@miha-plesko
Copy link
Contributor Author

@agrare both depending PRs have been merged (UI even a bit too soon, because I happend to forget to put the pending/core label) so I kindly ping you for this one. It's more or less copy-paste from Infra, only a lot simpler bcs WebMKS only.

@miq-bot
Copy link
Member

miq-bot commented Apr 3, 2018

Checked commit miha-plesko@048cff6 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
3 files checked, 0 offenses detected
Everything looks fine. 👍

@agrare agrare closed this Apr 3, 2018
@agrare agrare reopened this Apr 3, 2018
Copy link
Member

@agrare agrare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 looks good

@agrare agrare merged commit 048cff6 into ManageIQ:master Apr 3, 2018
agrare added a commit that referenced this pull request Apr 3, 2018
Add support for vCloud console access via WebMKS
@agrare agrare added this to the Sprint 83 Ending Apr 9, 2018 milestone Apr 3, 2018
simaishi pushed a commit that referenced this pull request Apr 3, 2018
Add support for vCloud console access via WebMKS
(cherry picked from commit db12e68)

https://bugzilla.redhat.com/show_bug.cgi?id=1563364
@simaishi
Copy link
Contributor

simaishi commented Apr 3, 2018

Gaprindashvili backport details:

$ git log -1
commit afe41511ca44ceffd9ffb37986386cd8af5a00f8
Author: Adam Grare <agrare@redhat.com>
Date:   Tue Apr 3 09:34:42 2018 -0400

    Merge pull request #218 from miha-plesko/console-access
    
    Add support for vCloud console access via WebMKS
    (cherry picked from commit db12e685fccf2562b037232256fa92a5e8112520)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1563364

@miha-plesko miha-plesko deleted the console-access branch January 7, 2019 08:25
agrare pushed a commit to agrare/manageiq-providers-vmware that referenced this pull request Apr 15, 2019
Use supports_vm_import? instead of validate_import_vm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants