This commit was manufactured by cvs2svn to create branch
[plcapi.git] / PLC / Methods / UpdateNodeGroup.py
index f655c67..5d31026 100644 (file)
@@ -38,5 +38,9 @@ class UpdateNodeGroup(Method):
        
        nodegroup.update(nodegroup_fields)
         nodegroup.sync()
-
+       
+       # Logging variables
+       self.object_ids = [nodegroup['nodegroup_id']]
+       self.message = 'Node group %d updated: %s' % \
+               (nodegroup['nodegroup_id'], ", ".join(nodegroup_fields.keys()))  
         return 1