minor
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 1 Apr 2010 11:01:19 +0000 (11:01 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 1 Apr 2010 11:01:19 +0000 (11:01 +0000)
Makefile
PLC/Methods/AddInterface.py

index 4d16d99..034846f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ tags:
 # (*) if your plc root context has direct ssh access:
 # make sync PLC=private.one-lab.org
 # (*) otherwise, entering through the root context
-# make sync PLCHOST=testbox1.inria.fr GUEST=vplc03.inria.fr
+# make sync PLCHOST=testplc.onelab.eu GUEST=vplc03.inria.fr
 
 PLCHOST ?= testplc.onelab.eu
 
@@ -118,7 +118,7 @@ sync:
 ifeq (,$(SSHURL))
        @echo "sync: You must define, either PLC, or PLCHOST & GUEST, on the command line"
        @echo "  e.g. make sync PLC=boot.planetlab.eu"
-       @echo "  or   make sync PLCHOST=testbox1.inria.fr GUEST=vplc03.inria.fr"
+       @echo "  or   make sync PLCHOST=testplc.onelab.eu GUEST=vplc03.inria.fr"
        @exit 1
 else
        +$(RSYNC) plcsh PLC planetlab5.sql migrations $(SSHURL)/usr/share/plc_api/
index 8c6d4cb..1b97fc3 100644 (file)
@@ -80,8 +80,8 @@ class AddInterface(Method):
         interface.sync()
        
        # Logging variables
-       self.object_objects = { 'Node': [node['node_id']], 
-                                'Interface' : [interface['interface_id']] }
+       self.event_objects = { 'Node': [node['node_id']], 
+                               'Interface' : [interface['interface_id']] }
        self.message = "Interface %d added" % interface['interface_id']
 
         for (tagname,value) in tags.iteritems():