X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Fconfig_default.py;h=288b613044e347eec37b1e95f47686c1949066f8;hb=a16c0c800dd04f4e4c54a0cbf983018d20bfed6d;hp=404f44a75dfdb4088c532177d7a2e18acb1bd254;hpb=70f40d3c2cc21794dad29c247004788bc62fd9cb;p=tests.git diff --git a/system/config_default.py b/system/config_default.py index 404f44a..288b613 100644 --- a/system/config_default.py +++ b/system/config_default.py @@ -333,6 +333,7 @@ def plc (options,index) : '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 @@ -347,8 +348,7 @@ def sfa (options,index) : '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) @@ -365,6 +365,8 @@ def sfa_slice_spec (options,index,rspec_style): hrn=prefix+'.'+slicename user_hrn=prefix+'.'+regularuser pi_hrn=prefix+'.'+piuser + key=public_key2 + mail="%s@%s"%(regularuser,domain) person_record_xml =\ ''' @@ -377,9 +379,6 @@ first_name="Fake" last_name="Sfa style=%(rspec_style)s" > %s '''%(hrn, user_hrn) - mail="%s@%s"%(regularuser,domain) - print 'in sfa_slice_spec','slicename',slicename,'hrn',hrn,'mail',mail - key=public_key2 return { 'slice_fields': {'name':'%s_%s'%(the_login_base,slicename), 'url':'http://foo%d@foo.com'%index,