pyats.topology.loader package¶
- pyats.topology.loader.load(loadable=None, source=None, **kwargs)¶
topology loader function
- Logic:
if source key is provided, look for entrypoint and load with kwargs
else load whatever loadable is
- Returns
loaded testbed object
Submodules¶
- class pyats.topology.loader.markup.TestbedMarkupProcessor(*args, **argv)¶
Bases:
pyats.utils.yaml.markup.Processor
- match_intf_markup(data)¶
- p_ask_markup(match, data, index, locations=None)¶
- p_intf_markup(match, data, index, locations=None)¶
- p_reference_markup(match, data, index, locations=None)¶
- pyats.topology.loader.markup.cred_password_ask_prompt(index)¶
Form the prompt to use when asking user to enter a password.