search for: ipv4_netdevip

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

2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...g = " - IPv6 Address\n" + if self.ipv4_netdevgateway.value() == "": + msg = " - IPv4 Gateway Address\n" + augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_ADDRESS", '"' + self.ipv4_netdevip.value() + '"') + augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_NETMASK", '"' + self.ipv4_netdevmask.value() + '"') + augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_I...
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...ButtonChoiceWindow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + self.ntp_host2.set("") + self.reset_screen_colors() + return + def ipv4_ip_callback(self): warn = 0 if not self.ipv4_netdevip.value() is None and not self.ipv4_netdevip.value() == "": @@ -708,16 +738,16 @@ class NodeConfigScreen(): dns_grid.setField(Label("DNS Server 2: "), 0, 1, anchorLeft = 1) dns_grid.setField(self.dns_host1, 1, 0, anchorLeft = 1) dns_grid.setField(s...
2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...ck) self.ipv4_netdevgateway = Entry(16, "", scroll = 0) self.ipv4_netdevgateway.setCallback(self.ipv4_gateway_callback) + if not dev_bridge is None: + dev = dev_bridge if "OVIRT_IP_ADDRESS" in OVIRT_VARS: self.ipv4_netdevip.set(OVIRT_VARS["OVIRT_IP_ADDRESS"]) else: - current_ip = get_ip_address(self.nic_lb.current()) - if current_ip == "": - current_ip = get_ip_address("br" + self.nic_lb.current()) + current_ip = get_ip_ad...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...t; + OVIRT_DEFAULTS + "/OVIRT_IPV6_NETMASK", "") + augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IPV6_GATEWAY", "") + msg = "" if self.static_ipv4_nic_proto.value() == 1: if self.ipv4_netdevip.value() == "": @@ -1178,6 +1183,15 @@ class NodeConfigScreen(): del OVIRT_VARS["OVIRT_IP_NETMASK"] if OVIRT_VARS.has_key("OVIRT_IP_GATEWAY"): del OVIRT_VARS["OVIRT_IP_GATEWAY"] + if OVIRT_VARS....