[buildout] parts = switch-softwaretype eggs-directory = ${buildout:eggs-directory} develop-eggs-directory = ${buildout:develop-eggs-directory} offline = true [switch-softwaretype] recipe = slapos.cookbook:switch-softwaretype default = tsn-client-dynamic-template:rendered tsn-server = tsn-server-dynamic-template:rendered RootSoftwareInstance = $${:default} [dynamic-template-base] recipe = slapos.recipe.template:jinja2 rendered = $${buildout:directory}/$${:filename} context = raw chrt ${util-linux:location}/bin/chrt key slapparameter_dict slap-configuration:configuration key ipv4 slap-configuration:ipv4-random [tsn-client-dynamic-template] <= dynamic-template-base extensions = jinja2.ext.do template = ${template-tsn-client:output} filename = instance-tsn-client.cfg [tsn-server-dynamic-template] <= dynamic-template-base template = ${template-tsn-server:output} filename = instance-tsn-server.cfg [slap-configuration] recipe = slapos.cookbook:slapconfiguration computer = $${slap-connection:computer-id} partition = $${slap-connection:partition-id} url = $${slap-connection:server-url} key = $${slap-connection:key-file} cert = $${slap-connection:cert-file}