ibm-openbmc / dev

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

PCIe Topology: Redfish: Cable Status #3564

Closed gtmills closed 2 years ago

gtmills commented 2 years ago

Cable Status

0x00 = inactive 0x01 = running 0x02 = powered off 0xFF = unknown

Are the values https://github.com/ibm-openbmc/phosphor-dbus-interfaces/pull/55 is the interface

D-Bus to Redfish mapping:

inactive - State == "StandbyOffline"; CableStatus = Normal; Health = Ok running - State "Enable"; CableStatus = Normal; Health = Ok powered offmState == "StandbyOffline" ; CableStatus = Disabled; Health = Ok unknown - Let's leave the health and state off like we will do for link status

aahmed-2 commented 2 years ago

Available Redfish values for CableStatus: https://redfish.dmtf.org/schemas/v1/Cable.v1_2_0.json

  "CableStatus": {
        "enum": [
            "Normal",
            "Degraded",
            "Failed",
            "Testing",
            "Disabled",
            "SetByService"
        ],
aahmed-2 commented 2 years ago

PR here: https://github.com/ibm-openbmc/bmcweb/pull/357

mzipse commented 2 years ago

refresh again

mzipse commented 2 years ago

Work is complete. Closing.