Alona Kaplan has posted comments on this change.

Change subject: core: add NetworkLinking to AddVmInterfaceCommand
......................................................................


Patch Set 12: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmInterfaceCommand.java
Line 196:                 return false;
Line 197:             }
Line 198:         }
Line 199: 
Line 200:         if (getParameters().getInterface().getNetworkName() != null) {
If it is null (there is no network) we don't have to verify that the network is 
in the cluster and is a vm network.
Line 201:             // check that the exists in current cluster
Line 202:             List<Network> networks = 
DbFacade.getInstance().getNetworkDao().getAllForCluster(vm.getvds_group_id());
Line 203: 
Line 204:             Network interfaceNetwork = 
LinqUtils.firstOrNull(networks, new Predicate<Network>() {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I295dfb0af1bb7c6b2878f70344afd487aa2efbe1
Gerrit-PatchSet: 12
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Mike Kolesnik <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Sharad Mishra <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to