'vservername': 'deferred-vservername',
'vserverip': 'deferred-vserverip',
'role' : 'root',
- 'PLC_NAME' : 'Regression TestLab',
- 'PLC_ROOT_USER' : 'root@test.onelab.eu',
- 'PLC_ROOT_PASSWORD' : 'test++',
- 'PLC_SLICE_PREFIX' : 'auto',
- 'PLC_HRN_ROOT': sfa_root(index),
- 'PLC_SHORTNAME' : 'Rlab',
- 'PLC_MAIL_ENABLED':'false',
- 'PLC_MAIL_SUPPORT_ADDRESS' : 'thierry.parmentelat@inria.fr',
- 'PLC_DB_HOST' : 'deferred-myplc-hostname',
-# 'PLC_DB_PASSWORD' : 'mnbvcxzlkjhgfdsapoiuytrewq',
- 'PLC_API_HOST' : 'deferred-myplc-hostname',
- 'PLC_WWW_HOST' : 'deferred-myplc-hostname',
- 'PLC_BOOT_HOST' : 'deferred-myplc-hostname',
- 'PLC_NET_DNS1' : 'deferred-dns-1',
- 'PLC_NET_DNS2' : 'deferred-dns-2',
- 'PLC_RESERVATION_GRANULARITY':1800,
- 'PLC_VSYS_DEFAULTS':' , vif_up, vif_down, fd_tuntap, promisc, ',
+ # these go to plc-config-tty
+ 'settings': {
+ 'PLC_NAME' : 'Regression TestLab',
+ 'PLC_ROOT_USER' : 'root@test.onelab.eu',
+ 'PLC_ROOT_PASSWORD' : 'test++',
+ 'PLC_SLICE_PREFIX' : 'auto',
+ 'PLC_HRN_ROOT': sfa_root(index),
+ 'PLC_SHORTNAME' : 'Rlab',
+ 'PLC_MAIL_ENABLED':'false',
+ 'PLC_MAIL_SUPPORT_ADDRESS' : 'thierry.parmentelat@inria.fr',
+ 'PLC_DB_HOST' : 'deferred-myplc-hostname',
+# 'PLC_DB_PASSWORD' : 'mnbvcxzlkjhgfdsapoiuytrewq',
+ 'PLC_API_HOST' : 'deferred-myplc-hostname',
+ 'PLC_WWW_HOST' : 'deferred-myplc-hostname',
+ 'PLC_BOOT_HOST' : 'deferred-myplc-hostname',
+ 'PLC_NET_DNS1' : 'deferred-dns-1',
+ 'PLC_NET_DNS2' : 'deferred-dns-2',
+ 'PLC_RESERVATION_GRANULARITY':1800,
+ 'PLC_VSYS_DEFAULTS':' , vif_up, vif_down, fd_tuntap, promisc, ',
+ 'PLC_OMF_ENABLED' : 'true',
+ 'PLC_OMF_XMPP_SERVER': 'deferred-myplc-hostname',
+ },
'expected_vsys_tags': [ 'vif_up', 'vif_down', 'fd_tuntap', 'promisc', ],
# minimal config so the omf plugins actually trigger
- 'PLC_OMF_ENABLED' : 'true',
- 'PLC_OMF_XMPP_SERVER': 'deferred-myplc-hostname',
'sites' : sites(options,index),
'keys' : keys(options,index),
'initscripts': initscripts(options,index),
'ssh_node_debug_timers': (10,8),
}
-# 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
# stack config_sfamesh to point to SMs instead
'neighbours-port':12346,
## global sfa-config-tty stuff
- 'SFA_REGISTRY_ROOT_AUTH' : sfa_root(index),
- 'SFA_INTERFACE_HRN' : sfa_root(index),
- 'SFA_REGISTRY_HOST' : 'deferred-myplc-hostname',
- 'SFA_AGGREGATE_HOST': 'deferred-myplc-hostname',
- 'SFA_SM_HOST': 'deferred-myplc-hostname',
- 'SFA_PLC_URL' : 'deferred-myplc-api-url',
- 'SFA_PLC_USER' : 'root@test.onelab.eu',
- 'SFA_PLC_PASSWORD' : 'test++',
+ 'settings': {
+ 'SFA_REGISTRY_ROOT_AUTH' : sfa_root(index),
+ 'SFA_INTERFACE_HRN' : sfa_root(index),
+ 'SFA_REGISTRY_HOST' : 'deferred-myplc-hostname',
+ 'SFA_AGGREGATE_HOST': 'deferred-myplc-hostname',
+ 'SFA_SM_HOST': 'deferred-myplc-hostname',
+ 'SFA_PLC_URL' : 'deferred-myplc-api-url',
+ 'SFA_PLC_USER' : 'root@test.onelab.eu',
+ 'SFA_PLC_PASSWORD' : 'test++',
# use -c sfadebug to increment this one
- 'SFA_API_LOGLEVEL': 1,
+ 'SFA_API_LOGLEVEL': 1,
# use -c sfavoid to set this to 'void'
- 'SFA_GENERIC_FLAVOUR' : 'pl',
- 'SFA_AGGREGATE_ENABLED' : 'true',
+ 'SFA_GENERIC_FLAVOUR' : 'pl',
+ 'SFA_AGGREGATE_ENABLED' : 'true',
+ },
# details of the slices to create
'auth_sfa_specs' : [ test_auth_sfa_spec(options,index,rspec_style)
for rspec_style in options.rspec_styles ]