...
- Description
- Returns the name of the current image that is loaded on the resource(currentimage.txt file).
- The name corresponds to the image.name column in the database.
- Returning a name implies that the resource is accessible.
- The OS.pm will probably handle this subroutine.
- Expected Beginning State
- Expected Ending State
- The resource state should be identical to before get_current_image_name was called.
- Called By
- Provisioning module's node_status() subroutine.
- Used to determine if the OS and provisioning engine agree on the current image loaded on a resource.
- Can be used to determine if a resource is accessible. A valid string will be returned if the resource is accessible.
- Arguments & Calling Environment
- Must only be called as an object method of an OS object ($os->get_current_image_name())
- No arguments
- Return Values
- String
- String contains a VCL image name
- 0
- Computer is accessible but failed to determine the current loaded image
- Undefined
- Computer is not accessible
...
{"serverDuration": 138, "requestCorrelationId": "114017a8c6d53859"}