topology.libraries.common

Common helpers communication library implementation.

This library defines some helpers as a communication library.

Functions

  • assert_batch(): Execute a batch of return-less template commands in the enode shell.
topology.libraries.common.assert_batch(enode, commands, replace=None, shell=None)

Execute a batch of return-less template commands in the enode shell.

Parameters:
  • enode
  • commands (str) – Multiline docstring template with the return-less commnads to execute and assert.
  • replace (dict) – Namespace to replace tokens in commands.
  • shell (str) – Shell name to execute the batch.
Type:

topology.platforms.node.BaseNode