[node-patches] Change in ovirt-node[master]: network: Use "prefix length" for IPv6

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Aug 7 12:42:30 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: network: Use "prefix length" for IPv6
......................................................................

network: Use "prefix length" for IPv6

Previously the term "Netmask" was used incorrectly for the IPv6
prefix length. The name is now corrected and additionally only an
integer is allowed as the prefix length.

Change-Id: I18e7829e7c9e4b265822d02aa86c34f8fda41519
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, 2 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/75/17775/1

diff --git a/src/ovirt/node/setup/core/network_page.py b/src/ovirt/node/setup/core/network_page.py
index 3c790a6..98f3e2a 100644
--- a/src/ovirt/node/setup/core/network_page.py
+++ b/src/ovirt/node/setup/core/network_page.py
@@ -144,8 +144,7 @@
                                             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.Number(bounds=[0, 128]) |
+                "dialog.nic.ipv6.netmask": (valid.Number(bounds=[0, 128]) |
                                             valid.Empty()),
                 "dialog.nic.ipv6.gateway": valid.IPv6Address() | valid.Empty(),
                 "dialog.nic.vlanid": (valid.Number(bounds=[0, 4096]) |
@@ -530,7 +529,7 @@
                      [ui.Entry("dialog.nic.ipv6.address",
                                padd("IP Address: ")),
                       ui.Entry("dialog.nic.ipv6.netmask",
-                               padd("  Netmask: "))]),
+                               padd("  Prefix Length: "))]),
               ui.Row("dialog.nic._row[7]",
                      [ui.Entry("dialog.nic.ipv6.gateway",
                                padd("Gateway: ")),


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

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