Cleanup tools/hacking using flake8

Change-Id: Ia151f265bf62e6704de6cc2f2c01963be9e2dd69
fixes bug 1004153

fixes save_and_reraise_exception call to the right module and removes unused import.

Change-Id: I3e6472fe5ade0cc0c155b73b97c8aabbf9b21398
update xen to use network_model

blueprint xenapi-network-info-model

updated xenapi to use the new network info models

also:
updated virt firewall to handle both old version and new hotness
made a few minor changes to the network info model
moved the legacy converstion shim from compute/utils to the model itself
wharrgarbl'd a few of the tests

NOTE: no unittests were skipped during the creation of this patch

Change-Id: Ib77dd2bf4f0a525b73800441f19013e842c77f98
Localize rpc options to rpc code.

Part of blueprint common-rpc.

Move rpc options from nova.flags into nova.rpc code.  This is necessary
before the rpc code can be moved to openstack-common.

Change-Id: I474c3660e1cbd3ab663571b1e088c84deb905e0b
Run coverage tests via xcover for jenkins.

In the jenkins jobs, we need to run coverage with xunit output so that
jenkins can parse it.

Change-Id: Ie4cfec6f89d6b37554b5345cde92f982397915e2
Allow adding fixed IPs by network UUID

Fixes LP Bug #1004280

Change-Id: I832b21091803d8da511ded96d14000602016e984
Remove nova.context dependency from nova.rpc

Part of blueprint common-rpc.

This patch removes the usage of nova.context from nova.rpc.  Everything
needed to implement RpcContext now exists within nova.rpc.

Change-Id: I9e6ec0d22e55d3d4f38e12e0fdd2df745da496f5
Remove nova.log usage from nova.rpc.

Part of blueprint common-rpc.

This patch removes the usage of nova.log from nova.rpc.  This is
necessary before nova.rpc can be moved to openstack-common.  The rpc
logging was not using any of the extra features provided in nova.log as
far as I can tell, so the changes are very simple.

This is the final dependency.  After this change, the rpc code
can be moved to openstack-common without any changes.

Change-Id: I17ca4b691bb8d4f18e618632a2381dd12d31852a
Add scheduler filter for trustedness of a host

Implements blueprint trusted-computing-pools

Add a scheduling filter that filters based upon the trustedness of
a node.  A request is sent to the attestation service to disover the
trustedness of the target node and, only if it matches the `trust_host'
key/value pair in the `extra_specs' for the instance type, then the
instance can be started on that node.  More details can be found in the
docspec for the filter in:

	nova/scheduler/filters/trusted_filter.py

To setup an attestation server go to the Open Attestation Project at:

        https://github.com/OpenAttestation/OpenAttestation

Also add 5 tests for the new filter that verifies:

1)  Schedule works with no trust in the extra specs
2)  Schedule works with trusted instance and trusted host
3)  Schedule works with untrusted instance and untrusted host
4)  Schedule fails with trusted instance and untrusted host
5)  Scheduel fails with untrusted instance and trusted host

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Fred Yang <fred.yang@intel.com>

Change-Id: Iafa6aed8061f6cd4630367553aee14bd4b0263e2
[PATCH] Allow [:print:] chars for security group names

Fixes bug #1000673

Change-Id: Id1b23d6a0f8d328f65b66f947e8937fa1914a5db
cleanup power state (partially implements bp task-management)

Removed duplicate and invalid state in power_state:
FAILED, SHUTOFF, BLOCKED
This is the first step in cleaning up nova state machine
and do better task management (bp/task-management)

http://wiki.openstack.org/VMState

Change-Id: I586b9058fada5efd468870fb187590fc0e37aa8f
Merge "update xen to use network_model"
Merge "Allow adding fixed IPs by network UUID"
Grammar / spelling corrections

Change-Id: Id5b6665a2a40a9bd0830c1a3500b4ad98eec435b
Record instance architecture types.

In order to support image architectures other than x86,
we need to record the instance architecture when it is running.

Glance has the information that we need so we take the
information that glance provides us.

This is the first step for support other arches like armhf.

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

Change-Id: Iff3f5765193e0bc98dfc377ee5a9b6f47ae11859
Revert "API users should not see deleted flavors."

This reverts commit f6e62c6120453fa90e2e690753fe6eaf157f2dde. We
need to be able to query deleted flavors for instances that may
be running on deleted flavors.

Change-Id: I9ae80c525c9bc1e3172bd4e7ffe50fe74f2d3a51
Remove Deprecated auth from EC2

Partially implements bp remove-deprecated-auth

Change-Id: Ic500f8b2eb68d6b56fa8c6a7313c550e7b293d5d
Fix the conf argument to get_connection_pool().

The first argument to amqp.get_connection_pool() should be a global
config object, not the Connection.

Change-Id: Ic0b8f32ea42bdebdd883175a1351b3a52f26942d
remove dead file nova/tests/db/nova.austin.sqlite

This file no longer appears to be used.

Change-Id: I6cee63f3e35ed1de68249aa12e828e23cbe65a40