mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
F #2160: Changed RUNNING VMS name in onehost command
This commit is contained in:
parent
09546fb6ff
commit
302f19cd48
@ -13,8 +13,8 @@
|
||||
:size: 9
|
||||
:left: true
|
||||
|
||||
:RVM:
|
||||
:desc: Number of Virtual Machines running
|
||||
:TVM:
|
||||
:desc: Total Virtual Machines allocated to the Host
|
||||
:size: 3
|
||||
|
||||
:ZVM:
|
||||
@ -70,7 +70,7 @@
|
||||
- :ID
|
||||
- :NAME
|
||||
- :CLUSTER
|
||||
- :RVM
|
||||
- :TVM
|
||||
- :ALLOCATED_CPU
|
||||
- :ALLOCATED_MEM
|
||||
- :STAT
|
||||
|
@ -105,7 +105,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
OpenNebulaHelper.cluster_str(d["CLUSTER"])
|
||||
end
|
||||
|
||||
column :RVM, "Number of Virtual Machines running", :size=>3 do |d|
|
||||
column :TVM, "Total Virtual Machines allocated to the Host", :size=>3 do |d|
|
||||
d["HOST_SHARE"]["RUNNING_VMS"] || 0
|
||||
end
|
||||
|
||||
@ -210,7 +210,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
OneHostHelper.state_to_str(d["STATE"])
|
||||
end
|
||||
|
||||
default :ID, :NAME, :CLUSTER, :RVM, :ALLOCATED_CPU, :ALLOCATED_MEM, :STAT
|
||||
default :ID, :NAME, :CLUSTER, :TVM, :ALLOCATED_CPU, :ALLOCATED_MEM, :STAT
|
||||
end
|
||||
|
||||
table
|
||||
|
Loading…
Reference in New Issue
Block a user