diff options
4 files changed, 13 insertions, 17 deletions
diff --git a/src/store/modules/HardwareStatus/BmcStore.js b/src/store/modules/HardwareStatus/BmcStore.js index c6de412eb..a4c77cb9d 100644 --- a/src/store/modules/HardwareStatus/BmcStore.js +++ b/src/store/modules/HardwareStatus/BmcStore.js @@ -32,9 +32,6 @@ const BmcStore = { bmc.name = data.Name; bmc.partNumber = data.PartNumber; bmc.powerState = data.PowerState; - bmc.serialConsoleConnectTypes = data.SerialConsole.ConnectTypesSupported; - bmc.serialConsoleEnabled = data.SerialConsole.ServiceEnabled; - bmc.serialConsoleMaxSessions = data.SerialConsole.MaxConcurrentSessions; bmc.serialNumber = data.SerialNumber; bmc.serviceEntryPointUuid = data.ServiceEntryPointUUID; bmc.sparePartNumber = data.SparePartNumber; diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js index 50c8b6f7d..7fbd6bc41 100644 --- a/src/store/modules/HardwareStatus/SystemStore.js +++ b/src/store/modules/HardwareStatus/SystemStore.js @@ -27,6 +27,9 @@ const SystemStore = { system.processorSummaryCoreCount = data.ProcessorSummary?.CoreCount; system.powerState = data.PowerState; system.serialNumber = data.SerialNumber; + system.serialConsoleEnabled = data.SerialConsole.ServiceEnabled; + system.serialConsoleMaxSessions = + data.SerialConsole.MaxConcurrentSessions; system.healthRollup = data.Status?.HealthRollup; system.subModel = data.SubModel; system.statusState = data.Status?.State; diff --git a/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue index 848322c05..4ee4eba16 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableBmcManager.vue @@ -139,20 +139,6 @@ {{ dataFormatter(item.graphicalConsoleEnabled) }} </dd> </dl> - <!-- Serial console --> - <p class="mt-1 mb-2 h6 float-none m-0"> - {{ $t('pageInventory.table.serialConsole') }} - </p> - <dl class="ml-4"> - <dt>{{ $t('pageInventory.table.connectTypesSupported') }}:</dt> - <dd> - {{ dataFormatterArray(item.serialConsoleConnectTypes) }} - </dd> - <dt>{{ $t('pageInventory.table.maxConcurrentSessions') }}:</dt> - <dd>{{ dataFormatter(item.serialConsoleMaxSessions) }}</dd> - <dt>{{ $t('pageInventory.table.serviceEnabled') }}:</dt> - <dd>{{ dataFormatter(item.serialConsoleEnabled) }}</dd> - </dl> </b-col> </b-row> </b-container> diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue index 2839c788a..23beb47a2 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue @@ -123,6 +123,16 @@ <dt>{{ $t('pageInventory.table.coreCount') }}:</dt> <dd>{{ dataFormatter(item.processorSummaryCoreCount) }}</dd> </dl> + <!-- Serial console --> + <p class="mt-1 mb-2 h6 float-none m-0"> + {{ $t('pageInventory.table.serialConsole') }} + </p> + <dl class="ml-4"> + <dt>{{ $t('pageInventory.table.maxConcurrentSessions') }}:</dt> + <dd>{{ dataFormatter(item.serialConsoleMaxSessions) }}</dd> + <dt>{{ $t('pageInventory.table.serviceEnabled') }}:</dt> + <dd>{{ dataFormatter(item.serialConsoleEnabled) }}</dd> + </dl> </b-col> </b-row> </b-container> |