Add snapshot methods to fakes.py

Modified Snapshots unit tests to use them
Removed logging from unit tests
The methods will also be used by the sample tests
Fixes bug 1130313

Change-Id: Id6c9c809952acefe302432bdfc345378730f0243
Sync rpc from oslo-incubator.

This patch includes fixes for:

 * kombu: Fix lack of reconnect when using mirrored queues
 * zmq: support rpc envelopes
 * zmq: Fix IPC direct topic routing.

Change-Id: I3e494d0c1b72ed19ab4f590c5d5496a9b202633c
Sync eventlet_backdoor from oslo-incubator.

This update includes:

 * Add function for listing native threads to eventlet backdoor

Change-Id: Iaeed27ff95962a870364a3043991bc5412f1fa63
Fix ComputeAPI.get_host_uptime

Remove host from the list of parameters
Fixes bug 1122552

Change-Id: I0fd6b9130a408bfd80d3bdd24ecad786adb0f151
import base_dir_name config option into vmwareapi

Fixes Bug 1126078

Change-Id: Ic834c9289ca0bcefbf8077939d07728daa98366f
Spelling: compatable=>compatible

Change-Id: I9c84f8654e4eb7ccf3631e8c9830f33d90396e08
Fix launching libvirt instances with swap

The code in

  commit 7be531fe9462f2b07d4a1abf6687f649d1dfbb89
  Author: Daniel P. Berrange <berrange@redhat.com>
  Date:   Tue Jan 15 20:43:48 2013 +0000

    Refactor code for setting up libvirt disk mappings

accidentally broken launching of instances where
the flavor had non-zero swap specified. This was
not caught due to complete lack of test coverage
for the '_create_image' method. This adds two
test cases for that method, exercising this bug.
It also fixes a bug in netutils which was not
handling a NULL network mapping, which is a valid
scenario for several callers.

Fixes bug #1131306
Change-Id: I214561ba3ec6440d11a5afb0665e6b6f990bd148
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Flush tokens on instance delete

Force console auth service to flush all tokens
associated with an instance when it is deleted.
This will fix bug 1125378, where the console for
the wrong instance can be connected to via the
console if the correct circumstances occur. This
change also adds a call to validate the token
when it is used. This check will ensure that all
tokens are valid for their target instances.
Tokens can become scrambled when a compute node is
restarted, because the virt driver may not
assign ports in the same way.

Change-Id: I0d83ec6c4dbfef1af912a200ee15f8052f72da96
fixes: bug 1125378
Merge "Add snapshot methods to fakes.py"
Merge "Spelling: compatable=>compatible"
Merge "Sync rpc from oslo-incubator."
Merge "Sync eventlet_backdoor from oslo-incubator."
Merge "Fix ComputeAPI.get_host_uptime"
Merge "Flush tokens on instance delete"
Fix baremetal migration skipping.

The `have_mysql` function would only check for 'openstack_ci_test' and
not 'openstack_baremetal_test' yet was being used for the
baremetal-migration tests.

This resulted in tests to run that should have been skipped.

The solution is to have the test classes to define their configuraiton
requirements and then to pass these into the backend checking code
explicitly.

Change-Id: I436b5cfe4cace04e7bcccc2bed75b34948fe0272
Add missing ec2 security group quantum mixin

Fixes bug 1131441

Change-Id: Ifc25e1a9eb113cd28a5a5ed9d277480c262cd7f3
Migration 135: Fix drop_column statement

Change-Id: I1c7d03ddd471311d5b55a2e423515f6a5a8cfcb8
Remove function redefinitions

A number of tests have never been run due to another function having
the same name. Duplicate names have been changed and additionally
pyflakes check will now fail in such situations.

Also fix ovs ethernet driver test which was incorrect.

Change-Id: Icd93528395e65a24194a6ec5dfb8025a820d29b5
Merge "Add missing ec2 security group quantum mixin"
Merge "Fix baremetal migration skipping."