Add node-set-power-state to cli

Add the node-set-power-state command to allow changing the power state
of a node using the cli.

Change-Id: I176bfe54db84e1c5677f7955b9cf247f0d09be4e
Transform print statement to print function

Needed to comply with new hacking>=0.8.0,<0.9 requirement.

Partial implement: blueprint py33-support

Change-Id: I478a47c814462a4f7edb0f389a00666bc901af77
Merge "Transform print statement to print function"
Comply with new hacking requirements

Fix some print statements and an import only module issue.

Change-Id: I0bb9cecb5ab03f35e696ee57c3ded05d7fd1725b
Rename variables called 'fixtures'

'fixtures' is the name of a library used by OpenStack. Some variables
in the code were using the same name and potentially could cause cause
some confusion when reading the code.

Change-Id: I25b4c969b9fcdc56d4eeb46ed8e8aa51b73682a7
Reorder imports

As per hacking and PEP8, grouping third party libraries in
their own group.

http://www.python.org/dev/peps/pep-0008/#imports

Change-Id: I7a574d311b5171def0c6930162a46ce4c215097d
Fix cmd usage msg for ironic port-create

The arguments --address and --node_id are mandatory arguments for
ironic port-create, but are listed as optional arguments in usage message.
This change fixes them.

Change-Id: I3a32577140021ce77706c73f8cc21842ea5f0473
Closes-Bug: #1244637
Add driver-list

The driver-list command returns a list of drivers supported by the
ironic conductors.

Change-Id: I24adbde087396fb5c01226ef7a2b602ff8732227
Custom output file on the print_*() functions

In order to make the code more flexible and cleaner when testing (and
debugging) the print_*() functions can now redirect the output to a
different output file.

Change-Id: I34779220d80e037bdfe9e528ffad5187ff109ceb
Deal with unicode strings

The ironic client was trying to convert unicode strings received from the
API to ascii causing it to fail, this patch will correct it.

Change-Id: I8765abb188f758f982807a38f5d291fbc2be0da9
Closes-Bug: #1247156
Remove Python 2.4 all() implementation

Python 2.4 is not supported neither is being tested so I think it makes
sense to remove it.

Change-Id: Ie3d736f9756529c6f33d0c249bf18afabad9a041
Merge "Rename variables called 'fixtures'"
Merge "Add driver-list"
Merge "Fix cmd usage msg for ironic port-create"
Merge "Remove Python 2.4 all() implementation"
Merge "Custom output file on the print_*() functions"
Merge "Deal with unicode strings"
Modifies CLI to show nodes by instance uuid

This patch updates the node-show subcommand for ironic so that it
shows the node that matches the given instance UUID.
ironic node-show [--instance] id
It also updates node-list subcommand so that it can show all the
nodes that have instance UUID associated or the opposite.
ironic node-list [--associated true|false]
This patch also fixes a few strings for i18n support.

Change-Id: I2aec9ba6e296e0d1db9f3ef9eed7236ecfb32cf6
Closes-Bug: #1239026
Updated from global requirements

Change-Id: I722e1f74f161ce34fa90b715686013b7c96f05df
Change id->uuid in ironic cli help messages

This changes the help messages of ironic cli which shows
ID whereever UUID is expected.

Change-Id: Icacd3ab0d146d75b67dccd607c480aef50c9f162
Closes-Bug: #1250260