search for: ddc6481

Displaying 3 results from an estimated 3 matches for "ddc6481".

Did you mean: d16481
2009 Aug 18
1
[PATCH server] Add of a button destroy for disabled hosts.
...host.disabled? + raise ActionError.new("Host must be disabled to delete it") + end + @host.destroy + return "Host was successfully deleted." + end private def lookup(id, priv) diff --git a/src/app/views/host/show.rhtml b/src/app/views/host/show.rhtml index ddc6481..fe34401 100644 --- a/src/app/views/host/show.rhtml +++ b/src/app/views/host/show.rhtml @@ -7,6 +7,9 @@ <a href="#" onClick="host_action('enable')"> <%= image_tag "icon_start_11px.png" %> Enable Host </a> + <a href=...
2009 Sep 22
0
[PATCH server] small formatting fix to host details pane
...els / data fields are not matched correctly and nics/bondings/vms shouldn't appear on multiple lines. fixes this. --- src/app/views/host/show.rhtml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/views/host/show.rhtml b/src/app/views/host/show.rhtml index ddc6481..49ac4c1 100644 --- a/src/app/views/host/show.rhtml +++ b/src/app/views/host/show.rhtml @@ -62,13 +62,13 @@ <%=h @host.arch %><br/> <%=h @host.hypervisor_type %><br/> <%=h @host.status_str %><br/> + <%= @host.vms.collect{|x| x.uuid }.join(&...
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...c_addr] - vm_hash[:vnic_mac_addr] = [ 0x00, 0x16, 0x3e, rand(0x7f), rand(0xff), - rand(0xff) ].collect {|x| "%02x" % x}.join(":") - end - end - end diff --git a/src/app/views/host/show.rhtml b/src/app/views/host/show.rhtml index f706761..ddc6481 100644 --- a/src/app/views/host/show.rhtml +++ b/src/app/views/host/show.rhtml @@ -64,7 +64,7 @@ <%=h @host.status_str %><br/> <%= @host.nics.collect{ |n| n.interface_name.to_s + " " + n.mac + - (n.physical_network.nil? ? "" :...