Logical representation of a network host docked somewhere in the Network Under Test, which can transmit or schedule network traffic, process incoming traffic and run stateful network applications. More...
Methods | |
Capability.GetByName | |
Returns a Capability object by its name. More... | |
Capability.IsSupported | |
Checks whether a capability is supported. More... | |
Capability.List.Get | |
Returns a list of Capability objects. More... | |
Description.Get | |
Returns a textual description of the object. | |
Interface.Name.Get | |
Returns physical ByteBlower interface code. More... | |
Interface.Speed.Get | |
Returns physical ByteBlower interface speed. More... | |
Interface.SwitchId.Get | |
Returns physical ByteBlower interface switch identifier. More... | |
Layer2.EthII.Get | |
Returns the layer 2 configuration object of this port. More... | |
Layer2.EthII.Set | |
Sets the layer 2 configuration of this port. More... | |
Layer2.Get | |
Returns the layer 2 configuration object of this port. More... | |
Layer2.Set protocol | |
Sets the layer 2 configuration of this port. More... | |
Layer2_5.Add protocol | |
Adds a layer 2.5 configuration to this port. More... | |
Layer2_5.Get | |
Returns the ordered list of layer 2.5 configuration objects of this port. More... | |
Layer2_5.PPPoE.Add | |
Adds a layer 2.5 PPPoE Client to this port. More... | |
Layer2_5.PPPoE.Get | |
Returns the ordered list of layer 2.5 PPPoE objects of this port. More... | |
Layer2_5.Vlan.Add | |
Adds a layer 2.5 VLAN to this port. More... | |
Layer2_5.Vlan.Get | |
Returns the ordered list of layer 2.5 Vlan objects of this port. More... | |
Layer3.Get | |
Returns the layer 3 configuration object of this port. More... | |
Layer3.IPv4.Get | |
Returns the layer 3 IPv4 configuration object of this port. More... | |
Layer3.IPv4.Set | |
Sets the layer 3 IPv4 configuration of this port. More... | |
Layer3.IPv6.Get | |
Returns the layer 3 IPv6 configuration object of this port. More... | |
Layer3.IPv6.Set | |
Sets the layer 3 IPv6 configuration of this port. More... | |
Layer3.Set protocol | |
Sets the layer 3 configuration of this port. More... | |
MDL.Get | |
Returns the port's current Maximum Data Length (MDL), the maximum ethernet frame size that can be transmitted. More... | |
MDL.Maximum.Get | |
Returns the port's highest allowed Maximum Data Length (MDL) value, which is limited by the physical interface. More... | |
MDL.Set mdl | |
Sets the port's Maximum Data Length (MDL), the maximum ethernet frame size that can be transmitted. More... | |
Name.Get | |
Returns physical ByteBlower interface code. More... | |
Parent.Get | |
Returns the parent object. | |
Protocol.Http.Client.Add | |
Creates a HTTP client application to run on this port. More... | |
Protocol.Http.Client.Get | |
Returns the list of all HTTP client applications created on this port. More... | |
Protocol.Http.MultiClient.Add | |
Creates a Layer5.Http.MultiClient object on this port. More... | |
Protocol.Http.MultiClient.Get | |
Returns the list of a Layer5.Http.MultiClient objects on this port. More... | |
Protocol.Http.MultiServer.Add | |
Creates a Layer5.Http.MultiServer object on this port. More... | |
Protocol.Http.MultiServer.Get | |
Returns the list of a Layer5.Http.MultiServer objects on this port. More... | |
Protocol.Http.Server.Add | |
Creates a HTTP server application to run on this port. More... | |
Protocol.Http.Server.Get | |
Returns the list of all HTTP server applications created on this port. More... | |
Protocol.Rtcp.Add | |
Creates a Real-time Transport Control Protocol (RTCP) end-point on this port. More... | |
Protocol.Rtcp.Get | |
Returns the list of all RTCP end-points created on this port. More... | |
Protocol.Rtp.Add | |
Creates a Real-time Transport Protocol (RTP) end-point on this port. More... | |
Protocol.Rtp.Get | |
Returns the list of all RTP end-points created on this port. More... | |
Protocol.Telnet.Client.Add | |
Creates a Telnet client application to run on this port. More... | |
Protocol.Telnet.Client.Get | |
Returns the list of all Telnet client applications created on this port. More... | |
Result.Clear | |
Clears the counters for the ByteBlower port and empties the Result.History. More... | |
Result.Get | |
Returns ByteBlowerPort.ResultSnapshot object containing global RX counters. More... | |
Result.History.Get | |
Returns the history for the counters ByteBlowerPort.ResultHistory for the ByteBlower port. More... | |
Rx.Capture.Add type | |
Creates a capture tool, which captures the data and metadata of incoming frames (possibly restricted by a filter). More... | |
Rx.Capture.Basic.Add | |
Creates a capture tool, which captures the data and metadata of incoming frames (possibly restricted by a filter). More... | |
Rx.Capture.Basic.Get | |
Returns the list of capture tools created on this port. More... | |
Rx.Capture.Get | |
Returns the list of capture tools created on this port. More... | |
Rx.Latency.Add type | |
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter). More... | |
Rx.Latency.Basic.Add | |
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter). More... | |
Rx.Latency.Basic.Get | |
Returns the list of latency calculators created on this port. More... | |
Rx.Latency.Distribution.Add | |
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter). More... | |
Rx.Latency.Distribution.Get | |
Returns the list of latency calculators created on this port. More... | |
Rx.Latency.Get | |
Returns the list of latency calculators created on this port. More... | |
Rx.OutOfSequence.Add type | |
Creates an out-of-sequence detector, which counts such cases based on sequence numbers in received frames (possibly restricted by a filter). More... | |
Rx.OutOfSequence.Basic.Add | |
Creates an out-of-sequence detector, which counts such cases based on sequence numbers in received frames (possibly restricted by a filter). More... | |
Rx.OutOfSequence.Basic.Get | |
Returns the list of out-of-sequence detectors created on this port. More... | |
Rx.OutOfSequence.Get | |
Returns the list of out-of-sequence detectors created on this port. More... | |
Rx.Trigger.Add type | |
Creates a receive trigger, whose counters are updated for each received frame (possibly restricted by a filter). More... | |
Rx.Trigger.Basic.Add | |
Creates a basic receive trigger, whose counters are updated for each received frame (possibly restricted by a filter). More... | |
Rx.Trigger.Basic.Get | |
Returns the list of receive triggers created on this port. More... | |
Rx.Trigger.Get | |
Returns the list of receive triggers created on this port. More... | |
Rx.Trigger.SizeDistribution.Add | |
Creates a size distribution receive trigger, whose counters are updated for each received frame (possibly restricted by a filter). More... | |
Rx.Trigger.SizeDistribution.Get | |
Returns the list of receive triggers created on this port. More... | |
Server.Get | |
Returns the server connection on which this port was created. More... | |
Start | |
Starts all transmit streams and schedulable objects configured on this port. More... | |
Stop | |
Stops all transmit streams and schedulable objects configured on this port. More... | |
Tunnel.Tcp.Add | |
Creates a TCP tunnel object. More... | |
Tunnel.Tcp.Get | |
Returns a list of all TCP Tunnel objects created on this port. More... | |
Tx.Stream.Add | |
Creates a transmit stream, which can be configured to blast layer 2 frames traffic from this port in a stateless way. More... | |
Tx.Stream.Get | |
Returns a list of transmit streams created on this port. More... | |
Tx.Stream.Start | |
Starts all transmit streams and schedulable objects configured on this port. More... | |
Tx.Stream.Stop | |
Stops all transmit streams and schedulable objects configured on this port. More... | |
Logical representation of a network host docked somewhere in the Network Under Test, which can transmit or schedule network traffic, process incoming traffic and run stateful network applications.
A ByteBlowerPort is physically connected (or 'attached') to the network under test (NUT) through the physical ByteBlower interface on which it is created. See ByteBlowerServer::Port.Create for more information.
Multiple ports may be created on the same physical interface. From a network view, they are just different (simulated) hosts within a shared (datalink or layer 2) subnet. This means traffic to one port created on an interface is seen by all ports on that interface.
Most test scenarios start with one or more ByteBlower ports that are configured to do the following things
When such ports are subsequently activated, the scheduled streams and network actions are performed at the configured time.
From that moment, relevant result data may be pulled from those streams (TX statistics), incoming packet processors (RX statistics) and network applications (application and session statistics).
Destroying a port will clean up everything that is configured on that port in a clean way:
ByteBlowerPort::Capability.GetByName |
Returns a Capability object by its name.
ByteBlower.Exception.API.ConfigError | UnsupportedConfig error message when the Capability is not supported |
Returns:
<Capability object>
ByteBlowerPort::Capability.IsSupported |
ByteBlowerPort::Capability.List.Get |
Returns a list of Capability objects.
Returns:
[ <Capability object> ... ]
ByteBlowerPort::Interface.Name.Get |
Returns physical ByteBlower interface code.
Each ByteBlower port is created on a physical ByteBlower interface of a server. This interface determines where the port will be 'attached' to the Network Under Test.
See ByteBlowerServer::Port.Create for more information and to see how an interface name is structured.
Returns:
trunk-2-44
ByteBlowerPort::Interface.Speed.Get |
Returns physical ByteBlower interface speed.
Each ByteBlower port is created on a physical ByteBlower interface of a server. This interface determines where the port will be 'attached' to the Network Under Test.
See ByteBlowerServer::Port.Create for more information and to see how an interface name is structured.
Returns:
1000000000
ByteBlowerPort::Interface.SwitchId.Get |
Returns physical ByteBlower interface switch identifier.
Each ByteBlower port is created on a physical ByteBlower interface of a server. This interface determines where the port will be 'attached' to the Network Under Test.
On Trunking interfaces, the interface is attached to a switch. Per physical interface, the switch has an unique identifier
Returns:
1
ByteBlowerPort::Layer2.EthII.Get |
Returns the layer 2 configuration object of this port.
ByteBlower.Exception.API.ConfigError | When the layer 2 configuration is not yet set. |
Returns:
<Layer2.EthernetII object>
ByteBlowerPort::Layer2.EthII.Set |
Sets the layer 2 configuration of this port.
Once the layer 2 configuration is set, it cannot be destroyed or overwritten.
ByteBlower.Exception.API.ConfigError | When the layer 2 configuration is already set. |
Configure $port
's network connection as an Ethernet interface.
Returns:
<Layer2.EthernetII object>
See also Tutorial: 3. Create our src-port and dst-port for an extended example
ByteBlowerPort::Layer2.Get |
Returns the layer 2 configuration object of this port.
ByteBlower.Exception.API.ConfigError | When the layer 2 configuration is not yet set. |
Returns:
<Layer2 object>
ByteBlowerPort::Layer2.Set | protocol | ||
Sets the layer 2 configuration of this port.
Once the layer 2 configuration is set, it cannot be destroyed or overwritten.
Only EthernetII is supported.
protocol | Layer 2 configuration type to be used. Case is ignored.
|
ByteBlower.Exception.InvalidValue.Enum | When <protocol> is an unknown value. |
ByteBlower.Exception.API.ConfigError | When the layer 2 configuration is already set. |
Configure $port
's network connection as an Ethernet interface.
Returns:
<Layer2.EthernetII object>
See also Tutorial: 3. Create our src-port and dst-port for an extended example
ByteBlowerPort::Layer2_5.Add | protocol | ||
Adds a layer 2.5 configuration to this port.
Multiple layer 2.5 configurations can be added. They will be stacked on top each other in the the port's network stack from the bottom up.
Once a layer 2.5 configuration is added to a port, it cannot be destroyed or removed.
protocol | Layer 2.5 configuration type to be added. Case is ignored.
|
ByteBlower.Exception.InvalidValue.Enum | When <protocol> is an unknown value. |
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
Configure $port
's network connection as a VLAN-enabled virtual interface.
Returns:
<Layer2_5.Vlan object>
ByteBlowerPort::Layer2_5.Get |
Returns the ordered list of layer 2.5 configuration objects of this port.
Returns:
[ <Layer2_5 object> ... ]
ByteBlowerPort::Layer2_5.PPPoE.Add |
Adds a layer 2.5 PPPoE Client to this port.
Once a layer 2.5 configuration is added to a port, it cannot be destroyed or removed.
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
Configure $port
's network connection as a VLAN-enabled virtual interface.
Returns:
<Layer2_5.Pppoe.Client object>
ByteBlowerPort::Layer2_5.PPPoE.Get |
Returns the ordered list of layer 2.5 PPPoE objects of this port.
PPPoE objects can be added by Layer2_5.PPPoE.Add.
Returns:
[ <Layer2_5.Pppoe.Client object> ... ]
ByteBlowerPort::Layer2_5.Vlan.Add |
Adds a layer 2.5 VLAN to this port.
Multiple layer 2.5 configurations can be added. They will be stacked on top each other in the the port's network stack from the bottom up.
Once a layer 2.5 configuration is added to a port, it cannot be destroyed or removed.
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
Configure $port
's network connection as a VLAN-enabled virtual interface.
Returns:
<Layer2_5.Vlan object>
ByteBlowerPort::Layer2_5.Vlan.Get |
Returns the ordered list of layer 2.5 Vlan objects of this port.
VLAN objects can be added by Layer2_5.Vlan.Add.
Returns:
[ <Layer2_5.Vlan object> ... ]
ByteBlowerPort::Layer3.Get |
Returns the layer 3 configuration object of this port.
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is not yet set. |
Returns:
<Layer3 object>
ByteBlowerPort::Layer3.IPv4.Get |
Returns the layer 3 IPv4 configuration object of this port.
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is not yet set. |
Returns:
<Layer3.IPv4 object>
ByteBlowerPort::Layer3.IPv4.Set |
Sets the layer 3 IPv4 configuration of this port.
Once a layer 3 configuration is set, it cannot be destroyed or overwritten.
Both IPv4 and IPv6 are supported. Dual stack is not available on a single port, but can be achieved by creating 2 separate ports with identical layer 2 and (possibly) layer 2.5 configurations.
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is already set. |
Configure port
's network connection as an IPv4 host.
Returns:
<Layer3.IPv4 object>
See also Tutorial: 3. Create our src-port and dst-port for an extended example
ByteBlowerPort::Layer3.IPv6.Get |
Returns the layer 3 IPv6 configuration object of this port.
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is not yet set. |
Returns:
<Layer3.IPv6 object>
ByteBlowerPort::Layer3.IPv6.Set |
Sets the layer 3 IPv6 configuration of this port.
Once a layer 3 configuration is set, it cannot be destroyed or overwritten.
Both IPv4 and IPv6 are supported. Dual stack is not available on a single port, but can be achieved by creating 2 separate ports with identical layer 2 and (possibly) layer 2.5 configurations.
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is already set. |
Configure port
's network connection as an IPv6 host.
Returns:
<Layer3.IPv6 object>
See also Tutorial: 3. Create our src-port and dst-port for an extended example
ByteBlowerPort::Layer3.Set | protocol | ||
Sets the layer 3 configuration of this port.
Once a layer 3 configuration is set, it cannot be destroyed or overwritten.
Both IPv4 and IPv6 are supported. Dual stack is not available on a single port, but can be achieved by creating 2 separate ports with identical layer 2 and (possibly) layer 2.5 configurations.
protocol | Layer 3 configuration type to be used. Case is ignored.
|
ByteBlower.Exception.InvalidValue.Enum | When <protocol> is an unknown value. |
ByteBlower.Exception.API.ConfigError | When an underlying layer 2 or layer 2.5 configuration is not yet fully configured. |
ByteBlower.Exception.API.ConfigError | When the layer 3 configuration is already set. |
Configure port
's network connection as an IPv4 host.
Returns:
<Layer3.IPv4 object>
See also Tutorial: 3. Create our src-port and dst-port for an extended example
ByteBlowerPort::MDL.Get |
Returns the port's current Maximum Data Length (MDL), the maximum ethernet frame size that can be transmitted.
The MDL is the maximum size (in bytes) for any ethernet packet leaving the port. It includes the ethernet header, but excludes CRC, preamble and interframe gap. To calculate the maximum size of the layer 2 payload, substract the 14 bytes of the ethernet header.
This payload may be a layer 3 IP packet, a layer 2.5 VLAN tag followed by such a layer 3 IP packet or anything else.
The MDL value defaults to 1514, which corresponds with a layer 2 payload of 1500 bytes.
This value is used by the protocol stack. For example, the announced TCP Maximum Segment Size (MSS) is based on this MDL value. This value also limits the number of bytes that can be placed in a Frame when calling Frame::Bytes.Set.
Typical values for a trunking and non-trunking port.
Returns:
1514
Returns:
1514
ByteBlowerPort::MDL.Maximum.Get |
Returns the port's highest allowed Maximum Data Length (MDL) value, which is limited by the physical interface.
The MDL of a ByteBlower port places a limit on the size of ethernet frames that may be sent on that port. It can be modified by the user through MDL.Set. The MDL value (in bytes) covers the whole ethernet packet, but excluding CRC, preamble and interframe gap.
The physical ByteBlower interface (e.g. nontrunk-1) on which a port is created places an upper bound on the allowed MDL values. Through this method, this property can be retrieved at runtime.
The typical value of the maximum MDL is 9014 on non-trunking interfaces and 9010 on trunking interfaces.
Typical values for a trunking and a non-trunking port.
Returns:
9010
Returns:
9014
ByteBlowerPort::MDL.Set | mdl | ||
Sets the port's Maximum Data Length (MDL), the maximum ethernet frame size that can be transmitted.
See MDL.Get for more information.
mdl | New MDL value in bytes. Should be less then the value returned by ByteBlowerPort::MDL.Maximum.Get. |
ByteBlower.Exception.InvalidValue.Integer | When <mdl> is no integer. |
TBD | When the provided value was larger than the maximum supported MDL. TODO: Decide on this exception and document (Tim, February 2015) |
ByteBlowerPort::Name.Get |
Returns physical ByteBlower interface code.
See Interface.Name.Get for more information.
Returns:
trunk-2-44
ByteBlowerPort::Protocol.Http.Client.Add |
Creates a HTTP client application to run on this port.
A Layer5.Http.Client application can initiate customized HTTP sessions that are typically used to emulate a TCP connection.
It allows configuring the special HTTP requests to which a running Layer5.Http.Server application responds. For example, an HTTP client can ask (GET) for a response of a specified size or time or may send (PUT) a payload of a specified size or time itself.
Besides constructing such special HTTP requests, the HTTP client can interact with any normal webserver by configuring its URL.
Returns:
<Layer5.Http.Client object>
ByteBlowerPort::Protocol.Http.Client.Get |
Returns the list of all HTTP client applications created on this port.
See Protocol.Http.Client.Add for more information.
Returns:
[ <Layer5.Http.Client object> ... ]
ByteBlowerPort::Protocol.Http.MultiClient.Add |
Creates a Layer5.Http.MultiClient object on this port.
Returns:
<Layer5.Http.MultiClient object>
ByteBlowerPort::Protocol.Http.MultiClient.Get |
Returns the list of a Layer5.Http.MultiClient objects on this port.
Returns:
[ <Layer5.Http.MultiClient object> ... ]
ByteBlowerPort::Protocol.Http.MultiServer.Add |
Creates a Layer5.Http.MultiServer object on this port.
Returns:
<Layer5.Http.MultiServer object>
ByteBlowerPort::Protocol.Http.MultiServer.Get |
Returns the list of a Layer5.Http.MultiServer objects on this port.
Returns:
[ <Layer5.Http.MultiServer object> ... ]
ByteBlowerPort::Protocol.Http.Server.Add |
Creates a HTTP server application to run on this port.
An Layer5.Http.Server application is a customized HTTP server that is typically used to emulate a TCP connection.
It listens for special HTTP requests (send by Layer5.Http.Client applications) and responds in the desired way. For example, an HTTP request may ask (GET) for a response of a specified size and the HTTP server will emulate sending such a file back.
Returns:
<Layer5.Http.Server object>
ByteBlowerPort::Protocol.Http.Server.Get |
Returns the list of all HTTP server applications created on this port.
See Protocol.Http.Server.Add for more information.
Returns:
[ <Layer5.Http.Server object> ... ]
ByteBlowerPort::Protocol.Rtcp.Add |
Creates a Real-time Transport Control Protocol (RTCP) end-point on this port.
A Layer5.Rtcp end-point can communicate with its peers, either on external hosts or on other ByteBlower ports.
It is used together with its sister protocol RTP (see Protocol.Rtp.Add) for multimedia streaming scenarios, in which the RTP flow carries the data and RTCP provides out-of-band statistics and control information for it.
Returns:
<Layer5.Rtcp object>
ByteBlowerPort::Protocol.Rtcp.Get |
Returns the list of all RTCP end-points created on this port.
See Protocol.Rtcp.Add for more information.
Returns:
[ <Layer5.Rtcp object> ... ]
ByteBlowerPort::Protocol.Rtp.Add |
Creates a Real-time Transport Protocol (RTP) end-point on this port.
A Layer5.Rtp end-point can communicate with its peers, either on external hosts or on other ByteBlower ports.
It defines a standardized packet format for audio and video streaming and is typically (but not necessarily) used together with its sister protocol RTCP (see Protocol.Rtcp.Add).
Returns:
<Layer5.Rtp object>
ByteBlowerPort::Protocol.Rtp.Get |
Returns the list of all RTP end-points created on this port.
See Protocol.Rtp.Add for more information.
Returns:
[ <Layer5.Rtp object> ... ]
ByteBlowerPort::Protocol.Telnet.Client.Add |
Creates a Telnet client application to run on this port.
A Layer5.Telnet.Client application can contact and interact with an external Telnet server.
Apart from simulating such scenarios for its own sake, this application can be used to contact important nodes within the Network Under Test (e.g. a router) and retrieve relevant statistics from it.
Returns:
<Layer5.Telnet.Client object>
ByteBlowerPort::Protocol.Telnet.Client.Get |
Returns the list of all Telnet client applications created on this port.
See Protocol.Telnet.Client.Add for more information.
Returns:
[ <Layer5.Telnet.Client object> ... ]
ByteBlowerPort::Result.Clear |
ByteBlowerPort::Result.Get |
Returns ByteBlowerPort.ResultSnapshot object containing global RX counters.
Returns:
<ByteBlowerPort.ResultSnapshot object>
ByteBlowerPort::Result.History.Get |
Returns the history for the counters ByteBlowerPort.ResultHistory for the ByteBlower port.
Returns:
<ByteBlowerPort.ResultHistory object>
ByteBlowerPort::Rx.Capture.Add | type | ||
Creates a capture tool, which captures the data and metadata of incoming frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching packets to the interesting traffic, especially since capturing all incoming bytes at high rates may place a heavy load on the server.
See the class documentation of the returned types for more information.
tcpdump
tool can sniff the server's (native) data interfaces.type | Capture tool type to be created. Case is ignored.
basic |
ByteBlower.Exception.InvalidValue.Enum | When <type> is an unknown value. |
Returns:
<Rx.Capture.RawPacket object>
ByteBlowerPort::Rx.Capture.Basic.Add |
Creates a capture tool, which captures the data and metadata of incoming frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching packets to the interesting traffic, especially since capturing all incoming bytes at high rates may place a heavy load on the server.
See the class documentation of the returned types for more information.
tcpdump
tool can sniff the server's (native) data interfaces.The returned capture tool is a basic capture tool stores both the frame data and some metadata.
Returns:
<Rx.Capture.RawPacket object>
ByteBlowerPort::Rx.Capture.Basic.Get |
Returns the list of capture tools created on this port.
See Rx.Capture.Basic.Add for more information.
Returns:
[ <Rx.Capture.RawPacket object> ... ]
ByteBlowerPort::Rx.Capture.Get |
Returns the list of capture tools created on this port.
See Rx.Capture.Add for more information.
Returns:
[ <Rx.Capture object> ... ]
ByteBlowerPort::Rx.Latency.Add | type | ||
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching traffic to the Tx.Stream whose transmitted frames actually contain the required timestamps!
The latency calculator is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information. See Frame for information on timestamping.
type | Receive latency calculator type to be created. Case is ignored.
basic |
ByteBlower.Exception.InvalidValue.Enum | When <type> is an unknown value. |
Returns:
<Rx.Latency.Basic object>
Returns:
<Rx.Latency.Distribution object>
ByteBlowerPort::Rx.Latency.Basic.Add |
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching traffic to the Tx.Stream whose transmitted frames actually contain the required timestamps!
The latency calculator is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information. See Frame for information on timestamping.
Returns:
<Rx.Latency.Basic object>
ByteBlowerPort::Rx.Latency.Basic.Get |
Returns the list of latency calculators created on this port.
See Rx.Latency.Basic.Add for more information.
Returns:
[ <Rx.Latency.Basic object> ... ]
ByteBlowerPort::Rx.Latency.Distribution.Add |
Creates a latency calculator, which computes latency measurements based on timestamps in received frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching traffic to the Tx.Stream whose transmitted frames actually contain the required timestamps!
The latency calculator is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information. See Frame for information on timestamping.
Returns:
<Rx.Latency.Distribution object>
ByteBlowerPort::Rx.Latency.Distribution.Get |
Returns the list of latency calculators created on this port.
See Rx.Latency.Distribution.Add for more information.
Returns:
[ <Rx.Distribution.Basic object> ... ]
ByteBlowerPort::Rx.Latency.Get |
Returns the list of latency calculators created on this port.
See Rx.Latency.Add for more information.
Returns:
[ <Rx.Latency object> ... ]
ByteBlowerPort::Rx.OutOfSequence.Add | type | ||
Creates an out-of-sequence detector, which counts such cases based on sequence numbers in received frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching traffic to the Tx.Stream whose transmitted frames actually contain the required sequence numbers!
The out-of-sequence detector is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information. See Frame for information on timestamping.
type | Out-of-sequence detector type to be created. Case is ignored.
basic |
ByteBlower.Exception.InvalidValue.Enum | When <type> is an unknown value. |
Returns:
<Rx.OutOfSequence.Basic object>
ByteBlowerPort::Rx.OutOfSequence.Basic.Add |
Creates an out-of-sequence detector, which counts such cases based on sequence numbers in received frames (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
Typically, the filter should limit the matching traffic to the Tx.Stream whose transmitted frames actually contain the required sequence numbers!
The out-of-sequence detector is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information. See Frame for information on timestamping.
The Out-of-sequence detector type to be created is a detector that counts frames with sequence numbers and counts the out-of-order arrivals.
Returns:
<Rx.OutOfSequence.Basic object>
ByteBlowerPort::Rx.OutOfSequence.Basic.Get |
Returns the list of out-of-sequence detectors created on this port.
See Rx.OutOfSequence.Basic.Add for more information.
Returns:
[ <Rx.OutOfSequence.Basic object> ... ]
ByteBlowerPort::Rx.OutOfSequence.Get |
Returns the list of out-of-sequence detectors created on this port.
See Rx.OutOfSequence.Add for more information.
Returns:
[ <Rx.OutOfSequence object> ... ]
ByteBlowerPort::Rx.Trigger.Add | type | ||
Creates a receive trigger, whose counters are updated for each received frame (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
The receive trigger is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information.
type | Receive trigger type to be created. Case is ignored.
basic |
ByteBlower.Exception.InvalidValue.Enum | When <type> is an unknown value. |
Returns:
<Rx.Trigger.Basic object>
Returns:
<Rx.Trigger.SizeDistribution object>
ByteBlowerPort::Rx.Trigger.Basic.Add |
Creates a basic receive trigger, whose counters are updated for each received frame (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
The receive trigger is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information.
Returns:
<Rx.Trigger.Basic object>
ByteBlowerPort::Rx.Trigger.Basic.Get |
Returns the list of receive triggers created on this port.
See Rx.Trigger.Basic.Add for more information.
Returns:
[ <Rx.TriggerBasic object> ... ]
ByteBlowerPort::Rx.Trigger.Get |
Returns the list of receive triggers created on this port.
See Rx.Trigger.Add for more information.
Returns:
[ <Rx.Trigger object> ... ]
ByteBlowerPort::Rx.Trigger.SizeDistribution.Add |
Creates a size distribution receive trigger, whose counters are updated for each received frame (possibly restricted by a filter).
Like all incoming packet processors (or 'Rx' objects), this object listens to incoming traffic matching a configurable BPF filter and performs some action when it arrives.
The receive trigger is activated as soon as it is created, so don't forget to reset its counters after setting the filter and initializing your test.
See the class documentation of the returned types for more information.
Returns:
<Rx.Trigger.SizeDistribution object>
ByteBlowerPort::Rx.Trigger.SizeDistribution.Get |
Returns the list of receive triggers created on this port.
See Rx.Trigger.SizeDistribution.Add for more information.
Returns:
[ <Rx.TriggerSizeDistribution object> ... ]
ByteBlowerPort::Server.Get |
Returns the server connection on which this port was created.
Returns:
<ByteBlowerServer object>
ByteBlowerPort::Start |
Starts all transmit streams and schedulable objects configured on this port.
See ByteBlower::Ports.Start, which does the same for a set of ports, for more information.
ByteBlowerPort::Stop |
Stops all transmit streams and schedulable objects configured on this port.
See ByteBlower::Ports.Stop, which does the same for a set of ports, for more information.
ByteBlowerPort::Tunnel.Tcp.Add |
Creates a TCP tunnel object.
A Layer4.Tcp.Tunnel can be used to configure TCP port forwarding between the user's office network and the lab network.
Through the protocol, a client can requesting dynamic changes to the firewall or NAT port forwarding settings of a (PCP-enabled) gateway.
Returns:
<Layer4.Tcp.Tunnel object>
ByteBlowerPort::Tunnel.Tcp.Get |
Returns a list of all TCP Tunnel objects created on this port.
See Tunnel.Tcp.Add for more information.
ByteBlowerPort::Tx.Stream.Add |
Creates a transmit stream, which can be configured to blast layer 2 frames traffic from this port in a stateless way.
Initially, a stream does not contain any traffic. It must still be configured by adding content (in the form of Frame objects) and timing information (especially the interframe gap). See Tx.Stream for more information.
A Tx.Stream can be compared to the transmitting part of a frame blasting flow in the GUI.
Returns:
<Tx.Stream object>
ByteBlowerPort::Tx.Stream.Get |
ByteBlowerPort::Tx.Stream.Start |
Starts all transmit streams and schedulable objects configured on this port.
See Start for more information.
ByteBlowerPort::Tx.Stream.Stop |
Stops all transmit streams and schedulable objects configured on this port.
See Stop for more information.