if a node is in the available state, then an available action (part of the dropdown that includes the power state actions) would be to provision using image
the user would see a wizard that lets them select an image, network, and ssh key
when the user continues, metalsmith is called using the above plus the relevant node information (node UUID and resource class)
the provisioning state of the node in the lease panel would reflect state changes (similar to how the power status can be power on or power off or a transition like power off -> power on
Presumably, a user would:
available
state, then an available action (part of the dropdown that includes the power state actions) would be toprovision using image
power on
orpower off
or a transition likepower off -> power on