MCPcopy Create free account
hub / github.com/ceph/ceph / get_system_class

Function get_system_class

src/ceph-node-proxy/ceph_node_proxy/registry.py:37–40  ·  view source on GitHub ↗

Return the Redfish system class for the given vendor. Falls back to generic.

(vendor: str)

Source from the content-addressed store, hash-verified

35
36
37def get_system_class(vendor: str) -> Type[BaseRedfishSystem]:
38 """Return the Redfish system class for the given vendor.
39 Falls back to generic."""
40 return REDFISH_SYSTEM_CLASSES.get(vendor, BaseRedfishSystem)
41
42
43_load_entry_point_systems()

Callers 1

init_systemMethod · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected