{ "info": { "author": "Arista EOS+ Consulting Services", "author_email": "eosplus-dev@arista.com", "bugtrack_url": null, "classifiers": [], "description": "The Arista Library for Robot Framework\n======================================\n\nIntroduction\n------------\n\nAristaLibrary aims to simplify testing projects on `Arista EOS `\nusing `Robot Framework ` by adding a number of\nEOS-centric keywords. The Library works by using the PyEAPI module to\ninteract with EOS nodes.\n\nPrerequisites\n-------------\n\n* `Robot Framework `\n* `PyEAPI ` (`GitHub `)\n* `Arista EOS ` 4.12 or later\n* Python 2.7\n\nInstallation\n------------\n\nThe easiest way to install is to use `pip `::\n\n pip install robotframework-aristalibrary\n\nUpgrade using::\n\n pip install --upgrade robotframework-aristalibrary\n\nTo install from source::\n\n git clone https://github.com/aristanetworks/robotframework-aristalibrary.git\n cd robotframework-aristalibrary\n # Optionally, checkout the development branch\"\n git checkout develop\"\n python setup.py install\n\nKeyword Documentation\n---------------------\n\nSee the `AristaLibrary ` keyword documentation.\n\nExample Robot Test\n------------------\n\n::\n\n # -*- coding: robot -*-\n # :setf robot\n # :set noexpandtab\n *** Settings ***\n Documentation This is a sample Robot Framework suite which takes advantage of\n ... the AristaLibrary for communicating with and controlling Arista switches.\n ... Run with:\n ... pybot --pythonpath=AristaLibrary demo/sample-test-refactored.txt\n\n Library AristaLibrary\n Library Collections\n Suite Setup Connect To Switches\n Suite Teardown Clear All Connections\n\n *** Variables ***\n ${TRANSPORT} http\n ${SW1_HOST} localhost\n ${SW1_PORT} 2080\n ${SW2_HOST} localhost\n ${SW2_PORT} 2081\n ${USERNAME} apiuser\n ${PASSWORD} donttell\n\n *** Test Cases ***\n Ping Test\n [Documentation] Configure Et1 on both nodes and ping between them\n [tags] Configure\n Configure IP Int 1 ethernet1 10.1.1.0/31\n Configure IP Int 2 ethernet1 10.1.1.1/31\n\n ${output}= Enable ping 10.1.1.0\n ${result}= Get From Dictionary ${output[0]} result\n Log ${result}\n ${match} ${group1}= Should Match Regexp ${result['messages'][0]} (\\\\d+)% packet loss\n Should Be Equal As Integers ${group1} 0 msg=\"Packets lost percent not zero!!!\"\n\n *** Keywords ***\n Connect To Switches\n [Documentation] Establish connection to a switch which gets used by test cases.\n Connect To host=${SW1_HOST} transport=${TRANSPORT} username=${USERNAME}\n ... password=${PASSWORD} port=${SW1_PORT}\n Configure hostname veos0\n Connect To host=${SW2_HOST} transport=${TRANSPORT} username=${USERNAME}\n ... password=${PASSWORD} port=${SW2_PORT}\n Configure hostname veos1\n\n Configure IP Int\n [Arguments] ${switch} ${interface} ${ip}\n Change To Switch ${switch}\n @{cmds}= Create List\n ... default interface ${interface}\n ... interface ${interface}\n ... no switchport\n ... ip address ${ip}\n ... no shutdown\n Configure ${cmds}\n\nRelease Notes\n-------------\n\nRelease notes are available in the GitHub `releases `.\n\nSupport and Contacts\n--------------------\n\nAristaLibrary is a community-supported project, maintained by Arista EOS+. Contact the maintainers at `eosplus-dev@arista.com`.\n\nContributing\n------------\n\nContributing is encouraged via pull requests. Please see ``_ for more information.\n\nLicense\n-------\n\nAll code within this repository is made available under the BSD3 license and via the ``_ file.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/aristanetworks/robotframework-aristalibrary/tarball/1.3.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://aristanetworks.github.io/robotframework-aristalibrary/", "keywords": "robotframework testing testautomation arista eos eapi pyeapi", "license": "BSD-3", "maintainer": "", "maintainer_email": "", "name": "robotframework-aristalibrary", "package_url": "https://pypi.org/project/robotframework-aristalibrary/", "platform": "any", "project_url": "https://pypi.org/project/robotframework-aristalibrary/", "project_urls": { "Download": "https://github.com/aristanetworks/robotframework-aristalibrary/tarball/1.3.0", "Homepage": "https://aristanetworks.github.io/robotframework-aristalibrary/" }, "release_url": "https://pypi.org/project/robotframework-aristalibrary/1.3.0/", "requires_dist": null, "requires_python": "", "summary": "Python Robot Framework Library for EOS devices", "version": "1.3.0" }, "last_serial": 3587934, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "bd863ec36f71b681d52e59238c5ed8b7", "sha256": "74782da52cb0263fff74c3bc4dcaf22d58bfc54ac62ac02425a72395dc05cf79" }, "downloads": -1, "filename": "robotframework-aristalibrary-1.0.tar.gz", "has_sig": false, "md5_digest": "bd863ec36f71b681d52e59238c5ed8b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52012, "upload_time": "2015-02-27T04:24:10", "url": "https://files.pythonhosted.org/packages/08/aa/40e6a7689fa0ff15f27e41bb6d30d82a8f763ca0fc817089f66da806ca63/robotframework-aristalibrary-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "635d06771e0d56c71ab2762c5241b9c2", "sha256": "6b9b89c013c5aa0936274ca6d91a2a138305fbce358c6786e753915fbc4c5c00" }, "downloads": -1, "filename": "robotframework-aristalibrary-1.1.tar.gz", "has_sig": false, "md5_digest": "635d06771e0d56c71ab2762c5241b9c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 127463, "upload_time": "2017-12-18T21:47:39", "url": "https://files.pythonhosted.org/packages/02/0b/f3545ee8f1c5b80084558c1b6ccabee2ca051de4457e2caa1dfedfc4df86/robotframework-aristalibrary-1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "fd4987fd53ed9c7fdd3acedfcb289c55", "sha256": "5ed9129048ea840a72e33f999e5a2dbe9e5fcc2de3c7fa74ca0a080982df04b4" }, "downloads": -1, "filename": "robotframework-aristalibrary-1.2.0.tar.gz", "has_sig": false, "md5_digest": "fd4987fd53ed9c7fdd3acedfcb289c55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68062, "upload_time": "2017-12-20T18:07:45", "url": "https://files.pythonhosted.org/packages/16/70/eeaa26b4709fac8e5558b2e1018fe1a496255e21614ab03d799d01a4ee0c/robotframework-aristalibrary-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "51706a1e35d37709e305ae1156f8bce7", "sha256": "d76edf428eb9991632a33aff0d852f79d4818f01d6bb277dc24530926296b16c" }, "downloads": -1, "filename": "robotframework-aristalibrary-1.3.0.tar.gz", "has_sig": false, "md5_digest": "51706a1e35d37709e305ae1156f8bce7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 70657, "upload_time": "2018-02-16T16:10:33", "url": "https://files.pythonhosted.org/packages/87/55/c7ca6d201561f567e9aaaff60a74722e02bb018c0cb9efa467c47e427348/robotframework-aristalibrary-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "51706a1e35d37709e305ae1156f8bce7", "sha256": "d76edf428eb9991632a33aff0d852f79d4818f01d6bb277dc24530926296b16c" }, "downloads": -1, "filename": "robotframework-aristalibrary-1.3.0.tar.gz", "has_sig": false, "md5_digest": "51706a1e35d37709e305ae1156f8bce7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 70657, "upload_time": "2018-02-16T16:10:33", "url": "https://files.pythonhosted.org/packages/87/55/c7ca6d201561f567e9aaaff60a74722e02bb018c0cb9efa467c47e427348/robotframework-aristalibrary-1.3.0.tar.gz" } ] }