'leases' : leases (options, index),
}
+# NOTE: SFA currently has SFA_AGGREGATE_API_VERSION=2 baked into the code
def sfa (options,index) :
return {
# the default is to use AMs in the various aggregates.xml
'SFA_PLC_URL' : 'deferred-myplc-api-url',
'SFA_PLC_USER' : 'root@test.onelab.eu',
'SFA_PLC_PASSWORD' : 'test++',
-# use -c apiv2 to override this one
-# 'SFA_AGGREGATE_API_VERSION' : 1,
+# use -c sfadebug to increment this one
'SFA_API_LOGLEVEL': 1,
# details of the slices to create
'sfa_slice_specs' : [ sfa_slice_spec(options,index,rspec_style)
--- /dev/null
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2012 INRIA
+#
+# increment SFA_API_LOGLEVEL on all incoming plc_spec's
+
+def config (plc_specs, options):
+ def tweak_loglevel (plc_spec):
+ plc_spec['sfa']['SFA_API_LOGLEVEL'] += 1
+ return plc_spec
+ return [tweak_loglevel (plc_spec) for plc_spec in plc_specs ]
+
+