Kathara.parser.netkit.DepParser - KatharaFramework/Kathara GitHub Wiki

module Kathara.parser.netkit.DepParser


class DepParser

Class responsible for parsing the lab.dep file.


method DepParser.parse

parse(path: str) → Optional[List[str]]

Parse the lab.dep file and return a List of string containing the names of the device ordered considering the dependencies.

Args:

  • path (str): The path to the lab.dep file.

Returns:

  • Optional[List[str]]: A List of string containing the names of the device ordered considering the dependencies.

Raises:

  • IOError: If there is an error while opening lab.dep file.
  • SyntaxError: If there is a syntax error in lab.dep file.
  • MachineDependencyError: If there is a Machines dependency loop in lab.dep file.

This file was automatically generated via lazydocs.

⚠️ **GitHub.com Fallback** ⚠️