if verbose:
print "Getting current slices on this node"
# get a list of slices on this node
- from sfa.plc.plcdriver import PlcComponentApi
- api = PlcComponentApi()
+ # make sure you run with SFA_GENERIC_FLAVOUR=plcm
+ from sfa.generic import Generic
+ generic=Generic.the_flavour()
+ api = generic.make_api(interface='component')
xids_tuple = api.driver.nodemanager.GetXIDs()
slices = eval(xids_tuple[1])
slicenames = slices.keys()