From 60d4cdcdb52d42911122821a24e8d8d630ddd842 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 1 Apr 2010 11:01:19 +0000 Subject: [PATCH] minor --- Makefile | 4 ++-- PLC/Methods/AddInterface.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4d16d99..034846f 100644 --- 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/ diff --git a/PLC/Methods/AddInterface.py b/PLC/Methods/AddInterface.py index 8c6d4cb..1b97fc3 100644 --- a/PLC/Methods/AddInterface.py +++ b/PLC/Methods/AddInterface.py @@ -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(): -- 2.43.0