ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

GUI : Security settings - Server-side USB enable/disable #3305

Closed derick-montague closed 2 years ago

derick-montague commented 3 years ago

SME

BMC: @joseph-reynolds RAS: PHYP: Chris E

Overview

The Security settings page allows users to enable and disable various settings for the BMC. This feature is a service login feature only. There is some ambiguity to this story that requires research.

UX Flow / Interaction Requirements

Final Invision Mockup

https://ibm.invisionapp.com/share/SGO0QDLQ8VD#/screens image.png

cURL Commands

Notes

UI Checklist

Browser Tests (Chrome, Firefox, Safari (Mac), Edge (Windows))

Accessibility Tests

Test Hooks

dixsie commented 2 years ago

USB code update disable/enable is in the driver as 38.1 UPS disable/enable is not in the driver

Missing info:

@anoo1 @smccarney

smccarney commented 2 years ago

@dixsie Sorry, I'm not familiar with what you are talking about.

BMC version 38.1 contains an initial version of some support for an Uninterruptible Power Supply. It defines some D-Bus and PLDM data so that the BMC can tell PHYP when a UPS is present/providing power/has a low battery. This is not fully implemented yet; the goal is end of January.

I am not aware of functionality to explicitly enable/disable the UPS.

The UPS is attached to the BMC via a USB cable. If the BMC USB ports are disabled, I assume that would break the connection with the UPS causing it appear to firmware as being not present.

anoo1 commented 2 years ago

USB code update disable/enable is in the driver as 38.1

  • What are the hep text/descriptions for each?

I would say something like:

USB Firmware Update Policy: Enabled Enabling the USB Firmware Update Policy will enable the functionality to allow firmware updates through a USB key. Disabling the USB Firmware Update Policy will disable the functionality to allow firmware updates through a USB key.

Nikhil-Ashoka commented 2 years ago

Resolved by: https://github.ibm.com/openbmc/webui-vue/pull/73

joseph-reynolds commented 2 years ago

The BMC admin should be allowed to control the USB Firmware Update Policy (aka USB code update). This is a toggle (enable/disable). Operator and readonly users should only have read access to this setting.