opencomputeproject / HWMgmt-OCP-Profiles

A place where all the OCP profiles are a placed. Issues can be submitted/resolved and modifications can be reviewed/merged
Apache License 2.0
15 stars 17 forks source link

OCP Baseline Profile Improvements #53

Open lindappwu opened 1 year ago

lindappwu commented 1 year ago

In the OCP Baseline Profile, the mandatory requirements for Chassis doesn't seem to be designed for the sub-Chassis components, especially for the components embedded on the board.

        "Chassis": {
            "PropertyRequirements": {
                                ...
                "Model": {},
                "SerialNumber": {},
                "PowerState": {},
                "Links": {
                    "PropertyRequirements": {
                        "ManagedBy": {}
                    }
                }
            }
        },

Suggest to add conditional requirements based on the value of ChassisType, similar to https://github.com/opencomputeproject/HWMgmt-OCP-Profiles/blob/d06fae818ea59292a5652d4d1dbf85b7423864ae/Server/OCPServerHardwareManagement.v1_0_1.json#L25C12-L25C34

jcleung5549 commented 1 year ago

The general direction is to create a new baseline from which sub-Chassis profiles can extend. The current Baseline profile was created to form the baseline for managing platforms (servers, network devices, storage platforms, etc).

jautor commented 11 months ago

I'll take a look at this as well.

jcleung5549 commented 10 months ago

1/9 - In the interim, modify baseline to condition the requirement based on ChassisType. Linda has a profile fragment for this.

jcleung5549 commented 8 months ago

Baseline v1.1 merged. Await HW Mgmt Project to release.