[node-patches] Change in ovirt-node[master]: setup: Require a bootprotocol for IPv4

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Sep 26 15:48:24 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: setup: Require a bootprotocol for IPv4
......................................................................

setup: Require a bootprotocol for IPv4

Previously the TUI did not check the IPv4 boot protocol on the NIC
details page. Now it is checkd that at least one boot protocol is
choosen.

rhbz#858651

Change-Id: I295833f4a0cde77fae9c476d4d989d2a3f86c166
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-config-setup.py
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/15/8215/1

diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py
index 2ac2057..7d6976e 100755
--- a/scripts/ovirt-config-setup.py
+++ b/scripts/ovirt-config-setup.py
@@ -1544,6 +1544,12 @@
             gridform.draw()
             self.screen.refresh()
             msg = ""
+
+            if self.static_ipv4_nic_proto.value() == 1 and \
+               self.dhcp_ipv4_nic_proto.value() == 1 and \
+               self.disabled_ipv4_nic_proto.value() == 1:
+                msg += "  - IPv4 boot protocol (Disabled, Static, DHCP)"
+
             if self.static_ipv4_nic_proto.value() == 1:
                 if self.ipv4_netdevip.value() == "":
                     msg += "  - IPv4 Address\n"


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I295833f4a0cde77fae9c476d4d989d2a3f86c166
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