Displaying 5 results from an estimated 5 matches for "nic_lb".
Did you mean:
nic_1
2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...if not dev_type == "bridge":
+ self.nic_dict[dev_interface] = "%s,%s,%s,%s,%s,%s,%s" % (dev_interface,dev_bootproto,dev_vendor,dev_address, dev_driver, dev_conf_status,dev_bridge)
if len(self.nic_dict) > 5:
self.nic_lb = Listbox(height = 5, width = 56, returnExit = 1, scroll = 1)
else:
self.nic_lb = Listbox(height = 5, width = 56, returnExit = 1, scroll = 0)
for key in sorted(self.nic_dict.iterkeys()):
- dev_interface,dev_bootproto,dev_vendor,dev_address,dev_drive...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...evgateway.setCallback(self.ipv6_gateway_callback)
+ if "OVIRT_IPV6_ADDRESS" in OVIRT_VARS:
+ self.ipv6_netdevip.set(OVIRT_VARS["OVIRT_IPV6_ADDRESS"])
+ else:
+ try:
+ current_ip, current_netmask = get_ipv6_address(self.nic_lb.current())
+ except:
+ current_ip = ""
+ current_netmask = ""
+ if current_ip == "":
+ try:
+ current_ip, current_netmask = get_ipv6_address("br" + self.nic_lb.c...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...evgateway.setCallback(self.ipv6_gateway_callback)
+ if "OVIRT_IPV6_ADDRESS" in OVIRT_VARS:
+ self.ipv6_netdevip.set(OVIRT_VARS["OVIRT_IPV6_ADDRESS"])
+ else:
+ try:
+ current_ip, current_netmask = get_ipv6_address(self.nic_lb.current())
+ except:
+ current_ip = ""
+ current_netmask = ""
+ if current_ip == "":
+ try:
+ current_ip, current_netmask = get_ipv6_address("br" + self.nic_lb.c...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...NodeConfigScreen():
def process_nic_config(self):
augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_BOOTIF", "")
- augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_BOOTIF", '"' + self.nic_lb.current() + '"')
+ if self.disabled_ipv4_nic_proto.value() == 1:
+ augtool("set", "/files/" + OVIRT_DEFAULTS + "/OVIRT_BOOTIF", '"' + self.nic_lb.current() + '-DISABLED"')
+ else:
+ augt...
2011 Aug 10
0
[PATCH] remove network page loop when selecting other pages
...f.__current_page = NETWORK_PAGE
- elif is_managed(OVIRT_VARS["OVIRT_BOOTPARAMS"]):
+ elif is_managed():
dev_interface,dev_bootproto,dev_vendor,dev_address,dev_driver,dev_conf_status = self.nic_dict[self.nic_lb.current()].split(",", 5)
if self.configured_nics >= 1 and dev_conf_status != "Configured" :
ButtonChoiceWindow(self.screen, "Network", "Hypervisor is already managed, unable to configure addi...