Added limit to image-list in a preparatory step toward addressing bug 1001345.

Currently novaclient doesn't use the limit or marker params.
As a step to addressing bug 1001345 which requires pagination,
this patch introduces the use of limit as an option
passed to the image-list function.

Change-Id: Ia32f9e923b4eb9bcdde3b7bc1722c59d7791d104
Remove prov_vlan_id from baremetal

In nova, this parameter is not used
(and will be unacceptable soon)

Change-Id: I072a204bef49940fb2ddc8dc44480b570bc3212c
Allows admins to reset-network of an instance

Adding some functionality to allow admins to call on
resetNetwork action. Fixes bug #1130766

Change-Id: I3d0945b115d565bd2c54a5526ba51036e941a28f
A minimum of Python3 fixes so that installation works without errors/warnings.

Fixes bug: 1130937
Change-Id: I740652fcd5804fc1c120fc409afdf4693c8e5781
Fix how tests were failing due to missing attributes.

Fixes: bug #1131845

For unknown reasons all tests continued to pass even after
this change was introduced, besides that being a very odd thing
to have happen it is better to fix said attributes for those
that are running the tests individually in there own CI pipelines.

Change-Id: Iee6acc1d4a528afb840459ca47d754ec7bae8f32
Accept 201 status code on POST

On POST requests, keystone should return '201 Created' according to
api docs.

Related to but not dependent on:
https://bugs.launchpad.net/keystone/+bug/1131119

Change-Id: I04c398ad7946f5ddcfd2059e4f8d97608e5d0ed3
Update the docstring of cloudpipe-configure command

Change-Id: Iab820200664618769f11b2d21a3731ef6b81a877
Fixes the output of 'os-evacuate' command.

Change-Id: I5f02e66f316acdd10df42bec3f6628a8efe5fd97
Fixes: bug #1132790
Make ip_protocol parameter in security groups rules case insensitive

Added convert ip_protocol to uppercase.
Added tests

Fixes: bug #1052725

Change-Id: I966ddad0800556b1cc848003d07d4a897ce1b9c1
Merge "Added limit to image-list in a preparatory step toward addressing bug 1001345."
Merge "Allows admins to reset-network of an instance"
Merge "A minimum of Python3 fixes so that installation works without errors/warnings."
Merge "Fix how tests were failing due to missing attributes."
Merge "Accept 201 status code on POST"
Merge "Fixes the output of 'os-evacuate' command."
Fixed bug with password prompt, added tests

Fixes: bug #1131237

Change-Id: Ifcd9543ed5ac9526e32025ff3acd51d36b27a224
Decodes input and encodes output

Currently novaclient doesn't handle properly incoming and outgoing
encode / decode process. As a solution for this, this patch implements a
decoding process for all data incoming from the user side and decodes
everything going out of the client, i.e: http requests, prints, etc.

This patch introduces a new module (strutils.py) taken from
oslo-incubator in order to use 2 of the functions present in it:

About safe_(decode|encode):

    Both functions try to encode / decode the incoming text using the
    stdin encoding, fallback to python's default encoding if that
    returns None or to UTF-8 as the last option.

    In both functions only basestring objects are accepted and they both
    raise TypeError if an object of another type is passed.

About the general novaclient changes:

    In order to better support non-ASCII characters, it is a good
    practice to use unicode interanlly and encode everything that has to
    go out. This patch aims to do that and introduces this behaviour in
    the client.

Testing:

    A good test (besides using tox) is to use nova client with and
    without setting any locale (export LANG=).

Fixes bug: 1061156

Change-Id: I20b75e42b0c3dac89f1048faa1127253a64f86c7
Extend test coverage for v1_1/shell.py

Added unit tests for shell code, that wasn't covered before.

Implements: blueprint python-novaclient-unittests
Change-Id: Id9973b1edb39ab76e7a232c262ae073cf44dfc0a
Fix typo in error message

Change-Id: Ia37ec318329dc527b30a1835e4a52ace14b2bda3
Fix nova boot --num-instances option checking

'args.num_instances' should be checked by None because of '0 == False'.
This patch fixes the checking.

Fixes bug 1151787

Change-Id: Iede860caa5c2d03d49471f375d687c3e40102372