ifcfg-rh: allow handling complex routing rules via dispatcher (rh #1160013)
authorDan Winship <danw@redhat.com>
Wed, 17 Dec 2014 13:50:05 +0000 (08:50 -0500)
committerDan Winship <danw@redhat.com>
Mon, 12 Jan 2015 14:53:24 +0000 (09:53 -0500)
commitf79d62692ec4fe5ba21bbeab26286b2a3b250fdd
tree7b8b40f65f576ec3c61b2cc5fa05aa2eec3c54fc
parent5a229741cc1e5c19341628445af80915155cd18e
ifcfg-rh: allow handling complex routing rules via dispatcher (rh #1160013)

If a connection has an associated "rule-NAME" or "rule6-NAME" file,
don't try to read in the routes, since NetworkManager won't be able to
parse them correctly. Instead, log a warning that they will need to be
applied via a dispatcher script, and provide a script that would do
that in examples/dispatcher/.
contrib/fedora/rpm/NetworkManager.spec
examples/dispatcher/10-ifcfg-rh-routes.sh [new file with mode: 0755]
examples/dispatcher/Makefile.am
src/settings/plugins/ifcfg-rh/common.h
src/settings/plugins/ifcfg-rh/nm-ifcfg-connection.c
src/settings/plugins/ifcfg-rh/reader.c
src/settings/plugins/ifcfg-rh/utils.c
src/settings/plugins/ifcfg-rh/utils.h
src/settings/plugins/ifcfg-rh/writer.c