My Plugins for the Cuttlefish tool (https://launchpad.net/~noneed4anick/+archive/cuttlefish).
Cuttlefish action to activate or deactivate any network connection know to the NetworkManager.
Cuttlefish stimulus triggered when connecting to a specific (wired) LAN. The LAN is identified by the MAC address of the DHCP server of this network.
Cuttlefish stimulus triggered when specified D-Bus signal is received. D-Bus path, interface and signal name can be configured as parameters.