The Redfish specification allows for OEM resources and properties to be implemented by OEMs. bmcweb does not expose a stable API for adding OEM properties in a backward API compatible way for code that has not been merged to master.
Generally, a single individual or group of senior individuals in a corporate organization is responsible for maintaining that company's OEM namespace. They ensure that it remains correct, doesn't duplicate functionality found elsewhere, and can be maintained forever. Within OpenBMC, we have no such group of individuals with that authority, knowledge, willpower, and scope that covers the entire project.
Because of that, OEM properties in an open-source project pose many problems when compared to their closed source brethren.
OpenBMC's external Redfish API aims to be as compatible between systems as possible. Adding machine-specific resources, properties, and types defeats a large amount of reuse, as clients must implement machine-specific APIs, some of which are likely to overlap, which increases the amount of code overall. OpenBMC also has very little visibility into clients that might interface with Redfish, and therefore needs to take care when adding new, non-standard APIs, given the lack of compatibility rules in such a case.
In the experience of the project, OEM resources trend toward a lower level of quality and testing than their spec-driven alternatives, given the lack of available systems to test on, and the limited audience of both producers and consumers. This poses a problem for maintenance, as it is very difficult to make a breaking change to an external API, given that clients are likely to be implemented in projects that OpenBMC isn't aware of.
If a given feature eventually becomes standardized, OpenBMC OEM endpoints now have to break an API boundary to move to the standard implementation. Given the effort it takes to break an API, it is much simpler to wait for the standard to be completed before merging the OEM code to master.
DMTF has many more Redfish experts than OpenBMC. While the bmcweb maintainers do their best to stay current on the evolving Redfish ecosystem, we have significantly limited scope, knowledge, and influence over the standard when compared to the experts within DMTF. Getting a DMTF opinion almost always leads to positive API design changes up front, which increases the usefulness of the code we write within the industry.
In the current implementation, OEM schemas for all namespaces are shipped on all systems. It's undesirable to have another company's, possibly a competitor, name show up in the public facing API as it exports a level of support that doesn't exist on those systems.
If you've read the above, and still think an OEM property is warranted, please take the following steps.
Regardless of the OEM namespace being used, implementations should plan to implement all appropriate CSDL and OpenAPI schemas for their given OEM resources, should pass the redfish service validator, should pass the csdl validator and should follow redfish API design practices. We require OEM to have the same level of quality as non-OEM.
bmcweb maintainers retain the final approval on OEM schemas.
The OpenBMC project maintains OEM schemas within the OpenBMC namespace, which, from section 9.8.1 of the Redfish specification states:
''' There are organizations for which DMTF has a working relationship, and have registered their OEM namespace directly in the specification to allow extensions of the ICANN domain name requirements above. The following organization OEM namespaces shall be considered reserved: OpenBMC '''
To avoid versioning complications with clients, schemas within the OpenBMC namespace should not be modified without appropriate versioning information. Given the nature of semantic versioning, Redfish does not directly have support for schema branching within a namespace, therefore, if a system intends to ship a version of the schemas that have been modified from the version available at https://github.com/openbmc/bmcweb/tree/master/static/redfish/v1/schema, the Redfish specification requires that the namespace be changed to avoid collisions.