rlite

rlite is a lightweight Free and Open Source implementation of the Recursive InterNetwork Architecture (RINA) for GNU/Linux operating systems.

class rumba.prototypes.rlite.Experiment(testbed, nodes=None, git_repo='https://gitlab.com/arcfire/rlite', git_branch='master', enrollment_strategy='minimal')[source]

Bases: rumba.elements.experimentation.Experiment

Represents an rlite experiment.

Initializes the experiment class.

Parameters:
  • testbed – The testbed to run the experiment on.
  • nodes – The list of nodes.
  • git_repo – The git repository to use for installation.
  • git_branch – The branch of the git repository to use.
  • enrollment_strategy – Can be ‘full-mesh’, ‘minimal’ or ‘manual’.
add_node(node)[source]

Adds a node to the experiment.

Parameters:node – A node.
bootstrap_prototype()[source]

Bootstraps the prototype on the nodes.

del_node(node)[source]

Deletes a node from the experiment.

Parameters:node – A node.
export_connectivity_graph(filename)[source]

Generate a PDF of the physical connectivity graph.

Parameters:filename – The output PDF filename.
export_dif_graph(filename, dif)[source]

Generate a PDF of a DIF graph.

Parameters:
  • filename – The output PDF filename.
  • dif – The DIF to export.
install_prototype()[source]

Installs the prototype on the nodes.

reboot_nodes()[source]

Reboot all nodes in the experiment.

swap_in()[source]

Swap the experiment in on the testbed.

swap_out()[source]

Swap the experiment out of the testbed.

terminate_prototype(force=False)[source]

Terminate the prototype in the experiment.

to_dms_yaml(filename)[source]

Generate a YAML file of the experiment which can be fed to the ARCFIRE DMS.

Parameters:filename – The output YAML filename.