Selvasundaram has posted comments on this change.

Change subject: engine: Gluster server peer list command
......................................................................


Patch Set 1: (6 inline comments)

....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/gluster/GlusterHostEntity.java
Line 4: import org.ovirt.engine.core.common.businessentities.VDSStatus;
Line 5: import org.ovirt.engine.core.common.utils.gluster.GlusterCoreUtil;
Line 6: import org.ovirt.engine.core.compat.Guid;
Line 7: 
Line 8: public class GlusterHostEntity extends IVdcQueryable {
Done
Line 9: 
Line 10:     private Guid uuid;
Line 11: 
Line 12:     private String hostName;


Line 4: import org.ovirt.engine.core.common.businessentities.VDSStatus;
Line 5: import org.ovirt.engine.core.common.utils.gluster.GlusterCoreUtil;
Line 6: import org.ovirt.engine.core.compat.Guid;
Line 7: 
Line 8: public class GlusterHostEntity extends IVdcQueryable {
Modified to "GlusterServerInfo"
Line 9: 
Line 10:     private Guid uuid;
Line 11: 
Line 12:     private String hostName;


Line 10:     private Guid uuid;
Line 11: 
Line 12:     private String hostName;
Line 13: 
Line 14:     private VDSStatus status;
Introduced new PeerStatus
Line 15: 
Line 16:     public GlusterHostEntity() {
Line 17:     }
Line 18: 


Line 15: 
Line 16:     public GlusterHostEntity() {
Line 17:     }
Line 18: 
Line 19:     public GlusterHostEntity(Guid uuid, String hostName, String 
fingerPrint, VDSStatus status) {
Removed.
Line 20:         setUuid(uuid);
Line 21:         setHostName(hostName);
Line 22:         setStatus(status);
Line 23:     }


....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterHostsListVDSCommand.java
Line 2: 
Line 3: import 
org.ovirt.engine.core.common.vdscommands.VdsIdVDSCommandParametersBase;
Line 4: import 
org.ovirt.engine.core.vdsbroker.irsbroker.GlusterHostsListReturnForXmlRpc;
Line 5: 
Line 6: public class GlusterHostsListVDSCommand<P extends 
VdsIdVDSCommandParametersBase> extends AbstractGlusterBrokerCommand<P> {
Modified to GlusterServersListVDSCommand
Line 7: 
Line 8:     private GlusterHostsListReturnForXmlRpc glusterHosts;
Line 9: 
Line 10:     public GlusterHostsListVDSCommand(P parameters) {


....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/GlusterHostsListReturnForXmlRpc.java
Line 7: import org.ovirt.engine.core.common.businessentities.VDSStatus;
Line 8: import 
org.ovirt.engine.core.common.businessentities.gluster.GlusterHostEntity;
Line 9: import org.ovirt.engine.core.compat.Guid;
Line 10: 
Line 11: public final class GlusterHostsListReturnForXmlRpc extends 
StatusReturnForXmlRpc {
Modified to GlusterServersListReturnForXmlRpc
Line 12: 
Line 13:     private static final String GLUSTER_HOSTS = "hosts";
Line 14: 
Line 15:     private static final String HOST_NAME = "hostname";


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Icfacfdc5847e5d871da38d22b6b5efe86ea4d579
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Selvasundaram <sesub...@redhat.com>
Gerrit-Reviewer: Dhandapani Gopal <dgo...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Selvasundaram <sesub...@redhat.com>
Gerrit-Reviewer: Shireesh Anjal <san...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to