NetworkManager/callouts
Dan Williams f898dbf1a9 dispatcher: enhance dispatcher script environment (bgo #648382)
For VPN connections, the interface name would be that of the VPN's
IP interface, but the script environment would be the that of the
VPN's parent device.  Enhance the environment by adding any VPN
specific details as additional environment variables prefixed by
"VPN_".  Leave the existing environment setup intact for backwards
compatiblity.

Additionally, the dispatcher never got updated for IPv6 support,
so push IPv6 configuration and DHCPv6 configuration into the
environment too.

Even better, push everything the dispatcher needs to it instead
of making the dispatcher make D-Bus requests back to NM, which
sometimes fails if NM has already torn down the device or the
connection which the device was using.

And add some testcases to ensure that we don't break backwards compat,
the testcases here were grabbed from a 0.8.4 machine with a hacked up
dispatcher to dump everything it was given from NM.
2011-05-02 22:54:28 -05:00
..
tests dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
77-nm-olpc-mesh.rules olpc: add mesh device logic and config setting 2009-08-05 16:34:02 -04:00
Makefile.am dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
nm-avahi-autoipd-action.c core: use _GNU_SOURCE consistently 2009-04-21 18:29:25 -04:00
nm-avahi-autoipd.conf dbus: final dbus policy fixes (bgo #563730) 2009-02-17 10:43:53 -05:00
nm-dhcp-client-action.c core: use _GNU_SOURCE consistently 2009-04-21 18:29:25 -04:00
nm-dhcp-client.conf dbus: final dbus policy fixes (bgo #563730) 2009-02-17 10:43:53 -05:00
nm-dispatcher-action.c dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
nm-dispatcher-action.h DBus: merge NetworkManger{,SystemSettings} 2010-08-07 01:19:46 -04:00
nm-dispatcher-utils.c dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
nm-dispatcher-utils.h dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
nm-dispatcher.conf dbus: final dbus policy fixes (bgo #563730) 2009-02-17 10:43:53 -05:00
nm-dispatcher.xml dispatcher: enhance dispatcher script environment (bgo #648382) 2011-05-02 22:54:28 -05:00
org.freedesktop.nm_dispatcher.service.in 2008-05-01 Dan Williams <dcbw@redhat.com> 2008-05-01 10:11:14 +00:00