search for: ovirt_ip_netmask

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

2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...@@ class Network: def configure_interface(self): log("Configuring Interface") + self.disabled_nic = 0 if OVIRT_VARS.has_key("OVIRT_IP_ADDRESS"): IPADDR = OVIRT_VARS["OVIRT_IP_ADDRESS"] NETMASK = OVIRT_VARS["OVIRT_IP_NETMASK"] GATEWAY = OVIRT_VARS["OVIRT_IP_GATEWAY"] - if OVIRT_VARS.has_key("OVIRT_BOOTIF"): - self.CONFIGURED_NIC = OVIRT_VARS["OVIRT_BOOTIF"] - if not self.CONFIGURED_NIC is None: - log("\nDeleting existing network...
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...G}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}" + if [ -z "$VL_CONFIG" ]; then + IF_CONFIG="${IF_CONFIG}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}" + fi BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/IPADDR $OVIRT_IP_ADDRESS" if [ -n "$OVIRT_IP_NETMASK" ]; then BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/NETMASK $OVIRT_IP_NETMASK" @@ -254,9 +286,15 @@ function configure_interface IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes" BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/ONBOOT yes" + if...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...onfig-setup.py +++ b/scripts/ovirt-config-setup.py @@ -1144,6 +1144,11 @@ class NodeConfigScreen(): augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_ADDRESS", "") augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_NETMASK", "") augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IP_GATEWAY", "") + augtool("rm", "/files/" + OVIRT_DEFAULTS + "/OVIRT_IPV6" ,"") + augtool("rm", "/file...
2010 Oct 25
0
[PATCH node] add network.py script
...="" + self.vlan_id="" + + def configure_interface(self): + log("Configuring Interface") + if OVIRT_VARS.has_key("OVIRT_IP_ADDRESS"): + IPADDR = OVIRT_VARS["OVIRT_IP_ADDRESS"] + NETMASK = OVIRT_VARS["OVIRT_IP_NETMASK"] + GATEWAY = OVIRT_VARS["OVIRT_IP_GATEWAY"] + PREFIX = OVIRT_VARS["OVIRT_IP_PREFIX"] + + if OVIRT_VARS.has_key("OVIRT_BOOTIF"): + self.CONFIGURED_NIC = OVIRT_VARS["OVIRT_BOOTIF"] + if not self.CONFIGURED_NI...
2011 Aug 11
0
[PATCH] map nics-> bridges correctly in network pages, when cancelling nic configuration return to network page
...if current_ip == "": - current_ip = get_ip_address("br" + self.nic_lb.current()) + current_ip = get_ip_address(dev) if current_ip != "": self.ipv4_netdevip.set(current_ip) if "OVIRT_IP_NETMASK" in OVIRT_VARS: self.ipv4_netdevmask.set(OVIRT_VARS["OVIRT_IP_NETMASK"]) else: - current_netmask = get_netmask(self.nic_lb.current()) - if current_netmask == "": - current_netmask = get_netmask("br&qu...