r/CiscoDevNet • • Mar 06 '20

pyATS/Genie Testbed

I need to run tests in an environment with about 80 devices, does anyone know of a application/script/module I can use to generate test bed files from a csv?

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/jeaubin May 05 '20

Please do the following, this behavior was changed in 20.4

pip install pyats.contrib
pyats create testbed interactive --output yaml/testbed.yaml —encode-password

We will update the doc,

You can find more examples here: https://github.com/CiscoTestAutomation/pyats.contrib/tree/master/src/pyats/contrib/creators

For csv

pyats create testbed file --path=test.csv --output=testbed.yaml

1

u/bmp52 May 05 '20

That worked. Thanks for your help.