You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the SP only supports running multiple instances of a single given client version.
Problem
We want to run scenarios with heterogeneous clients (e.g. PC <-> LC, multiple different versions of PC / LC etc.)
This issue is specifically about the ability of the SP to run multiple different clients in one scenario.
The orchestration of those runs will be handled in a separate issue.
Implementation plan
Two new cli options will be added that will allow to define versions and their corresponding executables.
The reason these are to be implemented as CLI options is that the available versions should be orthogonal to the other available settings (scenario definition, env file).
--client-version
Allows to pass a type/version tag and path (separated by space). The option can be given multiple times.
--client-versions-file
Allows to pass a path to a JSON file mapping type/version tags to executable paths. Takes precedence over any present --client-version options.
Example file:
The intention is that this file will be generated by an external tool but this is outside the scope of this issue.
A new versions section is added below settings.nodes in the scenario definition.
This will allow to override the client to use per-node.
The format is a mapping of node-index to type/version tag (as specified with the CLI options).
As usual template replacements can be used.
Example:
The settings.nodes.raiden_version setting is changed to also expect a type/version tag and will be used as the default for any node which has no specific setting in `settings.nodes.versions.
To account for those changes the scenario version is changed to 3.
The text was updated successfully, but these errors were encountered:
Analysis
Current State
Currently the SP only supports running multiple instances of a single given client version.
Problem
We want to run scenarios with heterogeneous clients (e.g. PC <-> LC, multiple different versions of PC / LC etc.)
This issue is specifically about the ability of the SP to run multiple different clients in one scenario.
The orchestration of those runs will be handled in a separate issue.
Implementation plan
The reason these are to be implemented as CLI options is that the available versions should be orthogonal to the other available settings (scenario definition, env file).
--client-version
Allows to pass a type/version tag and path (separated by space). The option can be given multiple times.
--client-version light-1.0.0 /path/to/lc/1.0.0/raiden
--client-version light-1.0.0 /path/to/lc/1.0.0/raiden --client-version py-2.0.0 /path/to/python/raiden-v2.0.0-linux
--client-versions-file
Allows to pass a path to a JSON file mapping type/version tags to executable paths. Takes precedence over any present
--client-version
options.Example file:
versions
section is added belowsettings.nodes
in the scenario definition.This will allow to override the client to use per-node.
The format is a mapping of node-index to type/version tag (as specified with the CLI options).
As usual template replacements can be used.
Example:
settings.nodes.raiden_version
setting is changed to also expect a type/version tag and will be used as the default for any node which has no specific setting in `settings.nodes.versions.3
.The text was updated successfully, but these errors were encountered: