Michael Kublin has posted comments on this change.
Change subject: engine-core: add plug/unplug VM nic command
......................................................................
Patch Set 2: (1 inline comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/HotPlugUnplugVmNicCommand.java
Line 46: protected void Perform() {
These check is useless.
Code at VmOperationCommandBase:
@Override
protected void ExecuteVmCommand() {
if (GetRunningOnVds()) { <-- It is means that the code will not run
if vm is not up , the plug/unplug will not work when vm is down. It is look
like
that inheritance tree is wrong.
Perform();
return;
}
setActionReturnValue((getVm() != null) ? getVm().getstatus() :
VMStatus.Down);
}
--
To view, visit http://gerrit.ovirt.org/3204
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I17897c18eccae41954e01b264fa74427e0bce1a2
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <[email protected]>
Gerrit-Reviewer: Livnat Peer <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches