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 <alkap...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegu...@redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmis...@linux.vnet.ibm.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to