{ "info": { "author": "Ping Xiong", "author_email": "p.xiong@f5.com", "bugtrack_url": null, "classifiers": [], "description": "A python package for region based abtesting.\r\n\r\nInstallation Guide\r\n1. Install Python (if not has python installed)\r\n Download python 2.7: https://www.python.org/downloads/release/python-2712/\r\n Install Python 2.7\r\n2. Install pip\r\n To install pip, follow the link https://pip.pypa.io/en/latest/installing/\r\n Download get-pip.py, https://bootstrap.pypa.io/get-pip.py\r\n python get-pip.py\r\n3. Install f5-sdk\r\n pip install f5-sdk\r\n4. Install f5abtesting\r\n pip install f5abtesting\r\n5. Patch f5-sdk\r\n Copy f5sdk_pool_patch.py to pool.py in f5-sdk package\r\n\r\n------------------------------------------------------------------\r\n\r\n2 configure files need for the initialization.\r\n\r\nip2region.conf, input IP address to region mapping, here is an example:\r\nregion1 10.0.0.0/24\r\nregion1 10.10.2.0/24\r\nregion2 10.20.2.0/24\r\nregion2 10.30.0.0/24\r\nregion3 10.40.2.0/24\r\nregion3 10.50.2.0/24\r\n\r\nirules_tmp.conf, an irules for F5 BIG-IP to distribute traffic to B pool:\r\n# Replace ab_demo with the actual name of the virtual server\r\n\r\nwhen CLIENT_ACCEPTED {\r\n\tset debug 1\r\n\tset vs_name_dg_ip2region ab_demo_dg_ip2region\r\n\tset vs_name_dg_region2b ab_demo_dg_region2b\r\n\tset vs_name_pool_b ab_demo_pool_b\r\n\r\n\tset region_name [class lookup [IP::client_addr] $vs_name_dg_ip2region ]\r\n\tif {$debug} {\r\n\t\tlog local0. \"Client [IP::client_addr] accepted from $region_name, will be assigned to $vs_name_pool_b\"\r\n\t}\r\n\tif { [class match $region_name equals $vs_name_dg_region2b]} {\r\n\t\tpool $vs_name_pool_b\r\n\t\tif {$debug} {\r\n\t\t\tlog local0. \"region $region_name is assigned to $vs_name_pool_b\"\r\n\t\t}\r\n\t}\r\n}", "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/xp2014/f5abtesting", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "f5abtesting", "package_url": "https://pypi.org/project/f5abtesting/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/f5abtesting/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/xp2014/f5abtesting" }, "release_url": "https://pypi.org/project/f5abtesting/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "A python package for region based abtesting", "version": "0.1.4" }, "last_serial": 2387890, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5cb645dea329dab149e3b29671f8eba5", "sha256": "ce5f2946578d0a4b473bf2caeaafdc93a8020b815c4b79c456f81d686e2657e2" }, "downloads": -1, "filename": "f5abtesting-0.1.0.zip", "has_sig": false, "md5_digest": "5cb645dea329dab149e3b29671f8eba5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6472, "upload_time": "2016-08-24T16:03:07", "url": "https://files.pythonhosted.org/packages/e2/26/20d18706e2891eb71eecb3781a96302a3aa54882df8da0830948c2e5f884/f5abtesting-0.1.0.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "258ab1cf334f89858e269214704791ca", "sha256": "32dfc28df45a6faf7470bfdd7c677c64f25dbcb9c1380571b48dc4df1cb01ee3" }, "downloads": -1, "filename": "f5abtesting-0.1.2.zip", "has_sig": false, "md5_digest": "258ab1cf334f89858e269214704791ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7974, "upload_time": "2016-08-25T16:05:19", "url": "https://files.pythonhosted.org/packages/5e/f8/390a8a874e0092ac7e7848dae8b0f7124f844fbe4c89bdde9d6f2a9d8d62/f5abtesting-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2cdcac727c8e6c90ab5aca189b52a751", "sha256": "6366499aff30007b4c28f8b823354ccdfc33c3119c099533da23847445bf59a9" }, "downloads": -1, "filename": "f5abtesting-0.1.3.zip", "has_sig": false, "md5_digest": "2cdcac727c8e6c90ab5aca189b52a751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10525, "upload_time": "2016-09-01T11:57:15", "url": "https://files.pythonhosted.org/packages/58/b4/9ea0ba87c3d2e3a5f088ee2d63d992cc2bb5d1682688542cf9a8ba09ea14/f5abtesting-0.1.3.zip" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "9c5b553977e5ecaabdd8357d392d000a", "sha256": "a0944ba06001e1d4a7f3995f2274d37aa87fa6492fdb3ee85d0e22b09c7fd7c3" }, "downloads": -1, "filename": "f5abtesting-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9c5b553977e5ecaabdd8357d392d000a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7637, "upload_time": "2016-10-08T09:14:13", "url": "https://files.pythonhosted.org/packages/82/12/37e455aa9d81357f18e702ae9b34de715096aa123530b499703eb078f19a/f5abtesting-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9c5b553977e5ecaabdd8357d392d000a", "sha256": "a0944ba06001e1d4a7f3995f2274d37aa87fa6492fdb3ee85d0e22b09c7fd7c3" }, "downloads": -1, "filename": "f5abtesting-0.1.4.tar.gz", "has_sig": false, "md5_digest": "9c5b553977e5ecaabdd8357d392d000a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7637, "upload_time": "2016-10-08T09:14:13", "url": "https://files.pythonhosted.org/packages/82/12/37e455aa9d81357f18e702ae9b34de715096aa123530b499703eb078f19a/f5abtesting-0.1.4.tar.gz" } ] }