[node-patches] Change in ovirt-node[master]: setup: VLAN can be given when configured w/ DHCP

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Feb 6 08:01:18 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: VLAN can be given when configured w/ DHCP
......................................................................

setup: VLAN can be given when configured w/ DHCP

Previously the VLAN could only be entered when a static 'static'
configuration was choosen, now this is also possible when 'DHCP' is
choosen.

Change-Id: I102e73ec984ff2fa37ca810ecd16109edb814838
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/setup/network_page.py
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/86/11786/1

diff --git a/scripts/tui/src/ovirt/node/setup/network_page.py b/scripts/tui/src/ovirt/node/setup/network_page.py
index 2985cd3..cf14c33 100644
--- a/scripts/tui/src/ovirt/node/setup/network_page.py
+++ b/scripts/tui/src/ovirt/node/setup/network_page.py
@@ -147,6 +147,9 @@
         if bootproto:
             if bootproto in ["static"]:
                 self._nic_details_group.enabled(True)
+            if bootproto in ["dhcp"]:
+                self._nic_details_group.enabled(False)
+                self.widgets["dialog.nic.vlanid"].enabled(True)
             else:
                 self._nic_details_group.enabled(False)
             self.widgets["dialog.nic.ipv4.bootproto"].enabled(True)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I102e73ec984ff2fa37ca810ecd16109edb814838
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list