search for: current_gateway

Displaying 3 results from an estimated 3 matches for "current_gateway".

2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...netmask(dev) + if current_netmask != "": self.ipv4_netdevmask.set(current_netmask) if "OVIRT_IP_GATEWAY" in OVIRT_VARS: self.ipv4_netdevgateway.set(OVIRT_VARS["OVIRT_IP_GATEWAY"]) else: - current_gateway = get_gateway(self.nic_lb.current()) - if current_gateway == "": - current_gateway = get_gateway("br" + self.nic_lb.current()) + current_gateway = get_gateway(dev) if is_valid_ipv4(current_gateway) or is_valid_ipv6(curren...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...else: + if current_ip != "": + self.ipv6_netdevmask.set(current_netmask) + if "OVIRT_IPV6_GATEWAY" in OVIRT_VARS: + self.ipv6_netdevgateway.set(OVIRT_VARS["OVIRT_IPV6_GATEWAY"]) + else: + current_gateway = get_ipv6_gateway(self.nic_lb.current()) + if current_gateway == "": + current_gateway = get_gateway("br" + self.nic_lb.current()) ipv6_grid = Grid (5,4) ipv6_grid.setField(Label("IP Address: "), 0, 1, anchorLeft = 1...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...else: + if current_ip != "": + self.ipv6_netdevmask.set(current_netmask) + if "OVIRT_IPV6_GATEWAY" in OVIRT_VARS: + self.ipv6_netdevgateway.set(OVIRT_VARS["OVIRT_IPV6_GATEWAY"]) + else: + current_gateway = get_ipv6_gateway(self.nic_lb.current()) + if current_gateway == "": + current_gateway = get_gateway("br" + self.nic_lb.current()) ipv6_grid = Grid (5,4) ipv6_grid.setField(Label("IP Address: "), 0, 1, anchorLeft = 1...