'SFA_PLC_URL' : 'deferred-myplc-api-url',
'SFA_PLC_USER' : 'root@test.onelab.eu',
'SFA_PLC_PASSWORD' : 'test++',
-# 'SFA_DB_HOST':'deferred-myplc-hostname',
-# 'SFA_DB_USER' : 'pgsqluser',
-# 'SFA_DB_PASSWORD' : 'mnbvcxzlkjhgfdsapoiuytrewq',
-# the default settings come with 'sfa' as the dbname
-# temporary until we get the initscript to create that one
-# 'SFA_DB_NAME' : 'sfa',
- 'SFA_API_DEBUG': True,
+# use -c apiv2 to override this one
+# 'SFA_AGGREGATE_API_VERSION' : 1,
+ 'SFA_API_LOGLEVEL': 1,
# details of the slices to create
'sfa_slice_specs' : [ sfa_slice_spec(options,index,rspec_style)
for rspec_style in options.rspec_styles ]
print 'in sfa_slice_spec','slicename',slicename,'hrn',hrn,'mail',mail
key=public_key
slice_person_xml ='''<record email="%(mail)s" enabled="True" first_name="Fake" hrn="%(person_hrn)s"
-last_name="Sfa" name="%(hrn)s" type="user">
+last_name="Sfa %(rspec_style)s" name="%(hrn)s" type="user">
<keys>%(key)s</keys><role_ids>20</role_ids><role_ids>10</role_ids>
<site_ids>1</site_ids><roles>pi</roles><roles>admin</roles><sites>%(prefix)s</sites></record>'''%locals()