Check for the existence of the Internet2 clique iptables rule and add if absent.
[nodemanager.git] / nm.py
diff --git a/nm.py b/nm.py
index 8e30be8..bb0a2ab 100755 (executable)
--- a/nm.py
+++ b/nm.py
@@ -1,4 +1,13 @@
 #!/usr/bin/python
+
+#
+# Useful information can be found at https://svn.planet-lab.org/wiki/NodeManager
+#
+
+# Faiyaz Ahmed <faiyaza at cs dot princeton dot edu>
+# Copyright (C) 2008 The Trustees of Princeton University
+
+
 """Node Manager"""
 
 import optparse
@@ -36,7 +45,10 @@ parser.add_option('-m', '--module', action='store', dest='module', default='', h
 modules = []
 
 def GetSlivers(plc):
-    try: data = plc.GetSlivers()
+    '''Run call backs defined in modules'''
+    try: 
+        logger.log("Syncing w/ PLC")
+        data = plc.GetSlivers()
     except: 
         logger.log_exc()
         #  XXX So some modules can at least boostrap.