aboutsummaryrefslogtreecommitdiffstats
path: root/network-scripts/ifup
Commit message (Collapse)AuthorAgeFilesLines
* network: add option to keep the link downJan Macku2020-12-031-1/+1
| | | | | | | | Some interfaces like Open vSwitch bridges using the userspace datapath, needs the link to be kept down to avoid issues. Add a LINKSTATUS=[down|up] ifcfg parameter to add this functionality. If not specified, the link will default to up as before. Patch provided by Matteo Croce <mcroce@redhat.com>
* network-scripts: Use net_log() instead of loggerJan Macku2020-11-051-3/+1
| | | | Use internal network-scripts function net_log() instead of /usr/bin/logger if possible to make code more consistent and cleaner.
* Add optional 'dev' keywordJan Macku2020-07-241-1/+1
| | | | | | | | Fix the problem when the device name could be interpreted as an iproute2 keyword. For example, for a bridge slave named "a" the iproute2 would treat the name as a prefix of keyword "address" and the network-scripts would fail to set the bridge master. Related: rhbz #1859785
* Use function is_true for testing true conditionsJan Macku2020-03-091-1/+1
|
* Repalace hardcoded tests for yes and no with testing functionsJan Macku2019-09-121-5/+5
| | | Resolve issue: #42
* ifup/ifdown: print DEPRECATION_WARNING_ISSUED waring info after source_configZhiqiang Liu2019-07-251-6/+6
| | | | | | | | | In ifup/ifdown scripts, move deprecation waring info after source_config, so users can config DEPRECATION_WARNING_ISSUED in ifcfg-** file to decide whether show deprecation waring info when calling ifup/ifdown. Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
* network/ifup/ifdown: deprecations warnings redirected to stderrDavid Kaspar [Dee'Kej]2018-08-061-3/+3
|
* network/ifup/ifdown: deprecation warnings for 'network-scripts' addedDavid Kaspar [Dee'Kej]2018-08-021-0/+6
| | | | | In case of 'network' service these warnings are displayed only once, to not spam unnecessarily user's journalctl if they have many NICs.
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-301-0/+164
NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.