New plugin interface
authorAndy Bavier <acb@cs.princeton.edu>
Fri, 4 Sep 2009 15:41:10 +0000 (15:41 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Fri, 4 Sep 2009 15:41:10 +0000 (15:41 +0000)
NodeManager-topo.spec
topo.py

index f1f2631..f15584f 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:          NodeManager-topo
 Version:       0.5
-Release:       5
+Release:       6
 Summary:       Plugin supporting creating a default virtual topology.
 
 Group:         System Environment/Daemons
diff --git a/topo.py b/topo.py
index 03c2636..be68831 100755 (executable)
--- a/topo.py
+++ b/topo.py
@@ -392,7 +392,7 @@ an 'egre_key' attribute, and a 'topo_rspec' attribute.
 Creating the virtual link depends on the contents of 
 /etc/vservers/<slice>/spaces/net.  Update this first.
 """
-def GetSlivers(data):
+def GetSlivers(data, config = None, plc = None):
     global ifaces, old_ifaces
     ifaces = old_ifaces = sioc.gifconf()