Alona Kaplan has uploaded a new change for review.

Change subject: core,ui: add LINK_STATE_IS_NOT_CHANGEABLE bll message.
......................................................................

core,ui: add LINK_STATE_IS_NOT_CHANGEABLE bll message.

- update the related AppError files.

Change-Id: I7eec8709aeb43367f9d33b3e1202943aad5d1c91
Signed-off-by: Alona Kaplan <alkap...@redhat.com>
---
M 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M 
frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
M 
frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
M 
frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
5 files changed, 7 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/50/9450/1

diff --git 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
index d5a516f..e63d7dc 100644
--- 
a/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
+++ 
b/backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/VdcBllMessages.java
@@ -595,6 +595,7 @@
     ACTION_TYPE_FAILED_STORAGE_POOL_WITH_DEFAULT_VDS_GROUP_CANNOT_BE_LOCALFS,
     DEFAULT_CLUSTER_CANNOT_BE_ON_LOCALFS,
     HOT_PLUG_IS_NOT_SUPPORTED,
+    LINK_STATE_IS_NOT_CHANGEABLE,
     ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED,
     HOT_PLUG_DISK_IS_NOT_VIRTIO,
     HOT_PLUG_DISK_IS_NOT_UNPLUGGED,
diff --git 
a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties 
b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
index 7d0bf96..5ae83a2 100644
--- 
a/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
+++ 
b/backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
@@ -705,6 +705,7 @@
 USER_CANNOT_BE_ADDED_TO_VM_POOL=User cannot be added to VM-Pool
 ACTION_TYPE_FAILED_DETECTED_PINNED_VMS=Cannot ${action} ${type}. The following 
VMs are set to run specifically only on this Host: ${VmNames}.\nIn order to 
${action} ${type}, you need to remove the association between the VMs and the 
Host (Using Edit VM properties).
 HOT_PLUG_IS_NOT_SUPPORTED=Activate/Deactivate while VM is running, is only 
supported for Clusters of version 3.1 and above.
+LINK_STATE_IS_NOT_CHANGEABLE=Changing VM Interface's Link State is not 
supported for Clusters of version ${version}.
 ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED=Cannot ${action} ${type}. 
Guest OS version is not supported.
 HOT_PLUG_DISK_IS_NOT_VIRTIO=Can plug only virtIO disks.
 HOT_PLUG_DISK_IS_NOT_UNPLUGGED=Disk is already activated.
diff --git 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
index 9c25876..8f447c6 100644
--- 
a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
+++ 
b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
@@ -1897,6 +1897,9 @@
     @DefaultStringValue("Activate/Deactivate while VM is running, is only 
supported for Clusters of version 3.1 and above.")
     String HOT_PLUG_IS_NOT_SUPPORTED();
 
+    @DefaultStringValue("Changing VM Interface's Link State is not supported 
for Clusters of version ${version}.")
+    String LINK_STATE_IS_NOT_CHANGEABLE();
+
     @DefaultStringValue("Cannot ${action} ${type}. Guest OS version is not 
supported.")
     String ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED();
 
diff --git 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
index 7743fb0..8c26616 100644
--- 
a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
+++ 
b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
@@ -697,6 +697,7 @@
 USER_CANNOT_BE_ADDED_TO_VM_POOL=User cannot be added to VM-Pool
 ACTION_TYPE_FAILED_DETECTED_PINNED_VMS=Cannot ${action} ${type}. The following 
VMs are set to run specifically only on this Host: ${VmNames}.\nIn order to 
${action} ${type}, you need to remove the association between the VMs and the 
Host (Using Edit VM properties).
 HOT_PLUG_IS_NOT_SUPPORTED=Activate/Deactivate while VM is running, is only 
supported for Clusters of version 3.1 and above.
+LINK_STATE_IS_NOT_CHANGEABLE=Changing VM Interface's Link State is not 
supported for Clusters of version ${version}.
 ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED=Cannot ${action} ${type}. 
Guest OS version is not supported.
 HOT_PLUG_DISK_IS_NOT_VIRTIO=Can plug only virtIO disks.
 HOT_PLUG_DISK_IS_NOT_UNPLUGGED=Disk is already activated.
diff --git 
a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
 
b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
index 6076ef1..d84640b 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
+++ 
b/frontend/webadmin/modules/webadmin/src/main/resources/org/ovirt/engine/ui/frontend/AppErrors.properties
@@ -697,6 +697,7 @@
 USER_CANNOT_BE_ADDED_TO_VM_POOL=User cannot be added to VM-Pool
 ACTION_TYPE_FAILED_DETECTED_PINNED_VMS=Cannot ${action} ${type}. The following 
VMs are set to run specifically only on this Host: ${VmNames}.\nIn order to 
${action} ${type}, you need to remove the association between the VMs and the 
Host (Using Edit VM properties).
 HOT_PLUG_IS_NOT_SUPPORTED=Activate/Deactivate while VM is running, is only 
supported for Clusters of version 3.1 and above.
+LINK_STATE_IS_NOT_CHANGEABLE=Changing VM Interface's Link State is not 
supported for Clusters of version ${version}.
 ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED=Cannot ${action} ${type}. 
Guest OS version is not supported.
 HOT_PLUG_DISK_IS_NOT_VIRTIO=Can plug only virtIO disks.
 HOT_PLUG_DISK_IS_NOT_UNPLUGGED=Disk is already activated.


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7eec8709aeb43367f9d33b3e1202943aad5d1c91
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alona Kaplan <alkap...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to