Moti Asayag has uploaded a new change for review.

Change subject: webadmin: Disable 'Network Provider' dialog for ovirt-node
......................................................................

webadmin: Disable 'Network Provider' dialog for ovirt-node

Since the ovirt-node doesn't support installation with
network provider, this option should be omitted from the
'Reinstall" and 'Upgrade' actions of ovirt-node.

Change-Id: Ide3a366390062876579d2a1c9dcbb28509e29061
Bug-Url: https://bugzilla.redhat.com/1223428
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInstallPopupView.java
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/99/41799/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInstallPopupView.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInstallPopupView.java
index 52c1cad..e452af5 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInstallPopupView.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/HostInstallPopupView.java
@@ -210,6 +210,9 @@
         userNameEditor.setEnabled(false);
 
         networkProviderWidget.edit(model.getNetworkProviderModel());
+        if (model.getVds().isOvirtNode()) {
+            networkProviderTab.setVisible(false);
+        }
     }
 
     private void displayPasswordField(boolean isPasswordVisible) {


-- 
To view, visit https://gerrit.ovirt.org/41799
To unsubscribe, visit https://gerrit.ovirt.org/settings

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

Reply via email to