HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pyats shell — Start a pre-loaded pyATS interactive Python Shell to save time in prototyping. More information: <ht

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandstartpyats shellloadedclipyatsinteractivepre

Problem

How to use the pyats shell command: Start a pre-loaded pyATS interactive Python Shell to save time in prototyping. More information: <https://pubhub.devnetcloud.com/media/genie-docs/docs/cli/genie_shell.html>.

Solution

pyats shell — Start a pre-loaded pyATS interactive Python Shell to save time in prototyping. More information: <https://pubhub.devnetcloud.com/media/genie-docs/docs/cli/genie_shell.html>.

Open pyATS shell with a defined Testbed file:
pyats shell --testbed-file {{path/to/testbed.yaml}}


Open pyATS shell with a defined Pickle file:
pyats shell --pickle-file {{path/to/pickle.file}}


Open pyATS with IPython disabled:
pyats shell --no-ipython

Code Snippets

Open pyATS shell with a defined Testbed file

pyats shell --testbed-file {{path/to/testbed.yaml}}

Open pyATS shell with a defined Pickle file

pyats shell --pickle-file {{path/to/pickle.file}}

Open pyATS with IPython disabled

pyats shell --no-ipython

Context

tldr-pages: common/pyats shell

Revisions (0)

No revisions yet.