Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Dict Str Str Str NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareIn NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Dict Str Str AttributeLoad Call NameLoad NameLoad attr NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Str Str body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Dict Str NameLoad If NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad NameLoad decorator_list decorator_list
N/A N/A IloClient module proliantutils.ilo ipmi proliantutils.ilo operations proliantutils.ilo ribcl proliantutils.ilo ris proliantutils log N/A SUPPORTED_RIS_METHODS N/A activate_license clear_secure_boot_keys eject_virtual_media get_current_boot_mode get_host_power_status get_http_boot_url get_one_time_boot get_pending_boot_mode get_persistent_boot_device get_product_name get_secure_boot_mode get_vm_status insert_virtual_media reset_bios_to_default reset_ilo_credential reset_secure_boot_keys set_http_boot_url set_one_time_boot set_pending_boot_mode set_secure_boot_mode get_server_capabilities set_iscsi_boot_info set_vm_status update_firmware update_persistent_boot N/A LOG N/A N/A log get_logger __name__ IloClient N/A N/A operations IloOperations N/A __init__ N/A N/A self host login password timeout port bios_password cacert N/A 60 443 None None N/A N/A N/A self ribcl N/A N/A ribcl RIBCLOperations host login password timeout port cacert cacert N/A N/A self ris N/A N/A ris RISOperations host login password bios_password bios_password cacert cacert N/A N/A self info N/A address username password host login password N/A N/A self host host N/A N/A self model N/A N/A N/A self ribcl get_product_name N/A N/A N/A LOG debug N/A N/A self _ IloClient object created. Model: %(model)s N/A model N/A self model N/A _call_method N/A N/A self method_name N/A args kwargs N/A N/A Call the corresponding method using either RIBCL or RIS. N/A the_operation_object N/A self ribcl N/A N/A N/A Gen9 N/A self model N/A method_name SUPPORTED_RIS_METHODS N/A N/A the_operation_object N/A self ris N/A method N/A getattr the_operation_object method_name N/A N/A N/A LOG debug N/A N/A self _ Using %(class)s for method %(method)s. N/A class method N/A N/A type the_operation_object __name__ method_name N/A N/A method args kwargs N/A get_all_licenses N/A N/A self N/A N/A N/A Retrieve license type, key, installation date, etc. N/A N/A N/A self _call_method get_all_licenses N/A get_product_name N/A N/A self N/A N/A N/A Get the model name of the queried server. N/A N/A N/A self _call_method get_product_name N/A get_host_power_status N/A N/A self N/A N/A N/A Request the power state of the server. N/A N/A N/A self _call_method get_host_power_status N/A get_http_boot_url N/A N/A self N/A N/A N/A Request the http boot url.

        :returns: URL for http boot.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method get_http_boot_url N/A set_http_boot_url N/A N/A self url N/A N/A N/A Set the url to the UefiShellStartupUrl.

        :param url: URL for http boot.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method set_http_boot_url url N/A set_iscsi_boot_info N/A N/A self mac target_name lun ip_address port auth_method username password N/A 3260 None None None N/A N/A Set iscsi details of the system in uefi boot mode.

        The iSCSI initiator is identified by the MAC provided.
        The initiator system is set with the target details like
        IQN, LUN, IP, Port etc.
        :param mac: MAC address of initiator.
        :param target_name: Target Name for iscsi.
        :param lun: logical unit number.
        :param ip_address: IP address of the target.
        :param port: port of the target.
        :param auth_method : either None or CHAP.
        :param username: CHAP Username for authentication.
        :param password: CHAP secret.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedInBiosError, if the system is
                 in the bios boot mode.
         N/A N/A N/A self _call_method set_iscsi_boot_info mac target_name lun ip_address port auth_method username password N/A get_one_time_boot N/A N/A self N/A N/A N/A Retrieves the current setting for the one time boot. N/A N/A N/A self _call_method get_one_time_boot N/A get_vm_status N/A N/A self device N/A FLOPPY N/A N/A Returns the virtual media drive status like url, is connected, etc.

         N/A N/A N/A self _call_method get_vm_status device N/A reset_server N/A N/A self N/A N/A N/A Resets the server. N/A N/A N/A self _call_method reset_server N/A press_pwr_btn N/A N/A self N/A N/A N/A Simulates a physical press of the server power button. N/A N/A N/A self _call_method press_pwr_btn N/A hold_pwr_btn N/A N/A self N/A N/A N/A Simulate a physical press and hold of the server power button. N/A N/A N/A self _call_method hold_pwr_btn N/A set_host_power N/A N/A self power N/A N/A N/A Toggle the power button of server.

        :param power: 'ON' or 'OFF'
         N/A N/A N/A self _call_method set_host_power power N/A set_one_time_boot N/A N/A self value N/A N/A N/A Configures a single boot from a specific device. N/A N/A N/A self _call_method set_one_time_boot value N/A insert_virtual_media N/A N/A self url device N/A FLOPPY N/A N/A Notifies iLO of the location of a virtual media diskette image. N/A N/A N/A self _call_method insert_virtual_media url device N/A eject_virtual_media N/A N/A self device N/A FLOPPY N/A N/A Ejects the Virtual Media image if one is inserted. N/A N/A N/A self _call_method eject_virtual_media device N/A set_vm_status N/A N/A self device boot_option write_protect N/A FLOPPY BOOT_ONCE YES N/A N/A Sets the Virtual Media drive status and allows the

        boot options for booting from the virtual media.
         N/A N/A N/A self _call_method set_vm_status device boot_option write_protect N/A get_current_boot_mode N/A N/A self N/A N/A N/A Retrieves the current boot mode settings. N/A N/A N/A self _call_method get_current_boot_mode N/A get_pending_boot_mode N/A N/A self N/A N/A N/A Retrieves the pending boot mode settings. N/A N/A N/A self _call_method get_pending_boot_mode N/A get_supported_boot_mode N/A N/A self N/A N/A N/A Retrieves the supported boot mode. N/A N/A N/A self _call_method get_supported_boot_mode N/A set_pending_boot_mode N/A N/A self value N/A N/A N/A Sets the boot mode of the system for next boot. N/A N/A N/A self _call_method set_pending_boot_mode value N/A get_persistent_boot_device N/A N/A self N/A N/A N/A Get the current persistent boot device set for the host. N/A N/A N/A self _call_method get_persistent_boot_device N/A update_persistent_boot N/A N/A self device_type N/A N/A N/A N/A Updates persistent boot based on the boot mode. N/A N/A N/A self _call_method update_persistent_boot device_type N/A get_secure_boot_mode N/A N/A self N/A N/A N/A Get the status if secure boot is enabled or not. N/A N/A N/A self _call_method get_secure_boot_mode N/A set_secure_boot_mode N/A N/A self secure_boot_enable N/A N/A N/A Enable/Disable secure boot on the server. N/A N/A N/A self _call_method set_secure_boot_mode secure_boot_enable N/A reset_secure_boot_keys N/A N/A self N/A N/A N/A Reset secure boot keys to manufacturing defaults. N/A N/A N/A self _call_method reset_secure_boot_keys N/A clear_secure_boot_keys N/A N/A self N/A N/A N/A Reset all keys. N/A N/A N/A self _call_method clear_secure_boot_keys N/A reset_ilo_credential N/A N/A self password N/A N/A N/A Resets the iLO password.

        :param password: The password to be set.
        :raises: IloError, if account not found or on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
             on the server.
         N/A N/A N/A self _call_method reset_ilo_credential password N/A reset_ilo N/A N/A self N/A N/A N/A Resets the iLO.

        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method reset_ilo N/A reset_bios_to_default N/A N/A self N/A N/A N/A Resets the BIOS settings to default values.

        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method reset_bios_to_default N/A get_host_uuid N/A N/A self N/A N/A N/A Request host UUID of the server.

        :returns: the host UUID of the server
        :raises: IloConnectionError if failed connecting to the iLO.
         N/A N/A N/A self _call_method get_host_uuid N/A get_host_health_data N/A N/A self data N/A None N/A N/A Request host health data of the server.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the embedded health data.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_data data N/A get_host_health_present_power_reading N/A N/A self data N/A None N/A N/A Request the power consumption of the server.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the power readings.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_present_power_reading data N/A get_host_health_power_supplies N/A N/A self data N/A None N/A N/A Request the health power supply information.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the power supply information.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_power_supplies data N/A get_host_health_fan_sensors N/A N/A self data N/A None N/A N/A Get the health Fan Sensor Report.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the fan sensor information.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_fan_sensors data N/A get_host_health_temperature_sensors N/A N/A self data N/A None N/A N/A Get the health Temp Sensor report.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the temperature sensors
            information.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_temperature_sensors data N/A get_host_health_at_a_glance N/A N/A self data N/A None N/A N/A Get the health at a glance Report.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the health at a glance information.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_health_at_a_glance data N/A get_host_power_readings N/A N/A self N/A N/A N/A Retrieves the host power readings.

        :param: the data to retrieve from the server, defaults to None.
        :returns: the dictionary containing the power readings.
        :raises: IloConnectionError if failed connecting to the iLO.
        :raises: IloError, on an error from iLO.
         N/A N/A N/A self _call_method get_host_power_readings N/A get_essential_properties N/A N/A self N/A N/A N/A Get the essential scheduling properties

        :returns: a dictionary containing memory size, disk size,
                  number of cpus, cpu arch, port numbers and
                  mac addresses.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method get_essential_properties N/A get_server_capabilities N/A N/A self N/A N/A N/A Get hardware properties which can be used for scheduling

        :return: a dictionary of server capabilities.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A capabilities N/A N/A N/A Gen9 N/A self model N/A N/A capabilities N/A N/A N/A self ris get_server_capabilities N/A data N/A N/A N/A self ribcl get_host_health_data N/A gpu N/A N/A N/A self ribcl _get_number_of_gpu_devices_connected data N/A N/A N/A capabilities update gpu N/A major_minor N/A N/A N/A self ris get_ilo_firmware_version_as_major_minor N/A N/A capabilities N/A N/A N/A self ribcl get_server_capabilities N/A major_minor N/A N/A N/A self ribcl get_ilo_firmware_version_as_major_minor N/A nic_capacity N/A N/A ipmi get_nic_capacity N/A self info major_minor N/A nic_capacity N/A N/A N/A N/A capabilities update N/A nic_capacity nic_capacity N/A capabilities N/A N/A capabilities N/A activate_license N/A N/A self key N/A N/A N/A Activates iLO license.

        :param key: iLO license key.
        :raises: IloError, on an error from iLO.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
         N/A N/A N/A self _call_method activate_license key N/A update_firmware N/A N/A self firmware_url component_type N/A N/A N/A Updates the given firmware on the server

        :param firmware_url: location of the firmware
        :param component_type: Type of component to be applied to.
        :raises: InvalidInputError, if the validation of the input fails
        :raises: IloError, on an error from iLO
        :raises: IloCommandNotSupportedError, if the command is
                 not supported on the server
         N/A N/A N/A self _call_method update_firmware firmware_url component_type N/A N/A