{ "info": { "author": "Maximilien Cuony", "author_email": "maximilien.cuony@arcanite.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: System Administrators", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: Other OS", "Programming Language :: Python", "Topic :: System :: Networking" ], "description": "# salt-os10\n\nSalt-os10 is a small salt state, providing an easy way to configure the configuration of a Dell OS10 switch.\n\nIt provides a simple interface to apply configuration commands from a template.\n\nIt does not provide anything else for the moment. Most of others changes can be done via usual salt states.\n\nThis is a **beta version**. Use it at your own risk!\n\n## Installation\n\nSimply run the following command on your switch:\n\n`pip install salt-os10`\n\n## Usage\n\nYou can use in your sls files the following state:\n\n```\ntest_config:\n os10.managed:\n - source: salt://config\n```\n\nAssuming the config file look like:\n\n```\nntp server ch.pool.ntp.org\n```\n\nThe state will parse the lines in your templated file and run it in a 'configure terminal' transation.\n\n## Parameters\n\n### source\n\nSource file. Behave as the `source` argument of `file.managed`.\n\n### hash\n\nHash of the file. Behave as the `hash` argument of `file.managed`.\n\n### hash_name\n\nType of hash. Behave as the `hash_name` argument of `file.managed`.\n\n### skip_verify\n\nSkip hash verification. Behave as the `skip_verify` argument of `file.managed`.\n\n### engine\n\nTemplate format. Default to `jinja`. Behave as the `template` argument of `file.managed`.\n\n### context\n\nData pased to the template. Behave as the as the `context` argument of `file.managed`.\n\n### defaults\n\nDefault values for the context. Behave as the `defaults` argument of `file.managed`.\n\n### commit\n\nCommit changes when the state is applied. Default to `True`, setting it to `False` will revert changes (but will try to run them).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ArcaniteSolutions/salt-os10", "keywords": "", "license": "MPL", "maintainer": "", "maintainer_email": "", "name": "salt-os10", "package_url": "https://pypi.org/project/salt-os10/", "platform": "", "project_url": "https://pypi.org/project/salt-os10/", "project_urls": { "Homepage": "https://github.com/ArcaniteSolutions/salt-os10" }, "release_url": "https://pypi.org/project/salt-os10/0.0.1/", "requires_dist": [ "sh" ], "requires_python": "", "summary": "Small salt module providing os10.managed, to apply basic config on dell OS10 switches", "version": "0.0.1" }, "last_serial": 5342860, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "693a4ce0d8a619b9cb5cfd4bce3f4317", "sha256": "5b37b25a22e816233ba505763f1394c7e2513b1955cfa4ea58cec289d7056839" }, "downloads": -1, "filename": "salt_os10-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "693a4ce0d8a619b9cb5cfd4bce3f4317", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9538, "upload_time": "2019-05-31T13:50:24", "url": "https://files.pythonhosted.org/packages/bc/b3/bad82afdc56dc8b2abc939cd5586ffa1211b8a2fe49a7623f33d1a9ecc76/salt_os10-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "923b8f41287cffd01c52350c7fd099c6", "sha256": "eeb59a8a2258c8707d755270579546afd9b6391ac0d0305366b527c79777842a" }, "downloads": -1, "filename": "salt-os10-0.0.1.tar.gz", "has_sig": false, "md5_digest": "923b8f41287cffd01c52350c7fd099c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2962, "upload_time": "2019-05-31T13:50:26", "url": "https://files.pythonhosted.org/packages/ef/a5/4b8b1f6050354b6a026704d877dec8684d1c39a3dc6c721ad33fd615950f/salt-os10-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "693a4ce0d8a619b9cb5cfd4bce3f4317", "sha256": "5b37b25a22e816233ba505763f1394c7e2513b1955cfa4ea58cec289d7056839" }, "downloads": -1, "filename": "salt_os10-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "693a4ce0d8a619b9cb5cfd4bce3f4317", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9538, "upload_time": "2019-05-31T13:50:24", "url": "https://files.pythonhosted.org/packages/bc/b3/bad82afdc56dc8b2abc939cd5586ffa1211b8a2fe49a7623f33d1a9ecc76/salt_os10-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "923b8f41287cffd01c52350c7fd099c6", "sha256": "eeb59a8a2258c8707d755270579546afd9b6391ac0d0305366b527c79777842a" }, "downloads": -1, "filename": "salt-os10-0.0.1.tar.gz", "has_sig": false, "md5_digest": "923b8f41287cffd01c52350c7fd099c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2962, "upload_time": "2019-05-31T13:50:26", "url": "https://files.pythonhosted.org/packages/ef/a5/4b8b1f6050354b6a026704d877dec8684d1c39a3dc6c721ad33fd615950f/salt-os10-0.0.1.tar.gz" } ] }