search for: reset_screen_color

Displaying 5 results from an estimated 5 matches for "reset_screen_color".

Did you mean: reset_screen_colors
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...warn = 1 if warn == 1: self.screen.setColor("BUTTON", "black", "red") self.screen.setColor("ACTBUTTON", "blue", "white") @@ -253,6 +255,34 @@ class NodeConfigScreen(): self.reset_screen_colors() return + def ntp_host1_callback(self): + warn = 0 + if not self.ntp_host1.value() is None and not self.ntp_host1.value() == "": + if not is_valid_ipv4(self.ntp_host1.value()): + if not is_valid_ipv6(self.ntp_host1.valu...
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...)): + if not is_valid_hostname(self.ntp_host2.value()): warn = 1 if warn == 1: self.screen.setColor("BUTTON", "black", "red") @@ -506,11 +506,12 @@ class NodeConfigScreen(): self.reset_screen_colors() def valid_hostname_callback(self): - if not is_valid_hostname(self.net_hostname.value()): - self.screen.setColor("BUTTON", "black", "red") - self.screen.setColor("ACTBUTTON", "blue", "white")...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...self.__nic_config_failed = 1 - self.ipv4_current_netdevip = self.ipv4_netdevip.value() - self.ipv4_current_netdevmask = self.ipv4_netdevmask.value() - self.ipv4_current_netdevgateway = self.ipv4_netdevgateway.value() - self.reset_screen_colors() - return - augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_ADDRESS", '"' + self.ipv4_netdevip.value() + '"') - augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...indow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + ButtonChoiceWindow(self.screen, "Network", "Invalid IPv6 Netmask", buttons = ['Ok']) self.ipv6_netdevmask.set("") self.reset_screen_colors() return @@ -566,9 +569,9 @@ class NodeConfigScreen(): if not interface == "lo": if has_ip_address(interface) or get_ipv6_address(interface): ipv4_address = get_ip_address(interface) -...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...indow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + ButtonChoiceWindow(self.screen, "Network", "Invalid IPv6 Netmask", buttons = ['Ok']) self.ipv6_netdevmask.set("") self.reset_screen_colors() return @@ -566,9 +569,9 @@ class NodeConfigScreen(): if not interface == "lo": if has_ip_address(interface) or get_ipv6_address(interface): ipv4_address = get_ip_address(interface) -...