{'name' : 'admin', 'key_names' : [ 'key_admin' ],
'user_fields' : {'first_name' : 'Admin',
'last_name' : 'Admin',
{'name' : 'admin', 'key_names' : [ 'key_admin' ],
'user_fields' : {'first_name' : 'Admin',
'last_name' : 'Admin',
ORxipg3+uy/eYngUAmNmzOnK/9zklEPjNm9Nw3xHnZO+SyQLNI421KkdHOja/GGd
awKBgQCLtk0+RpswH451PWyAJ6F+U4YDVaHR0s6pwp4TJAkDVlFBiRO28jEb5y0N
bI1R7vrRdq07SgI3USLXqDokQ/pXJhC03w2r7W7niAkNaUll3YtJ2DZVSvuQguR9
ORxipg3+uy/eYngUAmNmzOnK/9zklEPjNm9Nw3xHnZO+SyQLNI421KkdHOja/GGd
awKBgQCLtk0+RpswH451PWyAJ6F+U4YDVaHR0s6pwp4TJAkDVlFBiRO28jEb5y0N
bI1R7vrRdq07SgI3USLXqDokQ/pXJhC03w2r7W7niAkNaUll3YtJ2DZVSvuQguR9
initscript_by_code = initscript_by_name.replace("initscript_by_name","initscript_by_code")
# one single initscript in the InitScripts table
initscript_by_code = initscript_by_name.replace("initscript_by_name","initscript_by_code")
# one single initscript in the InitScripts table
return [ { 'initscript_fields' : { 'enabled' : True,
'name' : 'initscript_by_name',
'script' : initscript_by_name,
return [ { 'initscript_fields' : { 'enabled' : True,
'name' : 'initscript_by_name',
'script' : initscript_by_name,
def tcp_specs (options, index):
# only run the test on the first plc
if index != 1: return None
def tcp_specs (options, index):
# only run the test on the first plc
if index != 1: return None
slice1 = '{}_sl1'.format(login_base(1))
slice2 = '{}_sl2'.format(login_base(1))
# with the addition of omf-friendly slices..
slice1 = '{}_sl1'.format(login_base(1))
slice2 = '{}_sl2'.format(login_base(1))
# with the addition of omf-friendly slices..
'index' : index,
'name' : 'plctest{}'.format(index),
# as of yet, not sure we can handle foreign hosts, but this is required though
'index' : index,
'name' : 'plctest{}'.format(index),
# as of yet, not sure we can handle foreign hosts, but this is required though
# the port used to generate the various aggregates.xml
# stack config_sfamesh to point to SMs instead
'neighbours-port':12346,
# the port used to generate the various aggregates.xml
# stack config_sfamesh to point to SMs instead
'neighbours-port':12346,
'SFA_INTERFACE_HRN' : sfa_root(index),
'SFA_REGISTRY_HOST' : 'deferred-myplc-hostname',
'SFA_AGGREGATE_HOST' : 'deferred-myplc-hostname',
'SFA_INTERFACE_HRN' : sfa_root(index),
'SFA_REGISTRY_HOST' : 'deferred-myplc-hostname',
'SFA_AGGREGATE_HOST' : 'deferred-myplc-hostname',
'SFA_PLC_URL' : 'deferred-myplc-api-url',
'SFA_PLC_USER' : 'root@test.onelab.eu',
'SFA_PLC_PASSWORD' : 'test++',
'SFA_PLC_URL' : 'deferred-myplc-api-url',
'SFA_PLC_USER' : 'root@test.onelab.eu',
'SFA_PLC_PASSWORD' : 'test++',
'key_name': 'key_sfauser',
'nodenames': all_nodenames(options, index),
}
'key_name': 'key_sfauser',
'nodenames': all_nodenames(options, index),
}
'login_base' : login_base,
'domain' : domain,
'pi_spec' : pi_spec,
'user_spec' : user_spec,
'slice_spec' : slice_spec,
'login_base' : login_base,
'domain' : domain,
'pi_spec' : pi_spec,
'user_spec' : user_spec,
'slice_spec' : slice_spec,
for i in range(options.size):
result.append(plc(options, i+1))
return result
for i in range(options.size):
result.append(plc(options, i+1))
return result