[node-patches] Change in ovirt-node[master]: ui: Allow digit for IPv4 and IPv6 netmasks

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri Jul 12 09:27:35 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: ui: Allow digit for IPv4 and IPv6 netmasks
......................................................................

ui: Allow digit for IPv4 and IPv6 netmasks

Change-Id: I48bf6c9cc2fe41c3358bdc11962a7eaaa4200652
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=981168
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/setup/core/network_page.py
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/58/16758/1

diff --git a/src/ovirt/node/setup/core/network_page.py b/src/ovirt/node/setup/core/network_page.py
index 4cbbda9..c35d66d 100644
--- a/src/ovirt/node/setup/core/network_page.py
+++ b/src/ovirt/node/setup/core/network_page.py
@@ -142,7 +142,9 @@
                 "dialog.nic.ipv4.netmask": valid.IPv4Address() | valid.Empty(),
                 "dialog.nic.ipv4.gateway": valid.IPv4Address() | valid.Empty(),
                 "dialog.nic.ipv6.address": valid.IPv6Address() | valid.Empty(),
-                "dialog.nic.ipv6.netmask": valid.IPv6Address() | valid.Empty(),
+                "dialog.nic.ipv6.netmask": (valid.IPv6Address() |
+                                            valid.Number(bounds=[0, 128]) |
+                                            valid.Empty()),
                 "dialog.nic.ipv6.gateway": valid.IPv6Address() | valid.Empty(),
                 "dialog.nic.vlanid": (valid.Number(bounds=[0, 4096]) |
                                       valid.Empty()),


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

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