All Projects → CiscoDevNet → pyats-sample-scripts

CiscoDevNet / pyats-sample-scripts

Licence: Apache-2.0 license
Various pyATS-based Test Automation Scripts

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyats-sample-scripts

notes
CCIE routing and switching notes and references, with a general directory and specific topic directories.
Stars: ✭ 23 (-70.89%)
Mutual labels:  cisco, ccnp, ccna, ccie, cisco-ios
genielibs
genie.libs contains libraries for configuring, retrieving and testing topologies
Stars: ✭ 80 (+1.27%)
Mutual labels:  cisco, ccie, pyats, cisco-ios
cisco-cheatsheet
A Cisco Cheatsheet: Commands and Snippets for bootstrapping, boilerplate, configuration, and hardening of Cisco routers and switches.
Stars: ✭ 66 (-16.46%)
Mutual labels:  cisco, ccna, cisco-ios
Network-Automation
Cisco ACI, Firepower, Meraki, NETCONF, and SQL Python Programs
Stars: ✭ 47 (-40.51%)
Mutual labels:  cisco, ccie, cisco-ios
netascode
This repo contains an example of the virtual network of a fictitious company which you can use to play and to learn network automation. Public repository for Network as Code. NaC model.
Stars: ✭ 36 (-54.43%)
Mutual labels:  cisco, pyats
ccna
A summary of CCNA-useable cisco commands by @elsmr and @Haroenv
Stars: ✭ 16 (-79.75%)
Mutual labels:  cisco, ccna
yang
NETCONF/YANG related test framework
Stars: ✭ 15 (-81.01%)
Mutual labels:  cisco, pyats
merlin
Network Magic: Transforming the CLI and REST API using Infrastructure As Code automation
Stars: ✭ 50 (-36.71%)
Mutual labels:  cisco, pyats
solutions examples
pyATS example solutions for NetDevOps use cases
Stars: ✭ 59 (-25.32%)
Mutual labels:  cisco, pyats
cisco.ios
Ansible Network Collection for Cisco IOS
Stars: ✭ 202 (+155.7%)
Mutual labels:  cisco, cisco-ios
getting-started
pyATS Getting Started guide sources, URL: https://developer.cisco.com/docs/pyats-getting-started/
Stars: ✭ 24 (-69.62%)
Mutual labels:  cisco, pyats
main
Mocks Server monorepo
Stars: ✭ 109 (+37.97%)
Mutual labels:  test-automation
bdd-for-all
Flexible and easy to use library to enable your behavorial driven development (BDD) teams to easily collaborate while promoting automation, transparency and reporting.
Stars: ✭ 42 (-46.84%)
Mutual labels:  test-automation
pysys-test
PySys System Test Framework
Stars: ✭ 14 (-82.28%)
Mutual labels:  test-automation
frisbee
A Kubernetes Framework for Cloud-Native Application Testing
Stars: ✭ 39 (-50.63%)
Mutual labels:  test-automation
ios-device-server
A server to manage remote iOS simulators and devices for parallel testing
Stars: ✭ 37 (-53.16%)
Mutual labels:  test-automation
cisco-pnp-ztp-guestshell
Cisco Zero Touch Protocol (ZTP) with Python Scripts
Stars: ✭ 17 (-78.48%)
Mutual labels:  cisco
ASA-Telemetry-Guide
Example VPN health monitoring dashboard on Grafana for ASA devices
Stars: ✭ 38 (-51.9%)
Mutual labels:  pyats
karate-grpc
gRPC Testing Made Simple by Karate
Stars: ✭ 43 (-45.57%)
Mutual labels:  test-automation
toradocu
Toradocu - automated generation of test oracles from Javadoc documentation
Stars: ✭ 39 (-50.63%)
Mutual labels:  test-automation

pyATS Sample Scripts

The best method to master pyATS test framework is to learn-by-example. This repository contains various scripts that showcases the many features and packages of pyATS.

General Information

Requirements

pyATS & its examples supports Python 3.4+ on Linux & Mac systems. Windows is not yet supported.

Getting Started

The examples included in this repository expects you to have a Python environment with pyATS packages installed. Alternatively, you can always setup a new virtual environment as sandbox.

$ python3 -m venv pyats_sandbox
$ cd pyats_sandbox
$ source bin/activate
$ pip install pyats

$ git clone https://github.com/CiscoDevNet/pyats-sample-scripts.git

Sample Script Usage

There are two ways to run a typical pyATS script:

  1. through pyats run job, which generates log and archives
  2. as standalone, and prints results to screen
$ cd pyats-sample-scripts/basic

$ pyats run job basic_example_job.py

$ python basic_example_script.py

Refer to each job file's docstring on details of command-line arguments.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].