Beispiel #1
0
 def get_one_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenNebula"
     cloud_info.server = "server.com"
     cloud_info.port = 2633
     one_cloud = OpenNebulaCloudConnector(cloud_info)
     return one_cloud
Beispiel #2
0
 def get_one_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenNebula"
     cloud_info.server = "server.com"
     cloud_info.port = 2633
     one_cloud = OpenNebulaCloudConnector(cloud_info)
     return one_cloud
Beispiel #3
0
 def get_fogbow_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "FogBow"
     cloud_info.server = "server.com"
     cloud_info.port = 8182
     cloud = FogBowCloudConnector(cloud_info)
     return cloud
Beispiel #4
0
 def get_fogbow_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "FogBow"
     cloud_info.server = "server.com"
     cloud_info.port = 8182
     cloud = FogBowCloudConnector(cloud_info)
     return cloud
Beispiel #5
0
 def get_occi_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OCCI"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 11443
     cloud = OCCICloudConnector(cloud_info)
     return cloud
Beispiel #6
0
 def get_ost_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenStack"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 5000
     one_cloud = OpenStackCloudConnector(cloud_info)
     return one_cloud
Beispiel #7
0
 def get_docker_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Docker"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 2375
     cloud = DockerCloudConnector(cloud_info)
     return cloud
Beispiel #8
0
 def get_docker_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Kubernetes"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 2375
     cloud = DockerCloudConnector(cloud_info)
     return cloud
Beispiel #9
0
 def get_kube_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Kubernetes"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 8080
     cloud = KubernetesCloudConnector(cloud_info)
     return cloud
Beispiel #10
0
 def get_vsphere_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "vSphere"
     cloud_info.server = "vspherehost"
     inf = MagicMock()
     inf.id = "1"
     cloud = vSphereCloudConnector(cloud_info, inf)
     return cloud
Beispiel #11
0
Datei: OCCI.py Projekt: amcaar/im
 def get_occi_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OCCI"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 11443
     cloud = OCCICloudConnector(cloud_info)
     return cloud
Beispiel #12
0
 def get_kube_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Kubernetes"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 8080
     cloud = KubernetesCloudConnector(cloud_info)
     return cloud
Beispiel #13
0
 def get_ost_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenStack"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 5000
     one_cloud = OpenStackCloudConnector(cloud_info)
     return one_cloud
Beispiel #14
0
 def get_fogbow_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "FogBow"
     cloud_info.server = "server.com"
     cloud_info.port = 8182
     inf = MagicMock()
     inf.id = "1"
     cloud = FogBowCloudConnector(cloud_info, inf)
     return cloud
Beispiel #15
0
 def get_one_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenNebula"
     cloud_info.server = "server.com"
     cloud_info.port = 2633
     inf = MagicMock()
     inf.id = "1"
     one_cloud = OpenNebulaCloudConnector(cloud_info, inf)
     return one_cloud
Beispiel #16
0
 def get_osc_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "CloudStack"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     inf = MagicMock()
     inf.id = "1"
     cloud = CloudStackCloudConnector(cloud_info, inf)
     return cloud
Beispiel #17
0
 def get_ost_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OpenStack"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 5000
     inf = MagicMock()
     inf.id = "1"
     one_cloud = OpenStackCloudConnector(cloud_info, inf)
     return one_cloud
Beispiel #18
0
 def get_docker_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Docker"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 2375
     inf = MagicMock()
     inf.id = "1"
     cloud = DockerCloudConnector(cloud_info, inf)
     return cloud
Beispiel #19
0
 def get_kube_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "Kubernetes"
     cloud_info.protocol = "http"
     cloud_info.server = "server.com"
     cloud_info.port = 8080
     inf = MagicMock()
     inf.id = "1"
     cloud = KubernetesCloudConnector(cloud_info, inf)
     return cloud
Beispiel #20
0
 def get_occi_cloud():
     cloud_info = CloudInfo()
     cloud_info.type = "OCCI"
     cloud_info.protocol = "https"
     cloud_info.server = "server.com"
     cloud_info.port = 11443
     inf = MagicMock()
     inf.id = "1"
     cloud = OCCICloudConnector(cloud_info, inf)
     return cloud