sushy.resources.oem.base.
OEMResourceBase
(connector, path='', redfish_version=None, registries=None, reader=None, root=None)¶Bases: sushy.resources.base.ResourceBase
set_parent_resource
(parent_resource, vendor_id)¶sushy.resources.oem.common.
get_resource_extension_by_vendor
(resource_name, vendor, resource)¶Helper method to get Resource specific OEM extension object for vendor
resource_name – The underscore joined name of the resource e.g. ‘system’ / ‘ethernet_interface’ / ‘update_service’
vendor – This is the OEM vendor string which is the vendor-specific extensibility identifier. Examples are: ‘Contoso’, ‘Hpe’. As a matter of fact the lowercase of this string will be the plugin entry point name.
resource – The Sushy resource instance
The object returned by plugin(*args, **kwds)
of extension.
OEMExtensionNotFoundError – if no valid resource OEM extension found.
sushy.resources.oem.fake.
ContosoActionsField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
reset
= <sushy.resources.common.ResetActionField object>¶sushy.resources.oem.fake.
FakeOEMSystemExtension
(connector, path='', redfish_version=None, registries=None, reader=None, root=None)¶Bases: sushy.resources.oem.base.OEMResourceBase
data_type
= <sushy.resources.base.Field object>¶get_reset_system_path
()¶name
= <sushy.resources.base.Field object>¶production_location
= <sushy.resources.oem.fake.ProductionLocationField object>¶sushy.resources.oem.fake.
ProductionLocationField
(*args, **kwargs)¶Bases: sushy.resources.base.CompositeField
country
= <sushy.resources.base.Field object>¶facility_name
= <sushy.resources.base.Field object>¶sushy.resources.oem.fake.
get_extension
(*args, **kwargs)¶sushy.resources.oem.
get_resource_extension_by_vendor
(resource_name, vendor, resource)¶Helper method to get Resource specific OEM extension object for vendor
resource_name – The underscore joined name of the resource e.g. ‘system’ / ‘ethernet_interface’ / ‘update_service’
vendor – This is the OEM vendor string which is the vendor-specific extensibility identifier. Examples are: ‘Contoso’, ‘Hpe’. As a matter of fact the lowercase of this string will be the plugin entry point name.
resource – The Sushy resource instance
The object returned by plugin(*args, **kwds)
of extension.
OEMExtensionNotFoundError – if no valid resource OEM extension found.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.