Moti Asayag has uploaded a new change for review.

Change subject: engine: Remove nics from 
CollectHostNetworkDataVdsCommandParameters
......................................................................

engine: Remove nics from CollectHostNetworkDataVdsCommandParameters

There is no longer use of the nics from the parameters, as nics will
be persisted as part of the SetupNetworksCommands.

In addition, this class should be removed and use the
VdsIdAndVdsVDSCommandParametersBase, as part of a following patch.

Change-Id: Id4290345096cdf84ea4e962fea09be455a3d6286
Signed-off-by: Moti Asayag <[email protected]>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/CollectHostNetworkDataVdsCommandParameters.java
1 file changed, 0 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/77/35377/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/CollectHostNetworkDataVdsCommandParameters.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/CollectHostNetworkDataVdsCommandParameters.java
index d8f87dc..2bfa1fc 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/CollectHostNetworkDataVdsCommandParameters.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/vdscommands/CollectHostNetworkDataVdsCommandParameters.java
@@ -1,29 +1,13 @@
 package org.ovirt.engine.core.common.vdscommands;
 
-import java.util.Collections;
-import java.util.List;
-
 import org.ovirt.engine.core.common.businessentities.VDS;
-import 
org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface;
 
 public class CollectHostNetworkDataVdsCommandParameters extends 
VdsIdAndVdsVDSCommandParametersBase {
-
-    private List<VdsNetworkInterface> nics;
 
     public CollectHostNetworkDataVdsCommandParameters() {
     }
 
     public CollectHostNetworkDataVdsCommandParameters(VDS vds) {
         super(vds);
-        nics = Collections.emptyList();
-    }
-
-    public CollectHostNetworkDataVdsCommandParameters(VDS vds, 
List<VdsNetworkInterface> nics) {
-        super(vds);
-        this.nics = nics;
-    }
-
-    public List<VdsNetworkInterface> getInterfaces() {
-        return nics;
     }
 }


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4290345096cdf84ea4e962fea09be455a3d6286
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to