Provisioning helpers¶
Utilities that bridge provisioning results with the controller.
cleanup_provisioned_nodes ¶
cleanup_provisioned_nodes(provisioning_result, result, presenter)
Apply cleanup policy using controller authorization.
Expects result.summary.cleanup_allowed to indicate permission to teardown.
Source code in lb_provisioner/services/utils.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
ProvisioningResult
dataclass
¶
ProvisioningResult(nodes, keep_nodes=False)
Aggregate provisioning outcome.
Attributes¶
Functions¶
destroy_all ¶
destroy_all()
Destroy all provisioned nodes in best-effort fashion.
Source code in lb_provisioner/models/types.py
61 62 63 64 65 66 | |