Merge pull request #1 from jayofdoom/jay/ExampleBusinessLogicManager
Add example business logic hardware manager
|2 years ago|
|example_hardware_managers||2 years ago|
|LICENSE||2 years ago|
|README.rst||2 years ago|
|requirements.txt||2 years ago|
|setup.cfg||2 years ago|
|setup.py||2 years ago|
|test-requirements.txt||2 years ago|
|tox.ini||2 years ago|
Example hardware managers for use with the ironic python agent.
This example manager is meant to demonstrate good patterns for developing a device-specific hardware manager, such as for a specific version of NIC or disk.
This example manager is meant to demonstrate how cleaning and the agent can use the node object and the node itself to enforce business logic and node consistency.
To make your own hardware manager based on these examples, copy or fork the relevant examples out of this repository. Modify classnames and entrypoints in setup.cfg to be not-examples.
Since the entrypoints are defined in setup.cfg, simply installing your new python package alongside IPA in a custom ramdisk should be enough to enable the new hardware manager.