byteblower_test_framework.host module
Host interfaces which serve ByteBlower traffic endpoints.
- class byteblower_test_framework.host.MeetingPoint
Bases:
object
ByteBlower Meeting Point interface.
Added in version 1.2.0: Added for ByteBlower Endpoint support.
- __init__(ip_or_host: str) None
Connect to the ByteBlower Meeting Point.
- Parameters:
ip_or_host (str) – The connection address. This can be the hostname or IPv4/IPv6 address of the ByteBlower Meeting Point.
- property bb_meeting_point: MeetingPoint
Object from the ByteBlower API.
- release() None
Release this host related resources used on the ByteBlower system.
Warning
Releasing resources related to traffic generation and analysis should be done first via the
Scenario.release()
and/orFlow.release()
.Warning
Releasing endpoint resources should be done first via
Port.release()
.
- release_endpoint(endpoint: WirelessEndpoint) None
Release this endpoint resources used on the ByteBlower system.
Removes this device from the list of endpoints used in the test and destroys it on the Meeting Point.
- Parameters:
endpoint (LLEndpoint) – Endpoint to release
- class byteblower_test_framework.host.Server
Bases:
object
ByteBlower Server interface.
- __init__(ip_or_host: str) None
Connect to the ByteBlower server.
- Parameters:
ip_or_host (str) – The connection address. This can be the hostname or IPv4/IPv6 address of the ByteBlower server.
- property bb_server: ByteBlowerServer
Server object from the ByteBlower API.
- release() None
Release this host related resources used on the ByteBlower system.
Warning
Releasing resources related to traffic generation and analysis should be done first via the
Scenario.release()
and/orFlow.release()
.Warning
Releasing endpoint resources should be done first via
Port.release()
.