Yaniv Bronhaim has uploaded a new change for review.

Change subject: core: Making sshPort field to be editable always
......................................................................

core: Making sshPort field to be editable always

sshPort field was set to be editable only when vds is UP, but should be
editable in any state. When perform 'edit host' we can change the port
number, this can be done from any state.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=989493
Change-Id: I2c5b6a74450f8766fb13d21eea2402f41d431ffa
Signed-off-by: Yaniv Bronhaim <ybron...@redhat.com>
---
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/28/18628/1

diff --git 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java
 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java
index 00f0e70..8c87e6d 100644
--- 
a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java
+++ 
b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatic.java
@@ -60,7 +60,7 @@
     @Size(max = BusinessEntitiesDefinitions.HOST_HOSTNAME_SIZE)
     private String hostname;
 
-    @EditableOnVdsStatus
+    @EditableField
     @Range(min = BusinessEntitiesDefinitions.NETWORK_MIN_LEGAL_PORT,
             max = BusinessEntitiesDefinitions.NETWORK_MAX_LEGAL_PORT,
             message = "VALIDATION.VDS.PORT.RANGE")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c5b6a74450f8766fb13d21eea2402f41d431ffa
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to