KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
455 stars 63 forks source link

Add the possibility to specify a custom name for network scenario configuration file from the Python API #261

Closed tcaiazzi closed 9 months ago

tcaiazzi commented 10 months ago

Currently, the LabParser.parse() method only accepts a configuration file called lab.conf.

https://github.com/KatharaFramework/Kathara/blob/aaa0b721cdc1e4ec44a09841e99448313e315e7b/src/Kathara/parser/netkit/LabParser.py#L13-L87

Adding the possibility to specify the name of the configuration file will improve flexibility.