Java 类com.vmware.vim25.DistributedVirtualSwitchProductSpec 实例源码

项目:vijava    文件:DistributedVirtualSwitchManager.java   
public HostSystem[] queryCompatibleHostForNewDvs(ManagedEntity container, boolean recursive, DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException
{
    ManagedObjectReference[] mors = getVimService().queryCompatibleHostForNewDvs(getMOR(), container.getMOR(), recursive, switchProductSpec);

    HostSystem[] hosts = new HostSystem[mors.length];
    for(int i=0; i<hosts.length; i++)
    {
        hosts[i] = new HostSystem(getServerConnection(), mors[i]);
    }
    return hosts;
}
项目:vijava    文件:DistributedVirtualSwitchManager.java   
public DistributedVirtualSwitchProductSpec[] queryAvailableDvsSpec() throws RuntimeFault, RemoteException
{
    return getVimService().queryAvailableDvsSpec(getMOR());
}
项目:vijava    文件:DistributedVirtualSwitchManager.java   
public DistributedVirtualSwitchHostProductSpec[] queryDvsCompatibleHostSpec(DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException
{
    return getVimService().queryDvsCompatibleHostSpec(getMOR(), switchProductSpec);
}
项目:vijava    文件:DistributedVirtualSwitchManager.java   
/** @since SDK4.1 */
public DVSFeatureCapability queryDvsFeatureCapability(DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException
{
  return getVimService().queryDvsFeatureCapability(getMOR(), switchProductSpec);
}
项目:vijava    文件:DistributedVirtualSwitch.java   
public Task performDvsProductSpecOperation_Task(String operation, DistributedVirtualSwitchProductSpec productSpec) throws TaskInProgress, InvalidState, DvsFault, RuntimeFault, RemoteException
{
    ManagedObjectReference taskMor = getVimService().performDvsProductSpecOperation_Task(getMOR(), operation, productSpec);
    return new Task(getServerConnection(), taskMor);
}
项目:jcloud-vsphere    文件:DistributedVirtualSwitchManagerApi.java   
/**
 * @since SDK4.1
 */
DVSFeatureCapability queryDvsFeatureCapability(DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException;
项目:jcloud-vsphere    文件:DistributedVirtualSwitchManagerApi.java   
List<DistributedVirtualSwitchProductSpec> queryAvailableDvsSpec() throws RuntimeFault, RemoteException;
项目:jcloud-vsphere    文件:DistributedVirtualSwitchManagerApi.java   
List<HostSystem> queryCompatibleHostForNewDvs(ManagedEntity container, boolean recursive, DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException;
项目:jcloud-vsphere    文件:DistributedVirtualSwitchManagerApi.java   
List<DistributedVirtualSwitchHostProductSpec> queryDvsCompatibleHostSpec(DistributedVirtualSwitchProductSpec switchProductSpec) throws RuntimeFault, RemoteException;