BSD Ports

devel/py-bps-restpy 9.0.2_1 DragonFly

BreakingPoint REST API Python Wraper

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
91.4 KiB, 1310.8 KiB installed

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: %25s"%25run_id)

In the other systems

SystemPortVersion
DragonFlydevel/py-bps-restpy9.0.2_1
FreeBSDdevel/py-bps-restpy9.0.2_1
HardenedBSDdevel/py-bps-restpy9.0.2_1
GhostBSDdevel/py-bps-restpy9.0.2_1

Install

Binary package:

pkg install py311-bps_restpy

From DPorts:

cd /usr/dports/devel/py-bps-restpy && make install clean

Dependencies

Run dependencies 2

No port depends on this one.