def api_factory(cluster_id, **kwargs):
    return vsphere_from_configuration(cluster_id=cluster_id,
                                      vc_ip=kwargs[u'vc_ip'],
                                      username=kwargs[u'username'],
                                      password=kwargs[u'password'],
                                      datacenter_name=kwargs[
                                          u'datacenter_name'],
                                      datastore_name=kwargs[u'datastore_name'])
예제 #2
0
def api_factory(cluster_id, **kwargs):
    return vsphere_from_configuration(cluster_id=cluster_id,
                                      vc_ip=kwargs[u'vc_ip'],
                                      username=kwargs[u'username'],
                                      password=kwargs[u'password'],
                                      datacenter_name=kwargs[u'datacenter_name'],
                                      datastore_name=kwargs[u'datastore_name'],
                                      ssl_verify_cert=kwargs[u'ssl_verify_cert'],
                                      ssl_key_file=kwargs[u'ssl_key_file'],
                                      ssl_cert_file=kwargs[u'ssl_cert_file'],
                                      ssl_thumbprint=kwargs[u'ssl_thumbprint'])
예제 #3
0
def api_factory(cluster_id, **kwargs):
    return vsphere_from_configuration(
        cluster_id=cluster_id,
        vc_ip=kwargs[u'vc_ip'],
        username=kwargs[u'username'],
        password=kwargs[u'password'],
        datacenter_name=kwargs[u'datacenter_name'],
        datastore_name=kwargs[u'datastore_name'],
        ssl_verify_cert=kwargs[u'ssl_verify_cert'],
        ssl_key_file=kwargs[u'ssl_key_file'],
        ssl_cert_file=kwargs[u'ssl_cert_file'],
        ssl_thumbprint=kwargs[u'ssl_thumbprint'])