Exemplo n.º 1
0
Arquivo: Docker.py Projeto: amcaar/im
 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
Exemplo n.º 2
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
Exemplo n.º 3
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
Exemplo n.º 4
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
Exemplo n.º 5
0
Arquivo: OCCI.py Projeto: indigo-dc/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
Exemplo n.º 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
Exemplo n.º 7
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
Exemplo n.º 8
0
Arquivo: OCCI.py Projeto: 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
Exemplo n.º 9
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
Exemplo n.º 10
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
Exemplo n.º 11
0
Arquivo: Docker.py Projeto: bbsyaya/im
 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
Exemplo n.º 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
     inf = MagicMock()
     inf.id = "1"
     cloud = KubernetesCloudConnector(cloud_info, inf)
     return cloud
Exemplo n.º 13
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