search for: ntp_host1

Displaying 2 results from an estimated 2 matches for "ntp_host1".

Did you mean: ntp_host2
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...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.value()): + warn = 1 +...
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...scripts/ovirt-config-setup.py @@ -274,8 +274,8 @@ class NodeConfigScreen(): warn = 0 if not self.ntp_host2.value() is None and not self.ntp_host2.value() == "": if not is_valid_ipv4(self.ntp_host2.value()): - if not is_valid_ipv6(self.ntp_host1.value()): - if not is_valid_hostname(self.ntp_host1.value()): + if not is_valid_ipv6(self.ntp_host2.value()): + if not is_valid_hostname(self.ntp_host2.value()): warn = 1 if warn == 1:...