From d70dc28c1841fafedab48418825e13da78a63b9a Mon Sep 17 00:00:00 2001 From: Andrew Melton Date: Mon, 8 Jul 2013 16:32:42 -0400 Subject: [PATCH] Removing some test configs --- stacktach/reconciler/nova.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/stacktach/reconciler/nova.py b/stacktach/reconciler/nova.py index 5850fec..8d7210a 100644 --- a/stacktach/reconciler/nova.py +++ b/stacktach/reconciler/nova.py @@ -1,9 +1,5 @@ -import os, sys - import requests -sys.path.append('/home/andrewmelton/publicgit/stacktach_app') - from stacktach import utils as stackutils from stacktach.reconciler import exceptions from stacktach.reconciler.utils import empty_reconciler_instance @@ -90,17 +86,3 @@ class JSONBridgeClient(object): else: msg = "Couldn't find instance (%s) using JSON Bridge in region (%s)" raise exceptions.NotFound(msg % (uuid, region)) - -if __name__ == '__main__': - json_bridge_config = { - 'url': 'http://devstack.ceilo-dev.ord.ohthree.com:8080/query/', - 'username': '', - 'password': '', - 'databases': { - 'RegionOne': 'nova', - } - } - client = JSONBridgeClient(json_bridge_config) - print client.get_instance('RegionOne', - 'e23ff37f-a02d-4c63-b11e-cc15fdced2cf', - get_metadata=True)