Kathara icon indicating copy to clipboard operation
Kathara copied to clipboard

Compute LabHash from lab.name if it is present

Open tcaiazzi opened this issue 2 years ago • 0 comments

Actual behavior: When you run a scenario from CLI the lab.hash is computed from the path, even if it has a name assigned. This prevents from launching a lab from CLI and interacting with it using the lab.name through the python APIs.

Expected behavior: If a lab.name is present, it must be used to compute the lab.hash. In this way it is possibile to run a scenario from CLI and interact with it using the lab.name trough the Python APIs.

Problems: Actually, every CLI commands compute the hash from the path. They do not have a reference to the Lab object.

tcaiazzi avatar May 09 '22 11:05 tcaiazzi