Remove (c) and remove unnecessary encoding lines

The word "Copyright" alone is sufficient to claim copyright, the (c)
symbol need not be present.[1]

As per PEP 263, a Python file with non-ASCII characters must have a
line with "coding: <some-encoding>". Python files containing only
7-bit ASCII characters need no such line.[2]

This commit removes unnecessary Unicode copyright symbols and
unnecessary encoding lines.

[1]: http://www.copyright.gov/circs/circ03.pdf
[2]: http://legacy.python.org/dev/peps/pep-0263/

Closes-Bug: #1324686
Change-Id: Id381ea1f029a0cfddd3773c6d9f16c47842d9c33
Update doc for sample config file issue

Since we have removed the ceilometer.conf.sample file, we should
update the documentation too.

Change-Id: I93ff8bf2f3332d15495d45a5e55e6252da639302
Closes-Bug: #1320761
Change using of limit argument in get_sample

Use 'limit' as argument in scan method instead of self written approach.

Change-Id: I2576b3bf3bb210ba0f21391766e62e19c23b21a0
Change pipeline_manager to instance attribute in hooks

We should not assume the type of object which pecan.make_app() return
because it varies based on different configuration settings during the
test.

In order to achieve this, we have to change the PipelineHook's class
attribute pipeline_manager to be instance attribute, otherwise,
different api server created for different DB back-end would end up
sharing the same pipeline_manager which would break test tests.

(Failing unit tests in gate, manually booting it out. Please *DONT*
run recheck no bug on unit test failures).

Change-Id: Ic4370b1b8bec5723a0d719c74bdcdad8a6552912
Closes-Bug: #1327032
Removes per test testr timeout

Because testr run tests in parallel and we use fake driver of
oslo.messaging to make unittests and this one use time.sleep() monkey
patched by eventlet, a test can take a lot of time, just because
eventlet have decided to run other tests before instead of finish the
started one.

So, just remove the per test testr timeout, like we have before.

Change-Id: I26f14937a16b23428f55fc7f42b4066b398c06a8
Closes-bug: #1323524
Metering LoadBalancer as a Service

This adds support for measurements around LBaaS.
Added Pollsters to track Load balancer Pools, Vips,
members and Health Probes. Also includes statistics
pollsters to track total_connections, active_connections
and bandwidth.

Included test coverage for Neutron client and LBaaS
pollsters.

Change-Id: Ia0570a824e099c341c8f12f95f576dfb8b1fdfc4
Partially Implements: blueprint ceilometer-meter-lbaas
Update Measurement Docs for LBaaS

Partially Implements: blueprint ceilometer-meter-lbaas

Change-Id: I3f2c0590ef665405c15b7c01523003af7042538b
Fixed unit test TestRealNotification

The way how the unit test
test_notification.TestRealNotification.test_notification_service was
constructed would sometimes let the main test case check the result even
before all the expected notification listeners finish processing. This
would cause failure in gate test.

We should make sure the test case check the result after all the
expected listeners finish processing the notification.

Change-Id: I5333d83365fc39264b1002030494556f90319312
Closes-Bug: #1327344
Skipping central agent pollster when keystone not available

When keystone is not available, instead of skipping all central agent
pollsters, we should let the pollsters decide whether to skip or not,
because not all central agent pollsters requires keystone.

Closes-Bug: #1316532

Change-Id: Ib34f9838bd128e1b357937f0c177d8a09f19b13f
[HBase] Implement events on HBase

In this change events are written into HBase and read from it.

For this purpose were implemented several methods:
1. record_events --- store events into HBase
2. get_events, get_event_types, get_trait_types and get_traits --- get events
from db.

Add new filters in mock HBase part, that were used in new methods.

Change-Id: I787eeaf998c36a6829f17f0c6ea27b786979edd1
Implements: blueprint hbase-events-feature
Merge "Remove (c) and remove unnecessary encoding lines"
Merge "Removes per test testr timeout"
Merge "Metering LoadBalancer as a Service"
Merge "Fixed unit test TestRealNotification"
Merge "Change pipeline_manager to instance attribute in hooks"
Merge "Update Measurement Docs for LBaaS"
Merge "[HBase] Implement events on HBase"
Merge "Skipping central agent pollster when keystone not available"
Fix the meter type for LB Bytes

This fixes the type on bytes in/out to cumulative.
Eventually when connections are fixed in LBaaS side,
those would be cumulative too. Also update the
measurement docs to reflect the newest changes.

Closes-Bug: 1328573

Change-Id: Iab221829702ab36a844d0ae65c6a3312a311a92b
Remove low-value logging from publication codepath

Previously, the pipeline publish codepath emitted log messages
with almost no diagnostic value other than a "comfort bump".
However the sheer volume of these message was overwhelming
logstash in the CI gate.

We remove the worst offenders from that codepath.

Change-Id: If630593e8f755ccc1ede16941459daac30d284ff
Closes-Bug: #1328596