API: add Keystone ACL and policy support

This fixes bug #1060919

Change-Id: I5257acc5eeace7f3ff38785223b1eaa7a3711d17
Signed-off-by: Julien Danjou <julien@danjou.info>
bump version number to 0.2

Change-Id: I9b812e4b150bacc05d354e16e3089f70eae152d6
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Add OpenStack trove classifier for PyPI

Add "Environment :: OpenStack" classifier for the PyPI
catalog.

Change-Id: I1ebbc684853203abba72ef72d63999be58870f3e
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
Use glance public API as opposed to registry API.

Fixes bug 1064008

The motivation for switching over to the public API:

 - the registry API is more of an artifact of the internal glance
   architecture than a true public API

 - the registry API exposes internal attributes such as the backend
   store image location, which is stripped from the API-provided image
   representation for security reasons (hence should not bleed into
   metering)

 - the internalURL should be available from the keystone service catalog,
   so we can get rid of the registry host/port config

Change-Id: I0d75392066a020c608a67f1ecf0e8dba15aa48f0
Merge "API: add Keystone ACL and policy support"
Merge "Use glance public API as opposed to registry API."
sqlalchemy record_meter merge objs not string

Fixes bug # 1066145.  Models expecting String

Change-Id: Idbf39c29267f7d82f28cb22e5353415f6acb738e
Change default API port

Change-Id: I16a7a97a32705f7db9e9f60e2f4b975b0682fd7e
Signed-off-by: Julien Danjou <julien@danjou.info>
Added a working release-bugs.py script to tools/.

Change-Id: Ia6359aa485e8cd606e58589b6ad8b4cc2d629029
Merge "Added a working release-bugs.py script to tools/."
Merge "Add OpenStack trove classifier for PyPI"
Fix sqlalchemy performance problem

Fixes bug #1070074 too much lazy loading on the
default model.  Removed those and only added lazy
loading to queries that specifically need eager
loading

Change-Id: Ifa7446bddef855ae8e8b76040ba3336a53606215
network: emit router meter

This fixes bug #1070009

Change-Id: Ica5611d00984c8ca25e382bb8b54fbe9c87f5282
Signed-off-by: Julien Danjou <julien@danjou.info>
Remove obsolete/incorrect install instructions

Remove obsolete installation instructions for devstack, and
added corrected versions for manual install.

Change-Id: I7b9f8d8c508406ba432d41b0ef58c4f407551395
Merge "Change default API port"
Merge "network: emit router meter"
timestamp columns in sqlalchemy not timezone aware

Fixes bug # 1066148.  Sqlalchemy schema timezone
fields are not timezone aware therefore the
timestamps need to be adjusted as such

Change-Id: I0979fe3b9487257f988790ddb23a317a3df7a19d
Instance pollster emits instance.<type> meter

Fixes bug 1071486

Previously the instance pollster emitted only the instance meter,
whereas the notification handler for the instance.exists event
emitted both instance and instance.<type>.

Since the pollster & handler would generally be triggered at different
frequencies (e.g. every 600s versus once an hour) this led to an
imbalance in the metering store whereby the instance counters didn't
match the sum of the per-flavor counters as expected.

Change-Id: Ic76a645f150a87bc92b4ccfc7a777dfe13502467
Set source at publish time

We stop putting the source in the Counter, but we set it via the
configuration file and use it as a source.

Change-Id: I82c00ac5e55e09ab38de9364cda3194beb35e3c4
Signed-off-by: Julien Danjou <julien@danjou.info>
api: add source detail retrieval

Change-Id: I031d237f870172e87b9bcb413573a0ad5c18afca
Signed-off-by: Julien Danjou <julien@danjou.info>