{ "info": { "author": "Johnny Wezel", "author_email": "dev-jay@wezel.name", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: System :: Networking", "Topic :: Utilities" ], "description": "Set IP for network interface\n============================\n\nIntroduction\n------------\n\nThis is a simple utility to set an IP for a network interface for as long as the utility or a sub-command is running. When it is\nterminated, the IP will be removed from the network interface. This makes a network IP controllable as a service. Tools like\nNomad can then dynamically enable and disabled IPs where certain services run. If a command is specified, ip-service runs it and\nwaits for the program to terminate. The command would ideally provide a network-based service which would be available on the\nspecified IP.\n\nUsage\n-----\n\nThe program is intended to be run by the simple command like::\n\n ip-service -a 192.168.0.130\n\nor::\n\n ip-service -a 192.168.0.130 docker start -ai myservice\n\npositional arguments::\n command command to run (optional)\n\noptional arguments::\n -h, --help show help and exit\n --version, -V display version and license information\n --log-level / -L LOG_LEVEL one of {DEBUG,INFO,WARNING,ERROR,CRITICAL}\n set log level (default INFO)\n --log-file / -l LOG_FILE\n set log file (default: /var/log/ip-service)\n --interface / -i INTERFACE set network interface (default: the one attached to the default route)\n --ip IP / -a IP IP to set (more than one possible)\n\nInstallation\n------------\n\nThe software can be installed easily from the Python software repository, either on the command line or by downloading the\npackage and installing it explicitly.\n\n.. note::\n\n Python packages should not be installed using *pip* or *easy_install* globally in the system environment under Gentoo Linux.\n There is a carefully crafted system to make system-provided Python scripts available under Python 2 as well as Python 3 which\n is disturbed by packagages deliberately installed by *pip* or *easy_install*. \n\nInstallation using *pip*\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nOn the command line, type::\n\n pip install --user jw.ip-service\n\nExplicit Installation from a downloaded package\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nDownload the package from https://pypi.python.org/pypi/jw.ip-service. Unpack it, ``cd`` into the unpacked directory and type the\ncommand::\n\n python setup.py install --user\n\nBug reports\n-----------\n\nPlease report bugs and enhancement requests to https://bitbucket.org/JohnnyWezel/jw.ip-service/issues.", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/packages/source/j/jw.ip-service/jw.ip-service-0.1a2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://pypi.python.org/pypi/jw.ip-service", "keywords": "IP,network,interface,utility", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "jw.ip-service", "package_url": "https://pypi.org/project/jw.ip-service/", "platform": "POSIX", "project_url": "https://pypi.org/project/jw.ip-service/", "project_urls": { "Download": "https://pypi.python.org/packages/source/j/jw.ip-service/jw.ip-service-0.1a2.tar.gz", "Homepage": "https://pypi.python.org/pypi/jw.ip-service" }, "release_url": "https://pypi.org/project/jw.ip-service/0.1a2/", "requires_dist": null, "requires_python": "", "summary": "A tool to set an IP to a network interface for as long as the program runs", "version": "0.1a2" }, "last_serial": 3659311, "releases": { "0.1a2": [ { "comment_text": "", "digests": { "md5": "8737ccc7ced12a0bc3bcf54234ad8f40", "sha256": "6f71cdff32a62e41d82782be0fe620b750ab90cdd33bed767b5e23b58968bdea" }, "downloads": -1, "filename": "jw.ip-service-0.1a2.tar.gz", "has_sig": false, "md5_digest": "8737ccc7ced12a0bc3bcf54234ad8f40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5206, "upload_time": "2018-03-11T17:10:59", "url": "https://files.pythonhosted.org/packages/56/13/7f60c8059582e9e24e5bcbb16fcc5641c6c9f8b2b35b11b2acb03f3c964b/jw.ip-service-0.1a2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8737ccc7ced12a0bc3bcf54234ad8f40", "sha256": "6f71cdff32a62e41d82782be0fe620b750ab90cdd33bed767b5e23b58968bdea" }, "downloads": -1, "filename": "jw.ip-service-0.1a2.tar.gz", "has_sig": false, "md5_digest": "8737ccc7ced12a0bc3bcf54234ad8f40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5206, "upload_time": "2018-03-11T17:10:59", "url": "https://files.pythonhosted.org/packages/56/13/7f60c8059582e9e24e5bcbb16fcc5641c6c9f8b2b35b11b2acb03f3c964b/jw.ip-service-0.1a2.tar.gz" } ] }