Moti Asayag has posted comments on this change.
Change subject: engine: Prevent modifying port mirroring if used by vms
......................................................................
Patch Set 18:
(1 comment)
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/validator/VnicProfileValidator.java
Line 93: if (vnicProfile.isPortMirroring() ==
getOldVnicProfile().isPortMirroring()) {
Line 94: return ValidationResult.VALID;
Line 95: }
Line 96:
Line 97: return vnicProfileNotUsedByVms();
There is a potential of a race between performing this operation to the state
of the vm.
If there will be a feedback asking to enable vnic profile port mirroring, we'll
think of something.
Line 98: }
Line 99:
Line 100: protected Network getNetwork() {
Line 101: if (network == null) {
--
To view, visit http://gerrit.ovirt.org/17111
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ibe7b2c4e4ab133f6d6928d1d18a458103e017baa
Gerrit-PatchSet: 18
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches