{ "info": { "author": "Tomasz Osinski, Mateusz Kossakowski", "author_email": "osinstom@gmail.com, mateusz.kossakowski.10@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ], "description": "# Requirements #\n\nThis package has not only PyPi dependencies. It needs installation of PI:\nhttps://github.com/p4lang/PI \n1. Install PI and its dependencies using `install_P4Runtime.sh` script (this script comes from https://github.com/jafingerhut/p4-guide). \n`cd scripts` \n`chmod +x install_P4Runtime.sh` \n`./install_P4Runtime.sh` \n\n2. Copy from this repository p4runtime.proto file to folder\nPI/proto/p4runtime/proto/p4/v1 \n`cp /proto/p4runtime.proto /proto/p4runtime/proto/p4/v1`\n\n3. Run PI installation once again: \n`./autogen.sh` \n`./configure --with-proto` \n`make` \n`make check` \n`[sudo] make install` \n\n3. Install PI and its dependencies using `install_P4Runtime.sh` script (this script comes from https://github.com/jafingerhut/p4-guide). \n`cd scripts` \n`chmod +x install_P4Runtime.sh` \n`./install_P4Runtime.sh` \n\n1. Clone PI and submodules \n`git clone https://github.com/p4lang/PI` \n`cd PI` \n`git submodule update --init --recursive` \n\nInstall PI according to its own instructions (including grpc, protobuf, etc.). \nProbably before protobuf installation you will have to install following dependencies on your own: \n`sudo apt-get --yes install autoconf automake libtool curl make g++ unzip` \n`sudo apt-get --yes install zlib1g-dev` \n`sudo apt-get --yes install cmake g++ git automake libtool libgc-dev bison flex libfl-dev libgmp-dev libboost-dev libboost-iostreams-dev libboost-graph-dev llvm pkg-config python python-scapy python-ipaddr python-ply tcpdump`\n\n\n## P4Runtime server - ovs-p4srv ##\n\nThe ovs-p4srv P4Runtime server translates requests from P4Runtime to oko switch CLI commands.\n\n### How to run? ###\n\nRun following command:\n\n`user@hostname:~$ ovs-p4srv`\n\n## Command line tool - ovs-p4ctl ##\n\nThe ovs-p4ctl program is a command line tool for monitoring and administering oko switch via P4Runtime.\n\n### How to use? ###\n\nThe tool can be used as follows:\n\n`user@hostname:~$ ovs-p4ctl [command] [args...]`\n\n#### Commands ####\n\nEvery command requires at least one argument `--pipeline-id` - an identifier of a programme. \nSwitch can have multiple programs. \n\n##### load_config #####\nLoads compiled program to a switch.\n\nArguments: `--pipeline-id | --p4info-path | --config-path`\n\n##### get_config #####\nDownloads current program from a switch\n\nArguments: `--pipeline-id | --response-type | --show | --p4info-path | --config-path`\n\n##### table_update #####\nUpdates table entries\n\nArguments: `--pipeline-id | --p4info-path | --entry`\n\n##### table_dump #####\nPrints to the console information about table entries\n\nArguments: `--pipeline-id | --p4info-path | --table`\n\n### Contact ###\n\nTomek Osi\u0144ski < tomasz.osinski2@orange.com / osinstom@gmail.com >\n\nMateusz Kossakowski < mateusz.kossakowski@orange.com / mateusz.kossakowski.10@gmail.com >", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "ovs-p4", "package_url": "https://pypi.org/project/ovs-p4/", "platform": "", "project_url": "https://pypi.org/project/ovs-p4/", "project_urls": null, "release_url": "https://pypi.org/project/ovs-p4/0.0.6/", "requires_dist": null, "requires_python": ">=2.7", "summary": "The package contains a P4Runtime server for P4 capable ovs switch and a ovs-p4ctl command line tool for monitoring and administering", "version": "0.0.6", "yanked": false, "yanked_reason": null }, "last_serial": 6040520, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9719c063e5564d6388f652d4cf42a970", "sha256": "0fc62c4bdc29c7589c3af7d16a6fb2ffa07935b727e4f215e0d49cf7aca6686b" }, "downloads": -1, "filename": "ovs-p4-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9719c063e5564d6388f652d4cf42a970", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 31586, "upload_time": "2019-10-28T06:44:19", "upload_time_iso_8601": "2019-10-28T06:44:19.863833Z", "url": "https://files.pythonhosted.org/packages/09/f3/b741c69824f85007d3f625ebc60ec2954ba14a9362977da1823774657829/ovs-p4-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1c45811955316f2f7c75d27d77a22223", "sha256": "837d473f9c0576c797bdf5968106cf2b0b4f5d5bbcd0383ae5175ec0578cef66" }, "downloads": -1, "filename": "ovs-p4-0.0.2.tar.gz", "has_sig": false, "md5_digest": "1c45811955316f2f7c75d27d77a22223", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 32157, "upload_time": "2019-10-28T07:13:52", "upload_time_iso_8601": "2019-10-28T07:13:52.677275Z", "url": "https://files.pythonhosted.org/packages/9e/e0/4f9757453aa1b409de8d6f03965268c6ae9767c163e699bd0684dc863751/ovs-p4-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e65c392a785d147c386e82bb8b041338", "sha256": "3a599eaa57a4315dd3704645742382e08e18c80e2cbd0574bb073f826a122b37" }, "downloads": -1, "filename": "ovs-p4-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e65c392a785d147c386e82bb8b041338", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 31765, "upload_time": "2019-10-28T08:20:31", "upload_time_iso_8601": "2019-10-28T08:20:31.144460Z", "url": "https://files.pythonhosted.org/packages/aa/af/a1dbfa89c7790457d99f6d95512f2c86b2972dc9e3d28ae9635fbd57e5a0/ovs-p4-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "058cbd60bd81e7051db010a6274bc430", "sha256": "ce69cb329650e3072114e9ddb62ee46942a57b22fd7a08fcb840fa8c7629fa57" }, "downloads": -1, "filename": "ovs-p4-0.0.5.tar.gz", "has_sig": false, "md5_digest": "058cbd60bd81e7051db010a6274bc430", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 32146, "upload_time": "2019-10-28T09:55:44", "upload_time_iso_8601": "2019-10-28T09:55:44.396741Z", "url": "https://files.pythonhosted.org/packages/b1/cf/1d80c5a14a59cd40cbb23b7ff40b6870fb377c34ba72d5ff7ad706c4b16d/ovs-p4-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "31533b7bab4e8792c6a650e41574dad5", "sha256": "1b15527fcfc28f04528d0553f1597b9bec71ed88ab398ef96706ea43768b9d04" }, "downloads": -1, "filename": "ovs-p4-0.0.6.tar.gz", "has_sig": false, "md5_digest": "31533b7bab4e8792c6a650e41574dad5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 32137, "upload_time": "2019-10-28T10:15:45", "upload_time_iso_8601": "2019-10-28T10:15:45.382250Z", "url": "https://files.pythonhosted.org/packages/70/df/10b09911d0e99b24c70e999fe5bf04f2da170a4b24ddc7fd9c274b024588/ovs-p4-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31533b7bab4e8792c6a650e41574dad5", "sha256": "1b15527fcfc28f04528d0553f1597b9bec71ed88ab398ef96706ea43768b9d04" }, "downloads": -1, "filename": "ovs-p4-0.0.6.tar.gz", "has_sig": false, "md5_digest": "31533b7bab4e8792c6a650e41574dad5", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 32137, "upload_time": "2019-10-28T10:15:45", "upload_time_iso_8601": "2019-10-28T10:15:45.382250Z", "url": "https://files.pythonhosted.org/packages/70/df/10b09911d0e99b24c70e999fe5bf04f2da170a4b24ddc7fd9c274b024588/ovs-p4-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }