Displaying 15 results from an estimated 15 matches for "br_root".
2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
...@@ -160,56 +160,66 @@ function configure_interface
return;;
esac
- read -ep "Enable IPv4 support ([S]tatic IP, [D]HCP, [N]o or [A]bort)? "
- case $REPLY in
- D|d)
- BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp"
- ;;
- S|s)
- printf "\n"
- read -ep "IP Address: "; IPADDR=$REPLY
- read -ep " Netmask: "; NETMASK=$REPLY
- read -ep " Gateway:...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...15 +++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index fd78877..8159283 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -78,7 +78,6 @@ class Network:
self.BR_CONFIG += "set %s/TYPE Bridge\n" % BR_ROOT
self.BR_CONFIG += "set %s/PEERNTP yes\n" % BR_ROOT
self.BR_CONFIG += "set %s/DELAY 0\n" % BR_ROOT
-
if OVIRT_VARS.has_key("OVIRT_IPV6"):
if OVIRT_VARS["OVIRT_IPV6"] == "auto":
self.BR_CONFIG...
2010 Oct 25
0
[PATCH node] add network.py script
...quot;/augtool-" + BRIDGE
+ log("\nConfigure $BRIDGE for use by $NIC..\n\n")
+ IF_ROOT = "%s-%s" % (self.IFCONFIG_FILE_ROOT, self.CONFIGURED_NIC)
+ self.IF_CONFIG += "rm %s\nset %s/DEVICE %s\n" % (IF_ROOT, IF_ROOT, self.CONFIGURED_NIC)
+ BR_ROOT = "%s-%s" % (self.IFCONFIG_FILE_ROOT, BRIDGE)
+ self.BR_CONFIG += "rm %s\nset %s/DEVICE %s\n" % (BR_ROOT, BR_ROOT, BRIDGE)
+ self.BR_CONFIG += "set %s/TYPE Bridge\n" % BR_ROOT
+ self.BR_CONFIG += "set %s/PEERNTP yes\n" % BR_ROOT
+
+...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...+++------
3 files changed, 54 insertions(+), 17 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index ccc4bd8..f51ee7c 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -85,9 +85,10 @@ class Network:
self.BR_CONFIG += "set %s/DHCPV6C yes\n" % BR_ROOT
elif OVIRT_VARS["OVIRT_IPV6"] == "static":
self.BR_CONFIG += "set %s/IPV6INIT yes\n" % BR_ROOT
- self.BR_CONFIG += "set %s/IPV6ADDR %s\n" % (BR_ROOT, OVIRT_VARS["OVIRT_IPV6_ADDRESS"])
+ sel...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...,10 @@ function configure_interface
printf "\nConfigure $BRIDGE for use by $NIC..\n\n"
- local IF_ROOT="$CONFIG_FILE_ROOT-$NIC"
+ local IF_ROOT="$IFCONFIG_FILE_ROOT-$NIC"
local IF_CONFIG="rm $IF_ROOT\nset $IF_ROOT/DEVICE $NIC"
- local BR_ROOT="$CONFIG_FILE_ROOT-$BRIDGE"
+ local BR_ROOT="$IFCONFIG_FILE_ROOT-$BRIDGE"
local BR_CONFIG="rm $BR_ROOT\nset $BR_ROOT/DEVICE $BRIDGE"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/TYPE Bridge"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/PEERNTP yes"...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...+--------
3 files changed, 53 insertions(+), 18 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index ccc4bd8..f51ee7c 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -85,9 +85,10 @@ class Network:
self.BR_CONFIG += "set %s/DHCPV6C yes\n" % BR_ROOT
elif OVIRT_VARS["OVIRT_IPV6"] == "static":
self.BR_CONFIG += "set %s/IPV6INIT yes\n" % BR_ROOT
- self.BR_CONFIG += "set %s/IPV6ADDR %s\n" % (BR_ROOT, OVIRT_VARS["OVIRT_IPV6_ADDRESS"])
+ sel...
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
...=$OVIRT_VLAN
+ setup_vlan $NIC $BRIDGE $VLAN_ID VL_ROOT VL_CONFIG $IF_ROOT VL_FILENAME $IF_FILENAME
+ fi
+
if [ -z "$OVIRT_IP_ADDRESS" ]; then
- IF_CONFIG="${IF_CONFIG}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}"
- BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp"
+ if [ -z "$VL_CONFIG" ]; then
+ IF_CONFIG="${IF_CONFIG}\nset ${IF_ROOT}/BRIDGE ${BRIDGE}"
+ fi
+ BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO dhcp"
else
if [ "$OVIRT_IP_ADDRESS" != "off" ]; t...
2009 Jul 07
1
Obsoletes previous patch
This patch obsoletes the previously submitted patch. It adds a
warning message to the user when they select to change the NTP settings.
2011 Aug 11
1
[PATCH] fix augtool calls
parse input augtool strings to oper,key,value
---
scripts/network.py | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/scripts/network.py b/scripts/network.py
index f51ee7c..65b551c 100644
--- a/scripts/network.py
+++ b/scripts/network.py
@@ -165,11 +165,11 @@ class Network:
ntpconf = ntpconf.split("\n")
for line
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...+
+ rm -rf $WORKDIR/*
+ CONFIGURED_NIC=$NIC
+
local BRIDGE=br$NIC
local IF_FILENAME="$WORKDIR/augtool-$NIC"
local BR_FILENAME="$WORKDIR/augtool-$BRIDGE"
@@ -69,7 +81,7 @@ function configure_interface
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/GATEWAY $GATEWAY"
fi
;;
- A|a) return ;;
+ A|a) CONFIGURED_NIC=""; return ;;
esac
printf "\n"
@@ -91,7 +103,7 @@ function configure_interface
BR_CONFIG=&...
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...address.close()
@@ -112,10 +106,14 @@ class Network:
if not OVIRT_VARS.has_key("OVIRT_IP_ADDRESS"):
- if not self.VL_CONFIG:
- self.IF_CONFIG += "set %s/BRIDGE %s\n" % (IF_ROOT, BRIDGE)
- self.BR_CONFIG += "set %s/BOOTPROTO dhcp\n" % BR_ROOT
- else:
+ if OVIRT_VARS.has_key("OVIRT_BOOTIF") and self.disabled_nic == 0:
+ if not self.VL_CONFIG:
+ self.IF_CONFIG += "set %s/BRIDGE %s\n" % (IF_ROOT, BRIDGE)
+ self.BR_CONFIG += "set %s/BOOTPROTO dhcp\n" %...
2009 Nov 11
1
[PATCH] Static IPv4 addresses entered are validated when they're entered.
...ateway: "; GATEWAY=$REPLY
+ input_ipv4_address IPADDR "IP Address"
+ input_ipv4_address NETMASK " Netmask"
+ input_ipv4_address GATEWAY " Gateway"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/BOOTPROTO none"
BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/IPADDR $IPADDR"
--
1.6.2.5
2009 Dec 07
1
Rebased...
This version of the patch was rebased to go on top of recent changes committed
to ovirt-config-networking on next.
2009 May 27
4
[PATCH node] REPOST Joey's and Darryl's ovirt-config-* patches
This is a repost of patches for ovirt-config-*
ACK to all. Pushed.
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...esac
printf "\n"
- read -ep "Is this correct (Y/N/A)? "
- case $REPLY in
- Y|y)
- IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes"
- BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/ONBOOT yes"
-
- printf "$IF_CONFIG\n" > $IF_FILENAME
- printf "$BR_CONFIG\n" > $BR_FILENAME
- break
+ ask_yes_or_no "Is this correct (y/n/a)?"
+ case $? in
+...