Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • Provisioning module objects are created by State.pm::initialize() when a new state object is created.
  • Provisioning module objects are available within state modules and OS modules
  • Provisioning module objects are not available within other types of modules for safety.

Explain:

  • define what we mean by "provisioning system"
  • give examples of provisioning systems
  • could be bare metal, virtual, differentiated, undifferentiated, a service, a special piece of hardware, eventually VCL could provision various types of resources
  • relationships among mgt nodes, computers, provisioning systems (such as computer is assigned 1 prov system at a time)
  • computer.provisioningid
  • provisioning table
  • future: management node to provisioning mapping
  • provisioning module implementation is responsible for knowing which OS interactions are necessary
    • image.pm calls provisioner->capture, new.pm calls provisioner->load, it calls OS subs as necessary

Provisioning Module Subroutines

...

  • Description
    • A provisioning module's load() subroutine is responsible for provisioning the node.
    • This means starting a virtual machine, loading a image to disk, or nothing in the case of the standalone lab machine.
  • 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
      • ...

...