Search in sources :

Example 11 with ExternalHostProvider

use of org.ovirt.engine.api.model.ExternalHostProvider in project ovirt-engine by oVirt.

the class BackendExternalDiscoveredHostResource method addParents.

@Override
protected ExternalDiscoveredHost addParents(ExternalDiscoveredHost image) {
    ExternalHostProvider provider = new ExternalHostProvider();
    provider.setId(providerId);
    image.setExternalHostProvider(provider);
    return super.addParents(image);
}
Also used : ExternalHostProvider(org.ovirt.engine.api.model.ExternalHostProvider)

Example 12 with ExternalHostProvider

use of org.ovirt.engine.api.model.ExternalHostProvider in project ovirt-engine by oVirt.

the class BackendExternalDiscoveredHostsResource method addParents.

@Override
protected ExternalDiscoveredHost addParents(ExternalDiscoveredHost image) {
    ExternalHostProvider provider = new ExternalHostProvider();
    provider.setId(providerId);
    image.setExternalHostProvider(provider);
    return super.addParents(image);
}
Also used : ExternalHostProvider(org.ovirt.engine.api.model.ExternalHostProvider)

Example 13 with ExternalHostProvider

use of org.ovirt.engine.api.model.ExternalHostProvider in project ovirt-engine by oVirt.

the class BackendExternalHostGroupResource method addParents.

@Override
protected ExternalHostGroup addParents(ExternalHostGroup image) {
    ExternalHostProvider provider = new ExternalHostProvider();
    provider.setId(providerId);
    image.setExternalHostProvider(provider);
    return super.addParents(image);
}
Also used : ExternalHostProvider(org.ovirt.engine.api.model.ExternalHostProvider)

Example 14 with ExternalHostProvider

use of org.ovirt.engine.api.model.ExternalHostProvider in project ovirt-engine by oVirt.

the class BackendExternalHostResource method addParents.

@Override
protected ExternalHost addParents(ExternalHost image) {
    ExternalHostProvider provider = new ExternalHostProvider();
    provider.setId(providerId);
    image.setExternalHostProvider(provider);
    return super.addParents(image);
}
Also used : ExternalHostProvider(org.ovirt.engine.api.model.ExternalHostProvider)

Aggregations

ExternalHostProvider (org.ovirt.engine.api.model.ExternalHostProvider)14 Display (org.ovirt.engine.api.model.Display)2 Host (org.ovirt.engine.api.model.Host)2 BigDecimal (java.math.BigDecimal)1 WebApplicationException (javax.ws.rs.WebApplicationException)1 Test (org.junit.Test)1 Boot (org.ovirt.engine.api.model.Boot)1 Certificate (org.ovirt.engine.api.model.Certificate)1 Cluster (org.ovirt.engine.api.model.Cluster)1 Cpu (org.ovirt.engine.api.model.Cpu)1 CpuTopology (org.ovirt.engine.api.model.CpuTopology)1 ExternalStatus (org.ovirt.engine.api.model.ExternalStatus)1 GuestOperatingSystem (org.ovirt.engine.api.model.GuestOperatingSystem)1 HardwareInformation (org.ovirt.engine.api.model.HardwareInformation)1 HighAvailability (org.ovirt.engine.api.model.HighAvailability)1 HostDevicePassthrough (org.ovirt.engine.api.model.HostDevicePassthrough)1 HostStatus (org.ovirt.engine.api.model.HostStatus)1 HostType (org.ovirt.engine.api.model.HostType)1 InstanceType (org.ovirt.engine.api.model.InstanceType)1 IscsiDetails (org.ovirt.engine.api.model.IscsiDetails)1