Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0
-
None
Description
State.pm currently handles the creation of OS and provisioning engine objects when a reservation begins to be processed. The state modules (new.pm for example) can access these objects and their subroutines. From within an OS module, a provisioning engine module cannot be accessed and vice versa. This is a limitation.
It would be beneficial if modules could access each other. Consider the following OS module example. Most OS modules contain code to perform a software reboot. If this fails, a hardware reset needs to be attempted. The OS module has no way of calling the provisioning engine module's subroutine which performs this function.