types class¶
-
class
redfish.types.
Base
(url, connection_parameters)[source]¶ Abstract class to manage types (Chassis, Servers etc...).
-
get_link_url
(link_type, data_subset=None)[source]¶ Need to be explained.
Parameters: parameter_name – name of the parameter Returns: string – parameter value
-
-
class
redfish.types.
BaseCollection
(url, connection_parameters)[source]¶ Abstract class to manage collection (Chassis, Servers etc...).
-
class
redfish.types.
Device
(url, connection_parameters)[source]¶ Abstract class to add common methods between devices (Chassis, Servers, System).
-
get_asset_tag
()[source]¶ Get asset tag of the device.
Returns: asset tag or “Not available” Return type: string
-
get_manufacturer
()[source]¶ Get device manufacturer
Returns: device manufacturer or “Not available” Return type: string
-
get_part_number
()[source]¶ Get part number of the device.
Returns: part number or “Not available” Return type: string
-
get_serial_number
()[source]¶ Get serial number of the device.
Returns: serial number or “Not available” Return type: string
-