Yaniv Bronhaim has posted comments on this change.

Change subject: Using ssh username and password to install and update host
......................................................................


Patch Set 13: (1 inline comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsCommand.java
Line 317:                 returnValue = 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_VDS_WITH_SAME_HOST_EXIST);
Line 318:             } else if 
(!ValidationUtils.validatePort(vds.getSSHPort())) {
Line 319:                 returnValue = 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_VDS_WITH_INVALID_SSH_PORT);
Line 320:             } else if ((StringUtils.isEmpty(vds.getSSHUsername())) ||
Line 321:                        (vds.getSSHUsername().length() > 
BusinessEntitiesDefinitions.HOST_HOSTNAME_SIZE)) {
why? we already have BusinessEntitiesDefinitions.USER_USER_NAME_SIZE .. i can 
use that. it refers to usernames, so why not using that..
Line 322:                 returnValue = 
failCanDoAction(VdcBllMessages.ACTION_TYPE_FAILED_VDS_WITH_INVALID_SSH_USERNAME);
Line 323:             } else {
Line 324:                 returnValue = returnValue && 
validateSingleHostAttachedToLocalStorage();
Line 325: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id39914e1286870373ad6f69360fa7b3ddfabd8df
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Michael Pasternak <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: liron aravot <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to