{ "info": { "author": "Denis MACHARD", "author_email": "d.machard@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Testing :: Acceptance" ], "description": "# CLI plugin for ExtensiveAutomation server\n\nThis plugin enable to interact with remote system throught the SSH protocol.\n\n## Table of contents\n* [Installing from pypi](#installing-from-pypi)\n* [Installing from source](#installing-from-source)\n* [About actions](#about-actions)\n * [ssh/send_commands.yml](#sshsend_commandsyml)\n * [ssh/send_expect.yml](#sshsend_expectyml)\n* [About workflows](#about-workflows) \n * [ssh/send_commands.yml](#sshsend_commandsyml)\n * [ssh/send_expect.yml](#sshsend_expectyml)\n \n## Installing from pypi\n\n1. Run the following command\n\n pip install extensiveautomation_plugin_cli\n\n2. Execute the following command to take in account this new plugin\n\n ./extensiveautomation --reload\n \n3. Samples are deployed on data storage.\n\n## Installing from source\n\n1. Clone the following repository \n\n git clone https://github.com/ExtensiveAutomation/extensiveautomation-plugin-cli.git\n cd extensiveautomation-plugin-cli/src/ea/\n \n2. Copy the folder `sutadapters` in the source code server and overwrite-it\n\n cp -rf sutadapters/ //src/ea/\n \n3. Copy the folder `var` in the source code server/ and overwrite-it\n\n cp -rf var/ //src/ea/\n\n4. Finally execute the following command to install depandencies\n\n cd //src/\n python3 extensiveautomation.py --install-adapter CLI\n python3 extensiveautomation.py --reload\n \n## About actions\n\n## ssh/send_commands.yml\n\nSend ssh commands on one or severals hosts.\n\nParameter(s):\n- ssh-commands (text): bash commands\n\n```yaml\n- name: ssh-commands\n value: |-\n echo \"hello world\" >> /var/log/messages\n echo \"hola mondu\" >> /var/log/messages\n```\n \n- ssh-hosts (list): ssh remote addresses\n\n```yaml\n- name: ssh-hosts\n value:\n - ssh-host: 10.0.0.55\n ssh-login: root\n ssh-password: bonjour\n```\n\n- agent (text): agent name to use\n\n```yaml\n- name: ssh-agent\n value: agent02.ssh\n```\n\n## ssh/send_expect.yml\n\nSend ssh commands on one or severals hosts and expect outputs.\n\nParameter(s):\n- ssh-commands (text): bash commands\n\n```yaml\n- name: ssh-commands\n value: |-\n # get hostname\n uname -n\n .*\\n[!CAPTURE:MACHINE_HOSTNAME:]\\n.*\n```\n \n- ssh-hosts (dict): ssh remote addresses\n\n```yaml\n- name: ssh-hosts\n value:\n - ssh-host: 10.0.0.55\n ssh-login: root\n ssh-password: bonjour\n```\n\n- agent (text): agent name to use\n\n```yaml\n- name: ssh-agent\n value: agent02.ssh\n```\n\n## About workflows\n\n## ssh/send_commands.yml\n\nThis worflow show how to use `ssh` actions.\n\n## ssh/send_expect.yml\n\nThis worflow show how to use `ssh` actions.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.extensiveautomation.org/", "keywords": "extensiveautomation automation testautomation testing plugin", "license": "", "maintainer": "", "maintainer_email": "", "name": "extensiveautomation-plugin-cli", "package_url": "https://pypi.org/project/extensiveautomation-plugin-cli/", "platform": "any", "project_url": "https://pypi.org/project/extensiveautomation-plugin-cli/", "project_urls": { "Homepage": "https://www.extensiveautomation.org/" }, "release_url": "https://pypi.org/project/extensiveautomation-plugin-cli/1.4.0/", "requires_dist": null, "requires_python": "", "summary": "CLI plugin for extensiveautomation server", "version": "1.4.0", "yanked": false, "yanked_reason": null }, "last_serial": 10330654, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "f8f8a78c47f1ce7ed10954c26286f349", "sha256": "375546ae228d4f12e79d3c7a9ed8e656c7332347e71e4b967b91cfdfdd7a3213" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.0.0.tar.gz", "has_sig": false, "md5_digest": "f8f8a78c47f1ce7ed10954c26286f349", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15234, "upload_time": "2019-08-07T06:25:41", "upload_time_iso_8601": "2019-08-07T06:25:41.962731Z", "url": "https://files.pythonhosted.org/packages/e4/a3/ccbbca2044a53119136c9e807756135e6198387d59a076b7e2b53bf2917d/extensiveautomation_plugin_cli-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c7e456a000bca1b29ec3338b320a1277", "sha256": "795673219deb31c3a613aa8c89493fb8b5fcf9e76a4cf6793bdc6aa75b7a8054" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c7e456a000bca1b29ec3338b320a1277", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15269, "upload_time": "2019-10-22T12:50:22", "upload_time_iso_8601": "2019-10-22T12:50:22.801077Z", "url": "https://files.pythonhosted.org/packages/8d/c4/39e24a111de6b236e384d48b982b52676ee4d5858238a226f910062748ff/extensiveautomation_plugin_cli-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a69e16f722d4949a9db005ac7c48d461", "sha256": "b2b606424041185e5e6fe33ef7bad2c4af1b9ca18e968b0bbf321bf530579db1" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.1.0.tar.gz", "has_sig": false, "md5_digest": "a69e16f722d4949a9db005ac7c48d461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19311, "upload_time": "2020-07-17T18:40:55", "upload_time_iso_8601": "2020-07-17T18:40:55.454780Z", "url": "https://files.pythonhosted.org/packages/70/a2/92bf6face513ff96afe21c8f195f783ee46ae9b68294f2fd179baa1caf51/extensiveautomation_plugin_cli-1.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "29fe80563901ba66361e84780e25ca9f", "sha256": "12599c4ac54bd211b54fc3ca51dbe15b58dc6b84e18d5b6a335f95abe62f4240" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.2.0.tar.gz", "has_sig": false, "md5_digest": "29fe80563901ba66361e84780e25ca9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19322, "upload_time": "2020-07-25T06:40:43", "upload_time_iso_8601": "2020-07-25T06:40:43.686089Z", "url": "https://files.pythonhosted.org/packages/11/ad/a3e1d3e0717e9a7362d17f462159b8c4a86471cb88eac500c96a39f32e4d/extensiveautomation_plugin_cli-1.2.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "0f61ab25018acb88efa49e5a562e5d2a", "sha256": "ccfb135f0f3336220c49db0a09c1f0692e3771544e88e3fcdbf81dc3db713d4d" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.3.0.tar.gz", "has_sig": false, "md5_digest": "0f61ab25018acb88efa49e5a562e5d2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20525, "upload_time": "2020-07-29T06:44:31", "upload_time_iso_8601": "2020-07-29T06:44:31.830791Z", "url": "https://files.pythonhosted.org/packages/bd/ea/35a90ef070b899ff1be6d5064a78a0958a2c6ca715fc663d4b03c17d34f2/extensiveautomation_plugin_cli-1.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "f074d84a98ce5232d1254952ca6ce02e", "sha256": "0c645a93ec70e72becb5ccf8936f3e57aafd9e746ff81577d896cc6283ce129d" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.4.0.tar.gz", "has_sig": false, "md5_digest": "f074d84a98ce5232d1254952ca6ce02e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21040, "upload_time": "2021-05-12T06:17:13", "upload_time_iso_8601": "2021-05-12T06:17:13.088371Z", "url": "https://files.pythonhosted.org/packages/1f/e7/865bd6118c66bdad6e4737a1ed2dd181de9fbe31c5a4804d024611c6d7f9/extensiveautomation_plugin_cli-1.4.0.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f074d84a98ce5232d1254952ca6ce02e", "sha256": "0c645a93ec70e72becb5ccf8936f3e57aafd9e746ff81577d896cc6283ce129d" }, "downloads": -1, "filename": "extensiveautomation_plugin_cli-1.4.0.tar.gz", "has_sig": false, "md5_digest": "f074d84a98ce5232d1254952ca6ce02e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21040, "upload_time": "2021-05-12T06:17:13", "upload_time_iso_8601": "2021-05-12T06:17:13.088371Z", "url": "https://files.pythonhosted.org/packages/1f/e7/865bd6118c66bdad6e4737a1ed2dd181de9fbe31c5a4804d024611c6d7f9/extensiveautomation_plugin_cli-1.4.0.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }