This change introduces a new module ironic.drivers.hardware_types
with AbstractHardwareType class. It also updates driver_factory
code to support loading hardware types and creating dynamic drivers.
Interfaces validation code extended to cover hardware types.
This change also introduces the FakeHardware class for testing.
It is special-cased to bypass compatibility validation completely.
No hardware types are loaded on conductor start up yet, as hardware
types still do not participate in the hash ring. Thus, nodes with
hardware types cannot still be created via HTTP API.
Reviewed: https:/ /review. openstack. org/336626 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=901171194bf ecee9fc7233b9aa fe7e721a201bd6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 901171194bfecee 9fc7233b9aafe7e 721a201bd6
Author: Dmitry Tantsur <email address hidden>
Date: Fri Jul 1 17:52:11 2016 +0200
Support defining and loading hardware types
This change introduces a new module ironic. drivers. hardware_ types eType class. It also updates driver_factory
with AbstractHardwar
code to support loading hardware types and creating dynamic drivers.
Interfaces validation code extended to cover hardware types.
This change also introduces the FakeHardware class for testing.
It is special-cased to bypass compatibility validation completely.
No hardware types are loaded on conductor start up yet, as hardware
types still do not participate in the hash ring. Thus, nodes with
hardware types cannot still be created via HTTP API.
Change-Id: If8e3342baf818a 9e37aa82b43aec7 1898d48c29b
Partial-Bug: #1524745