FakeClient: fix the arguments of a string format.

Fix the number of arguments in the string format in
FakeClient.assert_called_anytime().

Change-Id: I9d415d6d216a6e301254ba21b63109182d71e8bd
Add support for swap_volume

Add client support for swap_volume, which allows swapping a volume
currently attached to an instance with a different volume which is not
attached. The contents of the old volume will be copied onto the new
volume. This was added in nova commit
8f51b120b430c7c21399256f37e1d8f75d030484.

Change-Id: I98323d594617c1c435e403d9f3ddc4ff4fa74da6
Fix typo and grammar in docstring only

Change-Id: I1e34ada679c56b996c6aa4652b43d1652f3c375f
Do not restrict flavor to only ID and integers

- Flavors with strings and not just ID/UUID strings are valid.
- Closes-Bug: 1209060

Change-Id: Idee389fce40f8982b263e1a4349a8565140b6584
Merge "Do not restrict flavor to only ID and integers"
Updated from global requirements

Change-Id: Ic4a43955526fcde313ad2f2afec8fafeb87f37a6
change 'Host' object's 'host' attribute to 'host_name'

The function __repr__ of Host class which is located in hosts.py try to
access 'host' attribute, source code is "self.host",But in fact, Host object
don't has this attribute, it should be 'host_name'! We can find this attribute
from nova/api/openstack/compute/contrib/hosts.py file.

So I simply change 'self.host' to 'self.host_name'.

Change-Id: Ie76ba04da7592a596ab728fec981e9a1dbcc6a5f
Fixes: bug 1210043
Begin adding v3 api support

Create the v3 directory and populate it with some of the basic
files from v2 that will be needed.  These files are straight
copies so that v3-specific changes will be easier to see in
subsequent changes.

Extensions will be added individually in future changes.

bp v3-api

Change-Id: I9538c70ccc6fb001ce2fd43ccfd41870f247c67e
Enable v3 api code

Add mappings to enable v3 code

bp v3-api

Change-Id: I035e5b9d65c06ce5691573832bb9b6c4c705b121
Remove old references

The v3 code references v1_1 code because it's a straight-across
copy.  Remove those in preparation for adding the actual v3
versions.

bp v3-api

Change-Id: I359c6c5fc70dd91fa418802cc8048e186f5d09a4
Merge "Fix typo and grammar in docstring only"
Clean up inaccurate docstrings of server list() method

Clean up the inaccurate docstrings of server list() method and
refactor them to standerd format.

Change-Id: I4c17aba7ce5eb430ddd10305135e11e3ce5dc446
Fix the help messages to specify image/flavor name

User can specify flavor/image name as the arguments of "nova boot"
command instead of their ids, but the help messages does not explain
that. This fixes the help messages.

Fixes: bug #1211156

Change-Id: I47813c8ebbe5fc83d627f016e3751918b3ab11cb
Merge "Clean up inaccurate docstrings of server list() method"
Merge "FakeClient: fix the arguments of a string format."
Merge "Begin adding v3 api support"
Merge "Enable v3 api code"
Merge "Remove old references"
Merge "Updated from global requirements"
python3: Fix traceback while running tests

Fix:

TypeError: Unicode-objects must be encoded before hashing

while running tests. This is due to the fact in python3 hashlib.md5
works with bytes and we are passing unicode strings.

Change-Id: I27a57d6afb2412e11bc2802e4559d56c5b5592a9
Signed-off-by: Chuck Short <chuck.short@canonical.com>