Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.1.0-Ducc
-
None
Description
Currently start-sim generates names for the pseudo nodes by incremeting a single counter. This makes it difficult to get consistently named nodes if the input configuration changes. This is important if the pseudo-nodes are used in ducc.nodes e.g. to define nodepools and classes over the test configuration.
This change introduces a new optional key into the simulation configuration, 'index'. The index is associated with each real node and resets the counter used for name generation. For example
nodes = node1 node2
index.node1 = 5
index.node2 = 20
When generating pseudo nodes on node1 the counter is reset to 5; on node2, the counter is set to 20.