Discover node properties and capabilities for iLO drivers¶
This proposal adds the ability to introspect/update hardware properties and auto-create ports for HP ProLiant servers via iLO using iLO client python library i.e. proliantutils library as given in reference section.
The iLO driver is proposed to be used to discover node properties irrespective of whether OS is deployed on baremetal node or not.
Following mandatory properties will be discovered and updated to node.properties as discussed in http://specs.openstack.org/openstack/ironic-specs/specs/kilo/ironic-node-properties-discovery.html
NIC(s) MAC address
The following additional properties are of interest to iLO drivers and will be discovered and updated to node.properties as capabilities:
Supported Boot Modes
capability name : supported_boot_mode possible values : bios, uefi, secure_boot
iLO Firmware version
capability name : ilo_firmware_version possible values : it can vary hardware to hardware.
ROM Firmware version
capability name : rom_firmware_version possible values : it can vary hardware to hardware.
capability name : server_model possible values : it can vary hardware to hardware.
capability name : max_raid_level possible values : 0,1,2,3,4,5,6,10
secure boot capability
capability name : support_secure_boot possible values : True, False
PCI (GPU) devices
capability name : pci_gpu_devices possible values : count of such devices.
capability name : sr_iov_devices possible values : count of such devices.
capability name : nic_capacity possible values : value with unit.
The properties which are already set will be overridden at reinvocation of inspect_hardware(). If a property is not applicable to the hardware or cannot be retrieved from the hardware, the property will not be added/updated in node.properties as capabilities. Even if the property cannot be retrieved from the hardware due to some unknown reasons, the introspection will not return failure as it is same as property not applicable to the hardware.
iLO specific module changes:¶
Implement the InspectInterface method inspect_hardware().
These properties can be discovered manually outside the ironic and node.properties updated accordingly with the discovered properties.
Data model impact¶
Ironic CLI impact¶
REST API impact¶
RPC API impact¶
Driver API impact¶
Nova driver impact¶
Other end user impact¶
Other deployer impact¶
- Primary assignee:
- Other Contributors:
Implementation of the InspectInterface class and its methods inspect_hardware(), validate() and get_properties().
This feature is targeted for HP ProLiant servers with iLO4 and above. This module might work with older version of iLO (like iLO3), but this will not be officially tested by the iLO driver team.
Depends on proliantutils library.
Depends on following also: http://specs.openstack.org/openstack/ironic-specs/specs/kilo/ironic-node-properties-discovery.html
Unit tests will be added conforming to ironic testing requirements, mocking proliantutils. It will get tested on real hardware by iLO team with the hardware available to the team.
Upgrades and Backwards Compatibility¶