Early airshipctl usage has identified the need to change the power of
remote hosts directly from airshipctl. This functionality is typically
required during the bootstrapping phase of airshipctl; however, the
functionality could be used anytime. A logical home for this
functionality would be in a baremetal command, not a bootstrap command.
Since all functionality performed by the bootstrap command is performed on
baremetal hosts, a natural need has developed to group this
functionality together under one baremetal command.
This change moves all functionality from the remote command to a new
baremetal command.
Once all functionality is grouped within the new baremetal command, a
user can control hosts like this:
airshipctl baremetal isogen generate ephemeral node ISO
airshipctl baremetal remotedirect bootstrap ephemeral node
airshipctl baremetal poweroff [DOC_NAME] shutdown baremetal node
airshipctl baremetal poweron [DOC_NAME] power on baremetal node
airshipctl baremetal reboot [DOC_NAME] reboot baremetal node
airshipctl baremetal powerstatus [DOC_NAME] retrieve baremetal node status
Relates-To: #5
Change-Id: I31239df1593aac5810e66e1918d8d3207b9f60fb
Signed-off-by: Drew Walters <andrew.walters@att.com>