cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1899
Views
0
Helpful
1
Replies

networking

I am trying to work on a test case where i need to store the value of  "--testbed" arg and used that to construct the path to be used in one os the function

currently the script works when we use below command

pyats run job <filename.py> --testbed <testbed.yaml> <testbed.yaml>

 

but i want to just below to run it

pyats run job <filename.py> --testbed <testbed.yaml>

 

any help

 

1 Accepted Solution

Accepted Solutions

Alex Stevenson
Cisco Employee
Cisco Employee

According to the pyATS docs regard run job, the shorter form should be working: 

https://pubhub.devnetcloud.com/media/pyats/docs/cli/pyats_run.html

 

However, it does note that "the arguments show in the pyats run job command may vary, depending on your current plugin configuration."

View solution in original post

1 Reply 1

Alex Stevenson
Cisco Employee
Cisco Employee

According to the pyATS docs regard run job, the shorter form should be working: 

https://pubhub.devnetcloud.com/media/pyats/docs/cli/pyats_run.html

 

However, it does note that "the arguments show in the pyats run job command may vary, depending on your current plugin configuration."