07-08-2019 08:19 AM
I have successfully installed pyats ang genie, but when i try to run the command:
genie learn ospf --testbed-file ./testbed.yaml
it display the error below:
Argument should be a path to a pyATS testbed file, or a pyATS Testbed object not ./testbed.yaml
but i already have the testbed.yaml file defined. So not sure why is there an error.
attached is the testbed.yml (the attached is .txt becos i can't upload .yaml file)
did i miss out anything ?
07-08-2019 08:28 AM
Hi there,
The documentation (albeit not for the module in question) states that your need to specify the full path to the testbed file (e not the single dot notation for the current working directory):
cheers,
Seb.
07-08-2019 09:01 AM
I specified the full pathname, but still get the same error..
07-16-2019 05:16 AM
Did you get this figured out?
One thought is, are you editing an existing yaml file which has devices and topology in it? If you are the devices in the topology section need to also be in the device section. My recommend (as this is what I first did), remove the topology section and just have a device section. This will get you started with genie and you can "learn" the different functions on the device like bgp, interface, ospf ,etc.
Hope this helps.
07-16-2019 06:35 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide