Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use the is_true() and is_false() functions where possible | David Kaspar [Dee'Kej] | 2016-10-12 | 6 | -11/+11 |
| | |||||
* | [3/3] Remove tabs and fix spacing: ifup/ifdown scripts | Phil Dibowitz | 2016-10-12 | 19 | -779/+782 |
| | |||||
* | [2/3] Remove tabs and fix spacing: network-functions | Phil Dibowitz | 2016-10-12 | 1 | -284/+289 |
| | |||||
* | [1/3] Remove tabs and fix spacing: ipv6 scripts | Phil Dibowitz | 2016-10-12 | 4 | -1151/+1149 |
| | | | | | | | | | | | | | | | | | The network-scripts are a mix of tabs and spaces (!!) as well as completely inconsistent indentation (some 2, some 4). This is a series of 3 patches to move the entire of network-scripts to 2-space indentation for consistency so I can develop on the codebase without my brain bleeding. I don't feel strongly about 2 vs 4... 2 was just most common in the first file I picked, so I used that. This set is in 3 sets for easier reviewing and easier reverting if necessary: * 1/3 - ipv6 files * 2/3 - network-functions - it needed it's own * 3/3 - ifup/ifdown files | ||||
* | Allow someone to keep accept_ra on while using static addresses. | Phil Dibowitz | 2016-10-10 | 1 | -1/+3 |
| | | | | | | | It's reasonable (and common) to assign static addresses while still wanting to get your default gw from your router. The assumption that not wanting SLAAC means not wanting RA is flawed, but I don't want to break backwards compatability, so I'm adding an additional option. | ||||
* | Provide a mechanism to prevent network-scripts from messing with sysctls | Phil Dibowitz | 2016-10-10 | 3 | -33/+42 |
| | | | | | | | | | | | network-scripts makes odd assumptions, like if I don't want SLAAC (i.e. if I turn off AUTOCONF) that I also don't want RA. This is not true, it's common to have a static local address, but to get my gateway through RA. This is one solution. I will also be sending a more specific solution to enable the above directly, but having a way to tell network-scripts to not mess with systctls seems generally useful. | ||||
* | ifup-eth: fix setting preferred_lft and valid_lft | Lukas Nykryn | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | ifup: don't call nmcli on any lo device | Lukas Nykryn | 2016-06-16 | 2 | -2/+2 |
| | | | | Resolves: #1336869 | ||||
* | source_config: tell NetworkManger to load ifcfg file even for NM_CONTROLLED=no | Thomas Haller | 2016-06-13 | 1 | -4/+6 |
| | |||||
* | ipv6: wait for all global IPv6 addresses to leave the "tentative" state | Lukas Nykryn | 2016-06-13 | 2 | -0/+23 |
| | |||||
* | ifup: set valid_lft and preferred_lft to forever for static ip | Blake Caldwell | 2016-05-30 | 1 | -0/+3 |
| | |||||
* | ifdown-eth: fix comparison | Lukas Nykryn | 2015-12-25 | 1 | -1/+1 |
| | |||||
* | network-scripts: DEVICE and HWADRR could be quoted by apostrophe | Lukas Nykryn | 2015-10-27 | 3 | -4/+4 |
| | |||||
* | ifup-wireless: fix calling of phy_wireless_device | Lukas Nykryn | 2015-10-16 | 1 | -1/+4 |
| | |||||
* | ifdown: clean ipv4 localhost addresses | Lukas Nykryn | 2015-10-15 | 1 | -7/+7 |
| | |||||
* | ifup-eth: some bridge options are applied later | Lukas Nykryn | 2015-09-16 | 1 | -1/+3 |
| | |||||
* | network-functions: fix wireless detection | Lukas Nykryn | 2015-08-06 | 1 | -1/+1 |
| | |||||
* | ifup-post: should be interpreted in bash | Lukas Nykryn | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | bonding: warn if the ifup for slave device failed | Lukas Nykryn | 2015-05-07 | 1 | -1/+1 |
| | |||||
* | ifup: don't call NM for loopback | Lukas Nykryn | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | ifup: add missing quotes | Lukas Nykryn | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | network-functions: fix change_resolv_conf after grep update | Lukas Nykryn | 2015-04-09 | 1 | -4/+4 |
| | |||||
* | ifup-aliases: don't return with error when arping fails | Lukas Nykryn | 2015-04-05 | 1 | -1/+2 |
| | |||||
* | ifup-aliases: inherit ARPCHECK from parent device | Lukas Nykryn | 2015-02-27 | 1 | -1/+2 |
| | |||||
* | ifdown-eth: use scope host for lo | Leon Kos | 2015-02-04 | 1 | -2/+7 |
| | |||||
* | ifup-ipv6: set accept_ra to 2 when IPV6FORWARDING=yes and IPV6_AUTOCONF=yes | Lukas Nykryn | 2015-01-19 | 1 | -1/+5 |
| | |||||
* | ifup-post: check resolve.conf also with DNS2 | Lukas Nykryn | 2015-01-16 | 1 | -1/+8 |
| | |||||
* | ifup-aliases: do not fail when only ipv6 addr is specified | Lukas Nykryn | 2015-01-15 | 1 | -0/+5 |
| | |||||
* | network-functions: is_available_wait should wait even in the case that ↵ | Lukas Nykryn | 2015-01-12 | 1 | -4/+2 |
| | | | | is_available returns 2 | ||||
* | ifdown-post: remove resolv.conf only in specific cases | Lukas Nykryn | 2015-01-08 | 1 | -1/+2 |
| | |||||
* | network-functions: fix check in install_bonding_driver | Lukas Nykryn | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | ifdown-ipv6: reset addrgenmode to eui64 for device | Lukas Nykryn | 2014-12-16 | 1 | -0/+1 |
| | |||||
* | ifup: fix typo | Lukas Nykryn | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | network-functions: reeplace iwconfig with iw | Valdis Kletnieks | 2014-12-10 | 1 | -2/+2 |
| | |||||
* | improve_check_for_bond_master_in_install_bonding_driver | Ashish Samant | 2014-12-08 | 1 | -2/+14 |
| | | | | | | | | | | | | | | | | | | The current grep check (fgrep -sqx) in install_bonding_driver, to determine whether bond master exists, fails when there are multiple bond masters. The fix assumes that multiple bond masters are on different lines in the file "/sys/class/net/bonding_masters", while they are in fact on the same line. Since fgrep -sqx checks for the entire line,it will never match any one bond master within the line and always fail if there are multiple bonds. This patch improves the check by creating a new function, bond_master_exists() to handle this and other conditions. Orabug: 19897586 Signed-off-by: Ashish Samant <ashish.samant@oracle.com> Signed-off-by: John Haxby <john.haxby@oracle.com> Acked-by: Mukesh Kacker <mukesh.kacker@oracle.com> | ||||
* | adjust LINKDELAY when STP is on | Laine Stump | 2014-11-12 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1162822 When ifup is called on an interface that has BOOTPROTO=dhcp, ifup-eth will call network-functions:check_link_down() to wait for carrier on the interface before starting dhclient. If the interface happens to be a bridge device, carrier will not come on until at least one attached device is in "forwarding" mode. If the bridge has STP enabled, it takes at least $DELAY * 2 + 5 seconds (sometimes slightly longer) for any attached device to go into forwarding mode. However, check_link_down() will only wait for max(${LINKDELAY}, 5) seconds for carrier, and there are *many* existing configs that have STP enabled but no setting for LINKDELAY. Every one of those configs will now fail to ifup the bridge device. The solution implemented in this patch is for ifup-eth to set LINKDELAY to at least ${DELAY} * 2 + 7 when the device is a bridge an STP is enabled. Since check_link_down() returns within .5 sec of carrier coming up, the worst effect this could have would be to take longer to fail in the case of a config where carrier was *never* going to come up. Otherwise, it will not create any more delay than is already present in cases that currently work, and will cause many other configs to become unbroken. | ||||
* | ifup,vlan: fix typo | Lukas Nykryn | 2014-10-24 | 1 | -1/+1 |
| | |||||
* | network_function: return immediately when device is present | Lukas Nykryn | 2014-10-07 | 1 | -1/+4 |
| | | | | | Conflicts: sysconfig/network-scripts/network-functions | ||||
* | add configurable DEVTIMEOUT | Lukas Nykryn | 2014-10-07 | 3 | -2/+19 |
| | |||||
* | network-functions: grep->fgrep in bonding masters matching | Lukas Nykryn | 2014-09-19 | 1 | -1/+1 |
| | |||||
* | network-functions: improve bonding_masters grep | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | | | | kudos to john.haxby@oracle.com | ||||
* | ifup: if we were unable to determine DEVICE always call nmcli up | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | ifup-tunnel: call ifup-ipv6 in the end | Lukas Nykryn | 2014-09-16 | 1 | -0/+3 |
| | |||||
* | ifup: also set multicast_snooping after the bridge is up | Lukas Nykryn | 2014-09-16 | 1 | -1/+1 |
| | |||||
* | network-functions: ETHTOOL_DELAY introduction patch | Lukas Nykryn | 2014-09-09 | 1 | -0/+1 |
| | |||||
* | custom naming for VLAN devices | Lukas Nykryn | 2014-09-09 | 1 | -15/+22 |
| | |||||
* | ifup-wireless: add support for wowlan | Eduardo Minguez | 2014-09-09 | 1 | -0/+5 |
| | | | | | Conflicts: sysconfig/network-scripts/ifup-wireless | ||||
* | ifup-wireless: add support for wowlan (second part) | Eduardo Minguez | 2014-09-09 | 1 | -0/+5 |
| | |||||
* | ifup-aliases: do not bring up ipv6 for range files | Lukas Nykryn | 2014-08-08 | 1 | -0/+1 |
| | |||||
* | ifup-aliases: improve duplicate address detection | Lukas Nykryn | 2014-07-24 | 1 | -6/+8 |
| |