{ "info": { "author": "Roman Bogorodskiy", "author_email": "novel@FreeBSD.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python" ], "description": "# sriovmng\n\n## About\n\nsriovmng is a tiny tool to make management of SR-IOV based devices a little\neasier for those who have a hard time to remember all the necessary paths and\nfile name in the sysfs filesystem.\n\n## Usage\n\n### List PF devices\n\n```\n$ sriovmng.py list\np2p1\np2p2\np5p1\np5p2\n$\n```\n\n### Show details about PF devices\n\n```\n$ sriovmng.py show p2p1\n device: 0x10fb\n sriov_numvfs: 7\n vendor: 0x8086\n vfs: 0000:05:10.0 0000:05:10.2 0000:05:10.4 0000:05:10.6 0000:05:11.0 0000:05:11.2 0000:05:11.4\n pci_addr: 0000:05:00.0\n$\n```\n\n * *device*, *vendor*: these are device and vendor IDs\n * *sriov_numvfs*: displays current number of VFs for this devices\n * *vfs*: PCI addresses of the VFs on this device\n * *pci_addr*: PCI address of the device itself\n\n### Getting interface name by PCI address\n\n```\n$ sriovmng.py pci_addr_to_ifname 0000:05:10.2\n0000:05:10.2: p2p1_1\n$ sriovmng.py pci_addr_to_ifname 0000:05:00.0\n0000:05:00.0: p2p1\n$\n```\n\n### Getting PCI address for an interface\n\n```\n$ sriovmng.py ifname_to_pci_addr p2p1\np2p1: 0000:05:00.0\n$ sriovmng.py ifname_to_pci_addr p2p1_1\np2p1_1: 0000:05:10.2\n$\n```\n\n### Setting number of VFs on a PF device\n\n```\n# sriovmng.py numvfs p2p1 0\n#\n```\n\nNote: root access is required to perform this operation.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/novel/sriovmng", "keywords": null, "license": "Apache-2", "maintainer": null, "maintainer_email": null, "name": "sriovmng", "package_url": "https://pypi.org/project/sriovmng/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sriovmng/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/novel/sriovmng" }, "release_url": "https://pypi.org/project/sriovmng/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.1.0" }, "last_serial": 1944839, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e2bff93a9fccc3fd2d97e4a973632729", "sha256": "ab77c6f3a7ff78653777efc015d6141826d70f341f4126a2fe454375f0066aa2" }, "downloads": -1, "filename": "sriovmng-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2bff93a9fccc3fd2d97e4a973632729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7515, "upload_time": "2016-02-07T23:20:18", "url": "https://files.pythonhosted.org/packages/27/1e/749ce45ac737ef3a99250545f0a07775308be893dd22a53577e76f9526d8/sriovmng-0.1.0.tar.gz" } ], "0.1.0.dev13": [] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2bff93a9fccc3fd2d97e4a973632729", "sha256": "ab77c6f3a7ff78653777efc015d6141826d70f341f4126a2fe454375f0066aa2" }, "downloads": -1, "filename": "sriovmng-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2bff93a9fccc3fd2d97e4a973632729", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7515, "upload_time": "2016-02-07T23:20:18", "url": "https://files.pythonhosted.org/packages/27/1e/749ce45ac737ef3a99250545f0a07775308be893dd22a53577e76f9526d8/sriovmng-0.1.0.tar.gz" } ] }