← 返回命令列表

Linux command

pyats-shell 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start pyATS shell

pyats shell

Start with testbed

pyats shell --testbed-file [testbed.yaml]

说明

pyats shell starts an interactive Python shell with pyATS libraries loaded. Pre-loads testbed and device objects for network testing and automation. Part of Cisco pyATS framework.

参数

--testbed-file _file_
Testbed YAML file.
--no-ipython
Use plain Python shell.

FAQ

What is the pyats-shell command used for?

pyats shell starts an interactive Python shell with pyATS libraries loaded. Pre-loads testbed and device objects for network testing and automation. Part of Cisco pyATS framework.

How do I run a basic pyats-shell example?

Run `pyats shell` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --testbed-file _file_ do in pyats-shell?

Testbed YAML file.