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