scenario_file_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
scenario_file_format [2017/09/01 10:37] – [Syntax] mimbert | scenario_file_format [2017/10/20 11:21] – [Grammar] mimbert | ||
---|---|---|---|
Line 13: | Line 13: | ||
The scenario.yaml file is structured as follows: | The scenario.yaml file is structured as follows: | ||
- | * It MUST contain a // | + | * It //MUST// contain a // |
- | * It MUST contain a // | + | * It //MUST// contain a // |
- | * It MUST contain a //nodes// key, whose value is a mapping (aka hash, or dictionnary): | + | * It //MUST// contain a //nodes// key, whose value is a mapping (aka hash, or dictionnary): |
* Nodes key, value pairs, whose keys are the node names (in the set //node1// to //node40//, and whose values are mappings: | * Nodes key, value pairs, whose keys are the node names (in the set //node1// to //node40//, and whose values are mappings: | ||
- | * which MUST contain a //command// key, value pair, whose value is the command line string which will be run on the corresponding node: '' | + | * which //MUST// contain a //command// key, value pair, whose value is the command line string which will be run on the corresponding node: '' |
- | * which MAY contain a //passive// key, value pair, whose value is a boolean (default is '' | + | nodes: |
+ | node1: | ||
+ | command: | ||
+ | - sleep 10000 | ||
+ | - ./ | ||
+ | </ | ||
+ | * which //MAY// contain a //passive// key, value pair, whose value is a boolean (default is '' | ||
Thus, an example scenario could be: | Thus, an example scenario could be: |
scenario_file_format.txt · Last modified: 2023/08/29 15:29 by cmorin