search for: ipv6_netdevmask

Displaying 4 results from an estimated 4 matches for "ipv6_netdevmask".

2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...it a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py index 0de6c2e..8c6c8af 100755 --- a/scripts/ovirt-config-setup.py +++ b/scripts/ovirt-config-setup.py @@ -399,12 +399,15 @@ class NodeConfigScreen(): def ipv6_netmask_callback(self): warn = 0 if not self.ipv6_netdevmask.value() is None and not self.ipv6_netdevmask.value() == "": - if not is_valid_ipv6(self.ipv6_netdevmask.value()): - warn = 1 + try: + if not int(self.ipv6_netdevmask.value()) in range(1,128): + warn = 1 +...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...it a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py index 0de6c2e..8a81feb 100755 --- a/scripts/ovirt-config-setup.py +++ b/scripts/ovirt-config-setup.py @@ -399,12 +399,15 @@ class NodeConfigScreen(): def ipv6_netmask_callback(self): warn = 0 if not self.ipv6_netdevmask.value() is None and not self.ipv6_netdevmask.value() == "": - if not is_valid_ipv6(self.ipv6_netdevmask.value()): - warn = 1 + try: + if not int(self.ipv6_netdevmask.value()) in range(1,128): + warn = 1 +...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...9;"' + self.netvlanid.value() + '"') if self.dhcp_ipv6_nic_proto.value() == 1: @@ -1192,6 +1206,7 @@ class NodeConfigScreen(): augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IPV6_NETMASK", '"' + self.ipv6_netdevmask.value() + '"') if self.ipv6_netdevgateway.value(): augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IPV6_GATEWAY", '"' + self.ipv6_netdevgateway.value() + '"') + self.screen = SnackS...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...netdevmask.value() + '"') + augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_GATEWAY", '"' + self.ipv4_netdevgateway.value() + '"') + if self.static_ipv6_nic_proto.value() == 1: if self.ipv6_netdevmask.value() == "": msg += " - IPv6 Netmask Address\n" if self.ipv6_netdevgateway.value() == "": msg += " - IPv6 Gateway Address\n" # left out gateway check to prevent multiple ones -...