Add missing properties to Dimms table
- Added the following properties: Base module type, Bus width bits,
Capacity MiB, Data width bits, Enabled, Operating speed Mhz
- Design has been updated for Dimms table
Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com>
Change-Id: Ifd77071abd9544120c1904065275ccc00dd8d862
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 637f052..a66c375 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -382,12 +382,17 @@
},
"table": {
"assetTag": "Asset tag",
+ "baseModuleType": "Base module type",
+ "busWidthBits": "Bus width bits",
"bmcDateTime": "BMC date and time",
+ "capacityMiB": "Capacity MiB",
"chassisType": "Chassis type",
"connectTypesSupported": "Connect types supported",
"count": "Count",
+ "dataWidthBits": "Data width bits",
"description": "Description",
"efficiencyPercent": "Efficiency percent",
+ "enabled": "Enabled",
"fanSpeed": "Fan speed",
"firmwareVersion": "Firmware version",
"graphicalConsole": "Graphical console",
@@ -411,6 +416,7 @@
"minSpeedMHz": "Min speed MHz",
"model": "Model",
"name": "Name",
+ "operatingSpeedMhz": "Operating speed Mhz",
"partNumber": "Part number",
"power": "Power",
"powerInputWatts": "Power input watts",
diff --git a/src/store/modules/HardwareStatus/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js
index 6f6abe5..fd8f0a9 100644
--- a/src/store/modules/HardwareStatus/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
@@ -15,6 +15,12 @@
const {
Id,
Status = {},
+ BaseModuleType,
+ BusWidthBits,
+ CapacityMiB,
+ DataWidthBits,
+ Enabled,
+ OperatingSpeedMhz,
PartNumber,
SerialNumber,
SparePartNumber,
@@ -27,6 +33,12 @@
return {
id: Id,
health: Status.Health,
+ baseModuleType: BaseModuleType,
+ busWidthBits: BusWidthBits,
+ capacityMiB: CapacityMiB,
+ dataWidthBits: DataWidthBits,
+ operatingSpeedMhz: OperatingSpeedMhz,
+ enabled: Enabled,
partNumber: PartNumber,
serialNumber: SerialNumber,
statusState: Status.State,
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
index 07f42d2..73be06b 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
@@ -87,16 +87,6 @@
<dt>{{ $t('pageInventory.table.model') }}:</dt>
<dd>{{ dataFormatter(item.model) }}</dd>
</dl>
- <dl>
- <!-- Description -->
- <dt>{{ $t('pageInventory.table.description') }}:</dt>
- <dd>{{ dataFormatter(item.description) }}</dd>
- </dl>
- <dl>
- <!-- Memory Type -->
- <dt>{{ $t('pageInventory.table.memoryType') }}:</dt>
- <dd>{{ dataFormatter(item.memoryType) }}</dd>
- </dl>
</b-col>
<b-col sm="6" xl="6">
<dl>
@@ -109,6 +99,53 @@
<dt>{{ $t('pageInventory.table.statusState') }}:</dt>
<dd>{{ dataFormatter(item.statusState) }}</dd>
</dl>
+ <dl>
+ <!-- Enabled-->
+ <dt>{{ $t('pageInventory.table.enabled') }}:</dt>
+ <dd>{{ dataFormatter(item.enabled) }}</dd>
+ </dl>
+ </b-col>
+ </b-row>
+ <div class="section-divider mb-3 mt-3"></div>
+ <b-row>
+ <b-col sm="6" xl="6">
+ <dl>
+ <!-- Description -->
+ <dt>{{ $t('pageInventory.table.description') }}:</dt>
+ <dd>{{ dataFormatter(item.description) }}</dd>
+ </dl>
+ <dl>
+ <!-- Memory Type -->
+ <dt>{{ $t('pageInventory.table.memoryType') }}:</dt>
+ <dd>{{ dataFormatter(item.memoryType) }}</dd>
+ </dl>
+ <dl>
+ <!-- Base Module Type -->
+ <dt>{{ $t('pageInventory.table.baseModuleType') }}:</dt>
+ <dd>{{ dataFormatter(item.baseModuleType) }}</dd>
+ </dl>
+ <dl>
+ <!-- Capacity MiB -->
+ <dt>{{ $t('pageInventory.table.capacityMiB') }}:</dt>
+ <dd>{{ dataFormatter(item.capacityMiB) }}</dd>
+ </dl>
+ </b-col>
+ <b-col sm="6" xl="6">
+ <dl>
+ <!-- Bus Width Bits -->
+ <dt>{{ $t('pageInventory.table.busWidthBits') }}:</dt>
+ <dd>{{ dataFormatter(item.busWidthBits) }}</dd>
+ </dl>
+ <dl>
+ <!-- Data Width Bits -->
+ <dt>{{ $t('pageInventory.table.dataWidthBits') }}:</dt>
+ <dd>{{ dataFormatter(item.dataWidthBits) }}</dd>
+ </dl>
+ <dl>
+ <!-- Operating Speed Mhz -->
+ <dt>{{ $t('pageInventory.table.operatingSpeedMhz') }}:</dt>
+ <dd>{{ dataFormatter(item.operatingSpeedMhz) }} MHz</dd>
+ </dl>
</b-col>
</b-row>
</b-container>