slippinj.cli.scripts package

Submodules

slippinj.cli.scripts.anabasii module

class slippinj.cli.scripts.anabasii.Anabasii(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Upload the compiled code to the cluster

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the component to upload the code to the cluster :param args: Namespace :param injector: Injector

slippinj.cli.scripts.basic_script module

class slippinj.cli.scripts.basic_script.BasicScript(parser)[source]

Bases: object

configure()[source]

Configure the component before running it :rtype: Class instance

get_arguments()[source]

Get the arguments to configure current script, should be implementd in children classes :return: list

get_wf_configuration(args, injector)[source]
run(args, injector)[source]

slippinj.cli.scripts.cooper module

class slippinj.cli.scripts.cooper.Cooper(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Run the workflows once has been uploaded

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the component to run the workflows in the cluster :param args: Namespace :param injector: Injector

slippinj.cli.scripts.hersir module

class slippinj.cli.scripts.hersir.Hersir(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Run all the steps to compile, upload and run a workflow to a running cluster

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the steps in order to compile, upload and run a workflow :param args: Namespace :param injector: Injector

slippinj.cli.scripts.scribe module

class slippinj.cli.scripts.scribe.Scribe(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Generate the documentation and basic configuration to run next Jimmy’s steps based on database structure

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the component to generate documentation and basic configuration files based on source database :param args: Namespace :param injector: Injector

slippinj.cli.scripts.tlacuilo module

class slippinj.cli.scripts.tlacuilo.Tlacuilo(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Compile the XML code for the workflows based on the given templates and configuration files

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the component to compile the XML workflows using the given templates and configuration files :param args: Namespace :param injector: Injector

slippinj.cli.scripts.valet module

class slippinj.cli.scripts.valet.Valet(parser)[source]

Bases: slippinj.cli.scripts.basic_script.BasicScript

Provision the cluster with the needed software

get_arguments()[source]

Get the arguments to configure current script :return: list

run(args, injector)[source]

Run the component to provision the cluster using Ansible :param args: Namespace :param injector: Injector

Module contents