Skip to content

Commit

Permalink
F #2312: Fireedge socket connections (VMRC) (#242)
Browse files Browse the repository at this point in the history
* VMRC with fireedge server
* Linting VMRC server

Signed-off-by: Frederick Borges <[email protected]>
  • Loading branch information
Frederick Borges authored Sep 24, 2020
1 parent e18170f commit 6b624d7
Show file tree
Hide file tree
Showing 17 changed files with 313 additions and 323 deletions.
5 changes: 2 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ RUBY_LIB_FILES="src/mad/ruby/ActionManager.rb \
src/oca/ruby/opennebula.rb \
src/sunstone/OpenNebulaVNC.rb \
src/sunstone/OpenNebulaGuac.rb \
src/sunstone/OpenNebulaVMRC.rb \
src/sunstone/opennebula_vmrc.rb \
src/sunstone/OpenNebulaAddons.rb \
src/vmm_mad/remotes/vcenter/vcenter_driver.rb \
src/vmm_mad/remotes/nsx/nsx_driver.rb \
Expand Down Expand Up @@ -2408,8 +2408,7 @@ SUNSTONE_MODELS_FILES="src/sunstone/models/OpenNebulaJSON.rb \
src/sunstone/models/OpenNebula2FA/SunstoneWebAuthn.rb \
src/sunstone/models/OpenNebula2FA/sunstone_qr_code.rb \
src/sunstone/models/OpenNebula2FA/sunstone_optp.rb \
src/sunstone/models/OpenNebula2FA/sunstone_2f_auth.rb \
src/sunstone/models/OpenNebulaValidateFireedge.rb"
src/sunstone/models/OpenNebula2FA/sunstone_2f_auth.rb"

SUNSTONE_MODELS_JSON_FILES="src/sunstone/models/OpenNebulaJSON/HostJSON.rb \
src/sunstone/models/OpenNebulaJSON/ImageJSON.rb \
Expand Down
203 changes: 0 additions & 203 deletions src/sunstone/OpenNebulaVMRC.rb

This file was deleted.

19 changes: 12 additions & 7 deletions src/sunstone/etc/sunstone-server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,6 @@
:vnc_request_password: false
:allow_vnc_federation: no

:guac_port: 29877
:guacd_port: 4822

:vmrc_port: 2616
:fireedge_server_endpoint: "http://localhost:2616"
:max_waiting_tries: 5

# Login Session Length in seconds, defaults to 1 hour.
#:session_expire_time: 3600

Expand Down Expand Up @@ -269,3 +262,15 @@

:zeromq_server: tcp://localhost:2101
:autorefresh_ip: 127.0.0.1

################################################################################
# Fireedge
################################################################################

:fireedge_endpoint: http://localhost:2616

# Number of tries when connecting to fireedge_endpoint
:max_waiting_tries: 5

:guac_port: 29877
:guacd_port: 4822
63 changes: 0 additions & 63 deletions src/sunstone/models/OpenNebulaValidateFireedge.rb

This file was deleted.

2 changes: 1 addition & 1 deletion src/sunstone/models/SunstoneServer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

require 'OpenNebulaVNC'
require 'OpenNebulaGuac'
require 'OpenNebulaVMRC'
require 'opennebula_vmrc'
require 'OpenNebulaAddons'
require 'OpenNebulaJSON/JSONUtils'
#include JSONUtils
Expand Down
Loading

0 comments on commit 6b624d7

Please sign in to comment.