Search in sources :

Example 1 with ConnectToVCenter

use of com.emc.sa.service.vmware.tasks.ConnectToVCenter in project coprhd-controller by CoprHD.

the class VMwareSupport method connect.

public void connect(URI vcenterId) {
    this.vcenterId = vcenterId;
    Vcenter vcenter = getVcenter(vcenterId);
    vcenterAPI = execute(new ConnectToVCenter(vcenter));
    addInjectedValue(VCenterAPI.class, vcenterAPI);
}
Also used : GetVcenter(com.emc.sa.service.vmware.tasks.GetVcenter) Vcenter(com.emc.storageos.db.client.model.Vcenter) ConnectToVCenter(com.emc.sa.service.vmware.tasks.ConnectToVCenter)

Aggregations

ConnectToVCenter (com.emc.sa.service.vmware.tasks.ConnectToVCenter)1 GetVcenter (com.emc.sa.service.vmware.tasks.GetVcenter)1 Vcenter (com.emc.storageos.db.client.model.Vcenter)1