-
Notifications
You must be signed in to change notification settings - Fork 64
Kathara.parser.netkit.ExtParser
Tommaso Caiazzi edited this page Jul 21, 2023
·
1 revision
Class responsible for parsing lab.ext file.
parse(
path: str
) → Optional[Dict[str, List[Kathara.model.ExternalLink.ExternalLink]]]
Parse the lab.ext and return a Dict. Keys are name of collision domain and values are List of ExternalLink attached to that interface.
Args:
-
path
(str): The path to lab.ext file.
Returns:
-
Optional[Dict[str, List[ExternalLink]]]
: Keys are name of collision domain and values are List of ExternalLink attached to that interface.
Raises:
-
IOError
: If lab.ext file cannot be opened. -
ValueError
: If the VLAN ID is not allowed. -
SyntaxError
: If lab.ext file is malformed.
This file was automatically generated via lazydocs.
Website: kathara.org
Contact us: [email protected]