remove reference to monitor and old stats view
diff --git a/xos/core/views/stats.py b/xos/core/views/stats.py
deleted file mode 100644
index f0cdd74..0000000
--- a/xos/core/views/stats.py
+++ /dev/null
@@ -1,24 +0,0 @@
-from django.http import HttpResponse
-from monitor import driver
-from core.models import *
-import json
-
-def Stats(request):
- model = request.GET['model_name']
- pk = int(request.GET['pk'])
- meter = request.GET['meter']
- controller_name = request.GET['controller_name']
-
- controller = Controller.objects.filter(name=controller_name)
-
- if len(controller)==0:
- return HttpResponse(json.dumps({"stat_list": [], "error": "not found"}))
-
- controller=controller[0]
- keystone = {'username':controller.admin_user, 'password':controller.admin_password, 'tenant_name':controller.admin_tenant, 'auth_url':controller.auth_url, 'cacert':'/etc/ssl/certs/ca-certificates.crt'}
-
- for k,v in keystone.items():
- keystone['os_'+k] = v
-
- meters = driver.get_meter(meter, model, pk, keystone)
- return HttpResponse(json.dumps(meters))
diff --git a/xos/xos/urls.py b/xos/xos/urls.py
index 809aef3..4c3f07d 100644
--- a/xos/xos/urls.py
+++ b/xos/xos/urls.py
@@ -27,7 +27,6 @@
urlpatterns = patterns('',
# Examples:
- url(r'^stats', 'core.views.stats.Stats', name='stats'),
url(r'^observer', 'core.views.observer.Observer', name='observer'),
url(r'^helloworld', HelloWorldView.as_view(), name='helloWorld'),
url(r'^serviceGrid', ServiceGridView.as_view(), name='serviceGrid'),