scenario_file_format
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
scenario_file_format [2019/11/28 16:22] – [Grammar] mimbert | scenario_file_format [2019/12/03 11:05] – mimbert | ||
---|---|---|---|
Line 12: | Line 12: | ||
====== Grammar ====== | ====== Grammar ====== | ||
- | We're progressively adding new capabilities to the CorteXlab platform. There is now two different syntaxes for the scenario file, the legacy syntax, where commands are run on the nodes, and the new syntax, where docker containers are run on the nodes. Both syntaxes are allowed, even in the same scenario, but only one syntax is allowed per-node. | + | We're progressively adding new capabilities to the CorteXlab platform. There is now two different syntaxes for the scenario file, the legacy syntax, where commands are run on the nodes, and the new syntax, where [[docker|docker]] |
The scenario.yaml file is structured as follows: | The scenario.yaml file is structured as follows: | ||
Line 21: | Line 21: | ||
* which //MUST// contain **//ONLY ONE//** of the following: | * which //MUST// contain **//ONLY ONE//** of the following: | ||
* **(new syntax)** a '' | * **(new syntax)** a '' | ||
- | * '' | + | * '' |
* '' | * '' | ||
* '' | * '' | ||
Line 40: | Line 40: | ||
node3: | node3: | ||
container: | container: | ||
- | - image: m1mbert/ | + | - image: m1mbert/ |
- | - image: m1mbert/ | + | - image: m1mbert/ |
command: / | command: / | ||
node4: | node4: |
scenario_file_format.txt · Last modified: 2023/08/29 15:29 by cmorin