Add new meters for swift

    This patch adds new meters:
        -storage.containers.objects
        -storage.containers.objects.size.
    These meters are implemented through a polling Swift

blueprint: https://wiki.openstack.org/wiki/Ceilometer/blueprints/pollster-swift

Change-Id: Ic1f3aaf351db0b99392eb13d4f31f2732f87f816
Empty files should no longer contain copyright

Change-Id: Id314cd0ec658cb96cfc50493cd5bab10c2716714
Closes-Bug: #1262424
Allow customized reseller_prefix in Ceilometer middleware for Swift

Swift can be configured to use a different reseller prefix than AUTH_.
In this case Ceilometer returns None as resource_id.

This patch allows to set the reseller prefix, with a fallback to AUTH_
if not set. It also ensures that the reseller prefix ends with ``_``.
Two additional tests to verify this were added.

Change-Id: I1ba40091582da46c0385a71d1828bb3820a5e2b5
Closes-Bug: #1260965
Check for pep8 E226 and E24

By default, pep8.py ignores E226 and E24. By changing
tox.ini to not have an ignore clause, it started using
the default. Since we were explicitely ignoring things
until recently, E226 and E24 where being checked. This
patch adds an ignore clause to tox.ini and fixes some
E226 errors to match our pep8 checks to other projects
in openstack.

Change-Id: Ia0bc0e6bcb4b4c6e54d61bae2fd7cad48303a62a
Merge "Add new meters for swift"
Fix work of udp publisher

 * Signature is appended also to udp messages
 * All methods for convert from sample to message are moved to publisher/utils.py
 * In configs metering_secret is moved from group publisher_rpc to publisher
 * Changed tests for udp publisher

Fixes: bug #1259171

Change-Id: Ic7727c69d4be6d17ff00f21e323341efd57122a7
Merge "Check for pep8 E226 and E24"
Remove redundant meter (name,type,unit) tuples from Resource model

Fixes bug 1267162

Previously, a list of meter (name,type,unit) tuples with per-sample
cardinality was added to the Resource model by the storage driver
get_resource method.

However this potential huge and highly repetitive list was then
promptly discarded by the API layer, as the meter links in the API
Resource representation are populated via subsequent calls into
the storage driver get_meters method.

Now, we avoid the scaling issue by suppressing the creation of
this unused meter list.

Change-Id: I18dee7552836c724798ea1340e2e933c09d8a294
Merge "Empty files should no longer contain copyright"
Merge "Fix work of udp publisher"
Merge "Allow customized reseller_prefix in Ceilometer middleware for Swift"
Merge "Remove redundant meter (name,type,unit) tuples from Resource model"