Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
from pyats.topology import loadertb = loader.load("testbed.yaml")device = tb.devices[hostname]Hostname from your testbed.yaml fileparsed_result = device.parse(command, output=output)Where output is the output of the command, a string