Use a FakeRequest object to test middleware

swift was being imported to provide a blank Request
object but very little of the functionality in that
object was being used. FakeRequest provides the
bare minimum funcionality required:

* REQUEST_METHOD
* PATH_INFO
* wsgi.input based on cStringIO
* custom header manipulation

Other functionality from swift has either been
duplicated or replaced:

* InputProxy (which counts bytes of request bodies)
  has been duplicated.
* logging uses common log functionality
* path_split does straight string splits for the desired results

Note that these changes do nothing to change functionality nor
anything to address the performance concerns being evaluated
and discussed elsewhere.

Closes bug: 1285388

Change-Id: If0fbb8f00765ac915e5b426a3661492f4b4df9f4
Support for per disk volume measurements

This enables us to track per disk read/write
requests and bytes. The existing samples accumulated
by the incoming data are used to yield needed per
disk samples. Also includes the names for the
assocaited disks as part of the metadata. For per
device pollsters, the resource id is a combination
of instance id and device name. Unit tests included
to cover the above use cases.

Change-Id: I69ab6a99c61e051cfb367c1276b8886f25ae6be7
Implements: blueprint instance-per-disk-measurement
refactor filter code in sql backend

refactor filter TODO tasks in sqlalchemy backend

Change-Id: Ia7f39b553bdbb861966b0f4d5fca1820af1c7082
VMware: Support secret host_password option

Closes-Bug: #1357177
Change-Id: If64a2dfccb9837b972a9ed4213107ad8fa4ff7b8
Merge "Support for per disk volume measurements"
sync olso-incubator code

sync up to Change-Id: I52036cf38af6ba2e59e751c2bcb8cd31e37c01de

Change-Id: I107a8f1894dc6adad09cd07e157782cc73da0c40
Merge "refactor filter code in sql backend"
Merge "sync olso-incubator code"
compute: fix wrong test assertion

The test expects the list to be ordered, but it may not be actually.

Change-Id: I3e964fd8705cb0c70752f022944d6c5dcceddfa2
Merge "compute: fix wrong test assertion"
Added new hardware inspector interface

Added a new hardware inspector interface: inspect_generic and its snmp
implementation. The old interface will be removed later.

Partial implements: blueprint snmp-improvement.
Partial-Bug: 1286132

Change-Id: I847cfdad5b6571c4d066250617050a8f0b1cfbc4
Update tox.ini pep8 config to ignore i18n functions

Oslo i18n introduced separate translation functions for logging.
This patch modifies tox.ini to ignore those additional functions
as well, not just _().

Change-Id: I9d201a8cdc5113d1c60aed17bf593dda212e5d2a
Fix typos in transformer docstrings

Aggregator and accumulator transformers have some typos in their
docstrings, this patch fixes this.

Change-Id: I0b9773fcd94d3b3fb42ca9182b4de186376a2d03
Improving of configuration.rst

Adds description of [notification] configuration section that should be
added in ceilometer.conf to switch on storing of events.

Change-Id: Ib203bc5f29da9045f4afd315ab31de958fd95fac
Add upgrading alarm storage in dbsync

Currently we don't upgrade alarm storage in
ceilometer-dbsync command. This CR fix it.

Change-Id: Ie170a3a83c917c6a94f33dc2b39de1204ee946b8
Closes-bug: #1359159
Merge "Improving of configuration.rst"
Triple double-quoted strings should be used for docstrings

Change-Id: Ie854ca1a468a0e71b7fa96e6606ead36d1c5d1d2
Rewrite dictionary creation as a dictionary literal

Do that if it makes sense

Change-Id: I4c53ca90c082faa62d8584f75d5bb0a31bb5131f
Rewrite list creation as a list literal

Do that if it makes sense

Change-Id: Ib59e2482985c6b7bd2018648b74d829e67c76a99
Merge "Added new hardware inspector interface"