[Commotion-admin] [nm-dispatcher-olsrd] November issues (#4)

technosopher notifications at github.com
Thu Dec 12 04:33:44 UTC 2013


Fixes #2, and adds a minor feature that creates a log entry to indicate that Network Manager was unable to parse a .profile file.  To test:
1.  have a test machine connected to a network via an ethernet cable, and then connect to a mesh.  Make sure olsrd is running, and then unplug the ethernet cable.  olsrd should still be running after the ethernet cable is unplugged.  
2..  Modify a .profile file such that all of the keys are correct, but one of the values contains some illegal syntax.  For example, give the BSSID an extra octet, or one too few.  Then do something to cause Network Manager to run the dispatcher (ie, bring an interface up or down) - and do this twice.  Now look in the syslog for a line that contains: "'Network Manager refused to accept the PRIOR version of..." 
You can merge this Pull Request by running:

  git pull https://github.com/opentechinstitute/nm-dispatcher-olsrd november

Or you can view, comment on it, or merge it online at:

  https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4

-- Commit Summary --

  * Addresses issue #2 by checking specified interface for IBSS status before running either up or down routines
  * Update system-connection file for a profile if it is empty (which indicates that network-manager couldn't parse the last version)
  * Added logging message to indicate that Network Manager found an error in the last parse of .profile file

-- File Changes --

    M nm-dispatcher-olsrd (29)

-- Patch Links --

https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.patch
https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20131211/4ae6f1ed/attachment.html>


More information about the Commotion-admin mailing list