aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/network-functions
Commit message (Collapse)AuthorAgeFilesLines
* install_bonding_driver: drop check for existing device (#991335)Lukas Nykryn2013-08-051-1/+0
| | | | | Install_bonding_driver is now doing more that loading kernel driver, so that check is not correct.
* network-functions: to determine state of nscd check socket not lock (#960779)Lukas Nykryn2013-05-221-1/+1
|
* add ipip6 tunneling support (#928232, raorn@raorn.name)Lukas Nykryn2013-03-271-1/+1
|
* Fix greps to correctly handle comments and quotationLukas Nykryn2013-02-261-1/+1
|
* Correctly detect Open vSwitch device typesThomas Graf2013-01-251-0/+3
| | | | | | | | | | | | | ifup-ovs in the openvswitch package uses the types: - OVSBridge - OVSPort - OVSIntPort - OVSBond to configure the various Open vSwitch device types. Automatically detecting these avoids the need to pass in DEVICETYPE=ovs or to name all bridge "ovsN".
* Sets BONDING_OPTS before interface is brougth upLukas Nykryn2013-01-221-1/+33
|
* Revert "Use sysfs rather than iwconfig for wireless check"Bill Nottingham2012-11-121-1/+3
| | | | | This reverts commit af401fb40f6dd5139e8468dfe1bd3dafe40e8e93. upstream removed sysfs wireless. How nice.
* Allow duplicate address dectection to be disabledBenjamin Coddington2012-08-071-0/+7
|
* Handle (improper) quoted HWADDR (#835372)Bill Nottingham2012-06-261-1/+1
|
* check_device_down: Don't bother calling ip to check link state if the device ↵Bill Nottingham2012-05-021-0/+1
| | | | doesn't exist.
* Rename internal tracking variable USE_NM to _use_nm, to more clearly state ↵Bill Nottingham2012-04-301-2/+2
| | | | it's not for configuration use.
* Allow dhclient configuration files for DHCPv6 as well. (#815676)Bill Nottingham2012-04-241-0/+11
|
* Use NetworkManager-compatible lease file names by default.Bill Nottingham2012-03-091-0/+9
|
* Allow non-'-s' options in ETHTOOL_OPTS, and allow multiple option types. ↵Bill Nottingham2011-06-281-1/+15
| | | | (#692410, #693583)
* Ensure DHCP_HOSTNAME is a short hostname, seed it from HOSTNAME if needed. ↵Bill Nottingham2011-05-311-0/+2
| | | | (#697877)
* Override NETMASK from PREFIX where specified (#705367, <mpoole@redhat.com>)Bill Nottingham2011-05-181-0/+5
|
* Fix index handling for expanded configs <jklimes@redhat.com>Bill Nottingham2011-04-121-1/+1
|
* Switch the default logging value to error.Bill Nottingham2011-03-251-2/+2
| | | | It's what's used the most.
* Make net_log()'s output similar to that of the ipv6 logger.Bill Nottingham2011-03-251-1/+16
| | | | This will cause output strings to change, of course, so it's not really appropriate for earlier releases.
* Add a net_log() function. (#507515, #689525)Bill Nottingham2011-03-251-0/+23
|
* Fix check for unmanaged devices so it does the right thing with devices NM ↵Bill Nottingham2011-03-101-1/+1
| | | | | | doesn't know about at all. (#670154) It was returning nonexistent devices, or devies NM knew nothing about (bridges), as being managed.
* Drop some unnecessary command invocations.Ville Skyttä2011-02-281-3/+2
|
* Frob device when calling sysctl, in case of vlans. (#665601, #667211, ↵Bill Nottingham2011-01-041-0/+1
| | | | <ossman@cendio.se>)
* Support multiple IP addreses via IPADDRn, PREFIXn (or NETMASKn) (#633984) ↵Bill Nottingham2010-11-301-10/+26
| | | | | | | | Adapted from <jklimes@redhat.com> In addition to legacy IP aliases, this commit adds a support for configuring mupliple IPs via single ifcfg file. It uses the same syntax and behaviour as NetworkManager.
* Add infiniband mapping (#648524, <monis@voltaire.com>)Bill Nottingham2010-11-011-0/+3
|
* Fix ifdown calling nmcli for NM-managed devices; others are handled by ↵Jiří Klimeš2010-11-011-0/+5
| | | | ifdown-${DEVICETYPE} (#612934).
* Cleanup.Bill Nottingham2010-06-241-2/+2
|
* Handle quoted SUBCHANNELS (#607481)Bill Nottingham2010-06-241-2/+2
|
* Check NM_CONTROLLED before deciding to use NM for a connection. (#599707, ↵Bill Nottingham2010-06-041-1/+1
| | | | probably others.)
* Behave sanely if we're not passed a device at all. (#589521, #592108)Bill Nottingham2010-05-131-0/+2
|
* Get rid of a silly error message for loopback devices.Bill Nottingham2010-05-131-1/+1
|
* Update for new nmcli syntax.initscripts-9.12-1Bill Nottingham2010-05-051-2/+2
|
* Redirect error messages to /dev/null to catch if nmcli is not installed. ↵Bill Nottingham2010-03-051-2/+2
| | | | (#570828, <zing@fastmail.fm>)
* Only use UUID to bring connections up/down; ensure we have a UUID by asking ↵Bill Nottingham2010-03-011-3/+7
| | | | NM for it.
* Quote 'name' when passing to get_config_by_name.Bill Nottingham2010-03-011-1/+1
|
* Fix is_nm_activeBill Nottingham2010-03-011-1/+1
| | | | Some versions of nmcli have trailing whitespace.
* When bringing devices down, disconnect the device, don't down the connection.Bill Nottingham2010-03-011-0/+5
|
* Remove quotes from uuid.Bill Nottingham2010-03-011-1/+1
|
* Use NM if it's running and we have a configuration for the device.Bill Nottingham2010-03-011-0/+4
|
* Add a function that determines the status of NetworkManager; use it.Bill Nottingham2010-03-011-0/+6
|
* Add get_config_by_name, use it.Bill Nottingham2010-03-011-0/+12
|
* Add get_config_by_device, adjust caller.Bill Nottingham2010-03-011-3/+9
|
* Make sure we default to 'ok' if link checking fails.Bill Nottingham2010-02-151-1/+1
|
* Don't use ethtool to check for device w/bonding driver; just check that the ↵Bill Nottingham2010-02-151-1/+1
| | | | | | | passed device exists. If they have a device that already exists but isn't a bond, the later add will fail anyway.
* Don't use ethtool to check link ; operate on the carrier sysfs attribute.Bill Nottingham2010-02-151-20/+1
|
* Fix various device checks to not misidentify devices.Bill Nottingham2010-02-121-14/+4
| | | | | Also, don't use ifconfig for checking link state on alias devices; /sbin/ip does fine with that.
* If HWADDR is set and DEVICE is not, use HWADDR to determine DEVICE. (#545597)Bill Nottingham2010-01-221-6/+7
|
* Eliminate bunch of unnecessary stat calls and command invocations.Ville Skyttä2010-01-121-1/+1
|
* Get rid of uses of deprecated egrep and fgrep.Ville Skyttä2010-01-121-1/+1
|
* Fix some bashisms.Ville Skyttä2010-01-071-4/+4
|