Port details |
- py-bps-restpy BreakingPoint REST API Python Wraper
- 9.0.2 devel
=0 9.0.2Version of this port present on the latest quarterly branch. - Maintainer: dvl@FreeBSD.org
 - Port Added: 2023-04-26 19:27:14
- Last Update: 2023-04-26 21:20:37
- Commit Hash: ef37bcf
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/bps-restpy/
- Description:
- Module for interfacing to BreakingPoint appliance. Let's you connect to their
appliances for simulating real-world legitimate traffic, DDoS, exploits,
malware, and fuzzing.
# Login to BPS box
bps = BPS(bps_system, bpsuser, bpspass)
bps.login()
print("Load a canned test: ")
bps.testmodel.load(canned_test_name)
print("Reserve Ports")
for p in port_list:
bps.topology.reserve([{'slot': slot_number, 'port': p, 'group': 2}])
print("Run test and Get Stats:")
test_id_json = bps.testmodel.run(modelname=canned_test_name, group=2)
testid = str( test_id_json["runid"] )
run_id = 'TEST-' + testid
print("Test Run Id: %s"%run_id)
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}bps_restpy>0:devel/py-bps-restpy@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-bps-restpy/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-bps-restpy
- pkg install py39-bps_restpy
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-bps_restpy listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-bps_restpy
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1677770198
SHA256 (bps_restpy-9.0.2.tar.gz) = f7e0e926f549e1a095019a16f198184b85791b6cc5e1a5ee7bc83aa4989f500c
SIZE (bps_restpy-9.0.2.tar.gz) = 70138
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-requests>0 : www/py-requests@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-bps-restpy
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|