Add power management support to register nodes.

This changes makes it possible to pass real pm_address, pm_user, and
pm_password parameters to the nova baremetal-node-create commands.

To use simply pass PM_IPS, PM_USERS, and PM_PASSWORDS parameters
(space delimited) so that the associated user:password combination
correspond to the MACS (which we already require to use this script)

The motivation for this change is to make it possible to use this
script (and follow the dev/test story) using *real* hardware and
not just fake VMs.

Change-Id: I347edeb3b81473305d64f74ea2ac78d731361c9d
Add doc note about over-mtu packet loss.

In some cases (on Fedora 19, using *real*
bare metal, etc) users have seen over-mtu packet
loss when running iSCSI commands. In these
cases:

  iscsid: log shows repeated connection failed errors (and reconnect)

  dmesg shows:
    openvswitch: vnet1: dropped over-mtu packet: 1502 > 1500

This patch makes a note in devtest so that people who encounter
similar errors may know they need to increase their MTU
for the control plane.

Change-Id: Iefdb0ab31769bc0a9cd15eab3948f3d78c35efdd
Correct documented default values in boot-seed-vm.

The documented default values for arguments to boot-seed-vm that would
be shown with -h were incorrect.

Change-Id: I99f4d79223d3883f2b690ae70a6b70c55b12a970
Script to save devtest environment

Add a write-tripleorc script that writes out the enviornment variables
that are set from the devtest instructions to a tripleorc file.  The
tripleorc file can then be sourced from a new shell if you happen to
have lost the shell you were running the instructions from.  Very
handy if say your suspended laptop eventually runs out of battery on a
long flight home :-).

Change-Id: I28aae9a1fae62019b8b7f8074586adc5f48ef366
Merge "Correct documented default values in boot-seed-vm."
Swap service host names in setup-baremetal calls

Now we are using meaningful host names for seed and undercloud
machines, which is important for nova-compute to work properly.

setup-baremetal calls in devtest.sh seem to have swapped service
host names (when baremetal nodes are registered for undercloud
machine the 'seed' service host name is used and vice versa).

Change-Id: I1373eec38f28d6294f8d941f9b99f0781082a325
Make PM_* optional

These are optional arguments so need to be given a default as nounset is
set. This deals with "unbound variable" errors.

Change-Id: I1ee059aba29f4e7a546f110348b39cc9eb34ef4c
Merge "Swap service host names in setup-baremetal calls"
Pass new undercloud-vm parameter for native PXE.

Neutron native PXE requires a config setting to be enabled in
nova.conf, but until we have a split out undercloud template, it's
controlled via yet another parameter.

Change-Id: I1e8957b3af1d502eefcba961197f0f36eaa25708
Workaround Neutron DHCP scheduling failure.

For some reason the native Neutron PXE setup is failing to schedule
the DHCP agent to handle the ctlplane network. This fugly hack will
address it until we investigate the root cause.

Change-Id: Ieb4b6542ae9298ef395cf3afbf4161d50b7ab62c
Related-bug: #1231366
Merge "Script to save devtest environment"
Fix broken init-keystone error path.

Just bad shell, untested is broken.

Change-Id: I19731ed11e329c4c6a169899d0a4b209aa116287
Fix cloudprompt

cloudprompt wasn't updating when OS_CLOUDNAME changed.  This adds
the necessary backslash to prevent it from being evaluated only
once.

Change-Id: I077e8f33e8f8a686e36a7d4b3ef6fc0d1fd33506
Redirect output of pool create call

When I ran create-nodes as instructed in devtest.md, I got back
a bogus MAC such that "SEED_MACS=Pool default defined".  It looks
like there was some output from the pool create call to virsh, so
redirect that command's output to /dev/stderr as is done for the
configure-vm call.

Change-Id: Ic3163178765a418b8c91a59ebbb04e18d236bcb7
Shellify all of devtest.sh.

It is possible now to run a full devtest setup from the script.
We have also now inverted the greed in the image name globbing when
loading images into glance. This is necessary to support building in a
directory with a period in the name (i.e. ~/.cache/).

Change-Id: I75acd6cbc583b7c18a615ad72ee595977441df59
Use stdout in extract-docs.awk

This makes splitting devtest.sh into multiple files easier.

Change-Id: Ia70ae338d1fc3ca7d90c0f223bdd2aab0491b7bb
Adds 'vm' element when building user image

Without 'vm' element partitionless image was built and was not
bootable in overcloud then.

Change-Id: I1e8d691a0130e330f8d836b8cf8130c067e89e5d
Fixes: bug #1233596
Merge "Fix cloudprompt"
Merge "Fix broken init-keystone error path."
Merge "Redirect output of pool create call"