search for: br_config

Displaying 15 results from an estimated 15 matches for "br_config".

2009 Oct 09
1
[PATCH node] validify ipv4/ipv6 static/dhcp choice else loop
.../scripts/ovirt-config-networking @@ -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 -...
2010 Oct 25
0
[PATCH node] add network.py script
...t;/files/etc/sysconfig/network-scripts/ifcfg" + self.NTPCONF_FILE_ROOT="/files/etc/ntp" + self.NTP_CONFIG_FILE="/etc/ntp.conf" + self.NTPSERVERS="" + self.CONFIGURED_NIC= "" + self.IF_CONFIG = "" + self.BR_CONFIG = "" + self.VL_CONFIG = "" + self.VLAN_ID="" + self.VL_ROOT="" + self.VL_FILENAME ="" + self.nic="" + self.bridge="" + self.vlan_id="" + + def configure_interface(self...
2011 Jul 18
0
[PATCH] fix ipv6 switch to disabled
...8 ++++++-- scripts/ovirt-config-setup.py | 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"] == &quo...
2009 Jul 13
1
[PATCH node] Adds vlan support to auto-installations for the node. bz#511056
..._VLAN" ]; then + VLAN_ID=$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_ADDRES...
2011 Aug 03
1
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations
...-- scripts/ovirtfunctions.py | 20 ++++++++++------ 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["O...
2009 Jun 25
1
[PATCH node] Rerunning network config resets all network config. bz#507393
...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" @@ -202,7 +204,7 @@ function configure_dns fi local IF_FILENAME="$WORKDIR/augtool-br${CONFIGURED_NIC}...
2009 May 22
0
[PATCH node] Restricts network configuration to a single NIC.
...;; return;; + esac + fi + + 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...
2011 Aug 03
0
[PATCH] display ipv6 address in networking details page, also fix ipv6 netmask configurations.
...scripts/ovirtfunctions.py | 22 +++++++++++-------- 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["O...
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
...nction configure_interface 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)?" +...
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 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.
2009 Nov 11
1
[PATCH] Static IPv4 addresses entered are validated when they're entered.
...read -ep " Gateway: "; 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.
2011 Jul 20
0
[PATCH] fix ipv4 static/dhcp/disabled networking changes
...ddress.readline().strip("\n") n_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.B...
2011 Aug 11
1
[PATCH] fix augtool calls
...value = line.split() + augtool(oper, key, value) except: - oper, file = line.split() - augtool(oper, line, "") + oper, key = line.split() + augtool(oper, key, "") for line in self.BR_CONFIG: log(line) try: - oper, file, value = line.split() - augtool(oper, file, value) + oper, key, value = line.split() + augtool(oper, key, value) except: try: - oper, f...