Yevgeny Zaspitsky has posted comments on this change.

Change subject: engine,webadmin: Plugging of an unlinked vnic with an ext net 
is blocked
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.ovirt.org/#/c/32032/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/UpdateVmInterfaceCommand.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/vm/UpdateVmInterfaceCommand.java:

Line 376:                     ? ValidationResult.VALID
Line 377:                             : new 
ValidationResult(VdcBllMessages.ACTION_TYPE_FAILED_EXTERNAL_NETWORK_CANNOT_BE_REWIRED);
Line 378:         }
Line 379: 
Line 380:         public ValidationResult canVnicWithExternalNetworkBePlugged() 
{
> can be simplified to:
Done
Line 381:             if (RequiredAction.PLUG == getRequiredAction() && 
!nic.isLinked()) {
Line 382:                 final boolean vnicAttachedToExternalNetwork = 
isVnicAttachedToExternalNetwork();
Line 383:                 if (validationResult != ValidationResult.VALID) {
Line 384:                     return validationResult;


-- 
To view, visit http://gerrit.ovirt.org/32032
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia944ca7e0430adc54a6cae6cb65b8a1df4e88d24
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yevgeny Zaspitsky <yzasp...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Lior Vernia <lver...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzasp...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to