Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

power_off
Anchor
power_off
power_off

  • Description
    • ...A provisioning module's power_off() subroutine is responsible for powering off or down a node.
  • Expected Beginning State
    • ...
  • Expected Ending State
    • ...
  • Called By
    • ...
  • Arguments & Calling Environment
    • Must only be called as an object method of a provisioning object ($provisioner->pre_capture()) 
    • No Arguments
  • Return Values
    • 1
      • ...
    • 0
      • ...
    • Undefined
      • ...

power_on
Anchor
power_on
power_on

  • Description
    • ...A provisioning module's power_on() subroutine is responsible for powering on a node.
  • Expected Beginning State
    • ...
  • Expected Ending State
    • ...
  • Called By
    • ...
  • Arguments & Calling Environment
    • Must only be called as an object method of a provisioning object ($provisioner->pre_capture()) 
    • No Arguments
  • Return Values
    • 1
      • ...
    • 0
      • ...
    • Undefined
      • ...

get_current_image
Anchor
get_current_image
get_current_image

  • Description
    • A provisioning module's get_current_image() subroutine is responsible for trying to figure out what image is loaded on the node. By reading currentimage.txt located on the node's in root's user directory. This routine can be copied from another module.
  • Expected Beginning State
    • ...
  • Expected Ending State
    • ...
    • The node is expected to be online and accessible.
  • Called By
    • node_status()
    Called By
    • ...
  • Arguments & Calling Environment
    • Must only be called as an object method of a provisioning object ($provisioner->pre_capture()) 
    • No Arguments
  • Return Values
    • 1
      • ...
    • 0
      • ...
    • Undefined
      • ...

get_image_size 
Anchor
get_image_size
get_image_size

  • Description
    • ...A provisioning module's get_image_size() subroutine is responsible for collected the disk usage of the image within the image library.
  • Expected Beginning State
    • ...N/A
  • Expected Ending State
    • ...
  • Called By
    • ...
  • Arguments & Calling Environment
    • Must only be called as an object method of a provisioning object ($provisioner->pre_capture()) 
    • No Arguments
  • Return Values
    • 1
      • ...
    • 0
      • ...
    • Undefined
      • ...