Skip to content

Kathara.parser.netkit.LabParser

Tommaso Caiazzi edited this page Jan 10, 2024 · 2 revisions

module Kathara.parser.netkit.LabParser

Global Variables

  • LAB_METADATA
  • RESERVED_MACHINE_NAMES

class LabParser

Class responsible for parsing the lab.conf file.


method LabParser.parse

parse(path: str, conf_name: str = 'lab.conf') → Lab

Parse the lab configuration identified by conf_name and return the corresponding Kathara network scenario.

Args:

  • path (str): The path to the directory containing the configuration file.
  • conf_name (str): The name of the network scenario configuration file (default is 'lab.conf').

Returns:

  • Kathara.model.Lab.Lab: A Kathara network scenario.

This file was automatically generated via lazydocs.

Clone this wiki locally