From a2ac8a68164b00df0a7a3b4cc9a5d1888cc0967a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 28 Apr 2014 16:51:18 +1200 Subject: [PATCH] interface: Drop ceilometerclient dependency We weren't using this since the usage collection rewrite. Change-Id: I456ceedb70eaeca9da05d7bf892014f33a3c509d --- artifice/interface.py | 9 --------- requirements.txt | 1 - 2 files changed, 10 deletions(-) diff --git a/artifice/interface.py b/artifice/interface.py index 06e1431..af4295e 100644 --- a/artifice/interface.py +++ b/artifice/interface.py @@ -1,7 +1,6 @@ import requests import json import auth -from ceilometerclient.v2.client import Client as ceilometer from artifice.models import resources from constants import date_format import config @@ -31,14 +30,6 @@ class Artifice(object): insecure=config.auth["insecure"] ) - self.ceilometer = ceilometer( - config.ceilometer["host"], - # Uses a lambda as ceilometer apparently wants - # to use it as a callable? - token=lambda: self.auth.auth_token, - insecure=config.auth["insecure"] - ) - @property def tenants(self): """All the tenants in our system""" diff --git a/requirements.txt b/requirements.txt index 5e0e3f0..f89bb80 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,7 +24,6 @@ pbr==0.6 prettytable==0.7.2 psycopg2==2.5.2 pyaml==13.07.0 -python-ceilometerclient==1.0.3 python-keystoneclient==0.3.2 python-novaclient==2.17.0 pytz==2013.9