Modify Memory Field Names
Some field names have been modified in this commit to clarify the
information displayed when running "host-memory-list" and
"host-memory-show". The reason is that certain fields, including
those being modified, refer to huge pages in general without any
distinction (vSwitch or application)
Test plan:
PASS: Modify names and values in a worker system and verify that
the information is displayed correctly.
Closes-Bug: 2045676
Change-Id: I530c28b421807397af783fa3944d1dfd82bd0b27
Signed-off-by: fperez <fabrizio.perez@windriver.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright (c) 2013-2014 Wind River Systems, Inc.
|
||||
# Copyright (c) 2013-2014, 2018, 2019, 2023 Wind River Systems, Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -43,10 +43,10 @@ def _print_imemory_show(imemory):
|
||||
'Application Huge Pages Pending As Percentage',
|
||||
'Application Huge Pages (2M): Total',
|
||||
' Total Pending',
|
||||
' Available',
|
||||
' Available (App and vS)',
|
||||
'Application Huge Pages (1G): Total',
|
||||
' Total Pending',
|
||||
' Available',
|
||||
' Available (App and vS)',
|
||||
'uuid', 'ihost_uuid', 'inode_uuid',
|
||||
'created_at', 'updated_at']
|
||||
|
||||
@@ -136,12 +136,12 @@ def do_host_memory_list(cc, args):
|
||||
'app_total_4K',
|
||||
'app_hp_as_percentage',
|
||||
'app_hp_total_2M',
|
||||
'app_hp_avail_2M',
|
||||
'hp_avail_2M',
|
||||
'app_hp_pending_2M',
|
||||
'app_hp_total_1G',
|
||||
'app_hp_avail_1G',
|
||||
'hp_avail_1G',
|
||||
'app_hp_pending_1G',
|
||||
'app_hp_use_1G']
|
||||
'hp_use_1G']
|
||||
|
||||
utils.print_list(imemorys, fields, field_labels, sortby=1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user