remove ceph code
[stor4nfv.git] / src / ceph / src / test / rgw / rgw_multi / conn.py
diff --git a/src/ceph/src/test/rgw/rgw_multi/conn.py b/src/ceph/src/test/rgw/rgw_multi/conn.py
deleted file mode 100644 (file)
index 1099664..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-import boto
-import boto.s3.connection
-
-
-def get_gateway_connection(gateway, credentials):
-    """ connect to the given gateway """
-    if gateway.connection is None:
-        gateway.connection = boto.connect_s3(
-                aws_access_key_id = credentials.access_key,
-                aws_secret_access_key = credentials.secret,
-                host = gateway.host,
-                port = gateway.port,
-                is_secure = False,
-                calling_format = boto.s3.connection.OrdinaryCallingFormat())
-    return gateway.connection
-