Helper classes for Ironic HTTP PATCH creation.
Bases: object
Build a patch to clean up the fields.
Parameters: |
|
---|---|
Returns: | a json-patch with the fields that needs to be updated. |
Build a patch to add the required fields to deploy a node.
Parameters: |
|
---|---|
Returns: | a json-patch with the fields that needs to be updated. |
Create an instance of the appropriate DriverFields class.
Parameters: | node – a node object returned from ironicclient |
---|---|
Returns: | A GenericDriverFields instance. |