From: Andy Bavier Date: Fri, 4 Sep 2009 15:41:10 +0000 (+0000) Subject: New plugin interface X-Git-Url: http://git.onelab.eu/?p=nodemanager-topo.git;a=commitdiff_plain;h=ceb5f699fdccf1c56d571a64e16ae9ac606fc2bb New plugin interface --- diff --git a/NodeManager-topo.spec b/NodeManager-topo.spec index f1f2631..f15584f 100644 --- a/NodeManager-topo.spec +++ b/NodeManager-topo.spec @@ -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 --- 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//spaces/net. Update this first. """ -def GetSlivers(data): +def GetSlivers(data, config = None, plc = None): global ifaces, old_ifaces ifaces = old_ifaces = sioc.gifconf()