Search in sources :

Example 1 with AddVdsVDSCommandParameters

use of org.ovirt.engine.core.common.vdscommands.AddVdsVDSCommandParameters in project ovirt-engine by oVirt.

the class VdsCommand method initializeVds.

protected void initializeVds(boolean newHost) {
    runVdsCommand(VDSCommandType.RemoveVds, new RemoveVdsVDSCommandParameters(getVdsId(), newHost));
    runVdsCommand(VDSCommandType.AddVds, new AddVdsVDSCommandParameters(getVdsId()));
}
Also used : RemoveVdsVDSCommandParameters(org.ovirt.engine.core.common.vdscommands.RemoveVdsVDSCommandParameters) AddVdsVDSCommandParameters(org.ovirt.engine.core.common.vdscommands.AddVdsVDSCommandParameters)

Aggregations

AddVdsVDSCommandParameters (org.ovirt.engine.core.common.vdscommands.AddVdsVDSCommandParameters)1 RemoveVdsVDSCommandParameters (org.ovirt.engine.core.common.vdscommands.RemoveVdsVDSCommandParameters)1