Displaying 3 results from an estimated 3 matches for "forward_vnc_port".
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...has_many :vm_state_change_events,
:order => 'created_at' do
def previous_state_with_type(state_type)
@@ -59,22 +51,6 @@ class Vm < ActiveRecord::Base
validates_format_of :uuid,
:with => %r([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})
- FORWARD_VNC_PORT_START = 5901
-
- validates_numericality_of :forward_vnc_port,
- :message => 'must be >= ' + FORWARD_VNC_PORT_START.to_s,
- :greater_than_or_equal_to => FORWARD_VNC_PORT_START,
- :if => Proc.new { |vm| vm.forward_vnc &&
- !vm.forward_vn...
2009 Jul 15
0
[PATCH server] changed vm details pane vnc uri, removed 'Remote Desktop' virt-viewer-plugin link
...used:<br/>
Memory allocated:<br/>
@@ -115,9 +106,8 @@
</div>
<div class="selection_value">
<%=h @vm.uuid %><br/>
- <%= url = request.url
- url = request.url[0..(url.index('/', 8) - 1)] + ":" + @vm.forward_vnc_port.to_s
- @vm.forward_vnc ? (url + "<br/>") : "" %>
+ ovirt-viewer@<span id="vnc_uri"/><br/>
+ <script type="text/javascript">$('#vnc_uri').html(get_server_from_url());</script>
<%=h @vm.n...
2009 May 19
2
[PATCH server] added ovirt vnc proxy server, to proxy vnc request to managed vms
run on startup by default like the other ovirt services
---
conf/ovirt-vnc-proxy | 49 ++++++++
installer/modules/ovirt/manifests/ovirt.pp | 1 +
ovirt-server.spec.in | 5 +
src/vnc-proxy/vnc-proxy.rb | 167 ++++++++++++++++++++++++++++
4 files changed, 222 insertions(+), 0 deletions(-)
create mode 100755 conf/ovirt-vnc-proxy