FY18 has been a busy yet successful year for our development team. In Nov 2017, we released pyATS for the first time to customers through Cisco DevNet In Jan 2018, pyATS was showcased and called out at Cisco Live! Barcelona as the next big thing And today, we are proud to announce the next milestone in pyATS: v4.1.0 What's New? support for Python 3.5/3.6 self-disabling plugins new flag that generates HTML-based log files (-html_logs) new class-based processors (similar to context managers) in test scripts new platform-agnostic, pluggable, multi-protocol file transfer utility and plenty of bug fixes. To upgrade your current environment, try:
pip install --upgrade pyats
Let us know via the support mailer if there are issues!
... View more
pyATS is being showcased during Cisco Live! Barcelona! Join us in person at Cisco Live! EMEA 2018 during Jan 29 - Feb 2 in Barcelona, and discover the benefits of Cisco Test Automation Solution, featuring pyATS + Genie, and how it could beneficial to your organization. The following sessions & content will be presented at Cisco Live! DevNet-1480: Empower your testing with Cisco Test Automation Solution 4:00PM, JAN-29 @ DEVNET ZONE CLASSROOM 1 Cisco is releasing its internal engineering test automation infrastructure to services teams, customers and beyond. Join us on this power presentation and learn about the pyATS test infrastructure, the Genie libraries, and various features & benefits of the test ecosystem, and how it could benefit you on developing sustainable, reusable, scalable, and vendor-agnostic test suites for your needs. The goal of this session is to teach participants how the very same tool-sets used by Cisco’s engineers & developers can be leveraged for their own testing purposes, allowing for a more transparent development cycle, faster product validation & adoption, and time to market. DevNet: NetDevOps with pyATS & Genie DEVNET ZONE BOOTH Come visit us at the NetDevOps both and experience hands-on on how pyATS and Genie test automation frameworks can be seamlessly integrated into your network development, deployment and continuous integration process. The following demos will be available for you at our booth: Getting started with pyATS, running simple ping job on IOS-based testbeds. pyATS/Genie as part of CI/CD workflow, providing sanity/validation. Genie: testbed profiling, and baseline comparison of configuration and status. Triggers, Verifications: reusable, event-based test automation libraries RobotFramework Integration: English-based/behavior-based test automation. ... and more! I'm interested! How do I get started? If you have existing Cisco services team contact (eg, Advanced Services, Global Delivery Center) and or Engineering team contacts, please approach them and discuss the content you learned during Cisco Live! w.r.t pyATS, Genie, and Cisco Test Automation Solution, and how you would like to use it in your organization. Your contacts should be able to approach us internally to discuss deployment details. You can always email us at email@example.com and discuss your needs in detail As always, everything you need to get started with pyATS is available on DevNet: pyATS portal. Feel free to dig! Resources/Links Cisco Live! EMEA - Cisco Live EMEA 2018 - Barcelona, Spain | Jan 29 – Feb 2, 2018 | Networking Event DevNet: pyATS - https://developer.cisco.com/site/pyats Cisco Test Automation on GitHub - https://github.com/CiscoTestAutomation pyATS on DockerHub - https://hub.docker.com/r/ciscotestautomation/pyats/https://hub.docker.com/r/ciscotestautomation/pyats/https://hub.docker.com/r/ciscotestautomation/pyats/ Support Mailer: firstname.lastname@example.org
... View more
Is pyATS free to use? Yes, pyATS is 100% free to use for anyone and everyone, and available through PyPI.
pip install pyats
Where do I get support? You can post questions in this community forum - the support team patrols these forums daily. Otherwise, you can also send an email to email@example.com directly. Note that if you received pyATS/scripts as part of a collaborated effort with a Cisco development/test/engineering team, you should be approaching that team instead for script support. Does pyATS support Python 3.5/3.6? Yes! Starting pyATS release version v4.1.0, Python 3.5/3.6 support has been added. We will look into supporting Python 3.7 when it comes out of beta. Is this open source? No, at the moment the core of pyATS is still closed-source as it is a critical part of the sanity/regression test infrastructure. Through DevNet we are only releasing the Cythonized, binary format of pyATS core framework, enabling customer usage & close team collaboration. However, other packages that are developed to be used with pyATS, such as Unicon plugins, parser libraries, packages, YANG/REST connectors and etc, will be open source to public, and available to all in GitHub. How do I extend pyATS? pyATS has various plugins & hooks that enables customization, eg, Easypy plugins, AEtest pre/post processors, etc. You can also subclass components and augment its usages (such as topology subclasses). Will the pyATS core framework be open source one day? We consider DevNet as the first baby step towards opening up the infrastructure to the general public. All other options, including open sourcing, are not out of the picture. We will be closely monitoring community adoption, feedback, and take the next steps accordingly.
... View more
Currently Supported Environments Python 3.4.x, 3.5.x, 3.6.x, 64-bit Linux x86_64 or Mac OSX 10.13.3+ Error: Could not find any downloads that satisfy the requirement pyats make sure you upgrade pip & setuptools to latest versions.
pip install --upgrade pip setuptools
and try again. Also, it may be worth it to try invalidating the pip built-in cache:
pip install pyats --no-cache-dir
In addition, make sure you are running with 64-bit Python executable. 32-bit Python is not supported. If you've done all the above and your installation still doesn't work, please let us know, and send us the output of the following command in your python environment:
# pip version < v10.0.0
python -c "from pip import pep425tags; [print(i) for i in pep425tags.get_supported()]"
# pip version >= v10.0.0
python -c "from pip._internal import pep425tags; [print(i) for i in pep425tags.get_supported()]"
I cannot find examples & templates folder post-installation Normally if you installed within a Python virtual environment, the examples and templates folder would be straight under $VIRTUAL_ENV/ root directory. If you installed into the system directly, it most likely would be available under /usr directory
... View more