Simple Module IEEE8021QBurstTrafficSourceApp

Package: core4inet.applications.trafficsource.IEEE8021Q
File: src/core4inet/applications/trafficsource/IEEE8021Q/IEEE8021QBurstTrafficSourceApp.ned

C++ definition

Traffic source application used for IEEE 802.1Q burst traffic.

See also: ~BGBurstTrafficSourceApp, ~RCBurstTrafficSourceApp

Author: Philipp Meyer

IEEE8021QBurstTrafficSourceApp

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

Name Type Description
BGBurstTrafficSourceApp simple module

Background burst traffic source application. Uses multiple EtherFrame with encapsulated cPacket as payload to generate bursts This generator generates bursts with sendInterval distance

Parameters:

Name Type Default value Description
displayName string ""

Name shown above the module

buffers string "bgOut"

Comma seperated list of buffer modules the application is allowed to use

buffers_manual bool false

If true, buffer management is not used. Applications use their own methods to locate buffers

enabled bool true

Trafficsource enabled or disabled

startTime double 0s

Start time

payload int 46Byte

Size of the payload of the message (size of encapsulated cPacket) that is being generated

destAddress string "auto"

destination MAC address

sendInterval double uniform(0s,1s)

interval between sending requests

burstSize int 1MiB

total size of the burst

priority int 0

IEEE 802.1q priority (0=None, 1=Lowest, 7=Highest)

vid int 0

VLAN ID (0=untagged, 4094=Highest)

Properties:

Name Value Description
class IEEE8021QBurstTrafficSourceApp
display i=block/source,darkgreen

Gates:

Name Direction Size Description
schedulerIn input

Input gate for the incoming Scheduler messages

Signals:

Name Type Unit
burstSizeSignal

Statistics:

Name Title Source Record Unit Interpolation Mode
burstSizeOverTime burst size over time burstSizeSignal stats?, histogram?, vector? B linear

Source code:

//
// Traffic source application used for IEEE 802.1Q burst traffic.
//
//
// @see ~BGBurstTrafficSourceApp, ~RCBurstTrafficSourceApp
//
// @author Philipp Meyer
//
simple IEEE8021QBurstTrafficSourceApp extends BGBurstTrafficSourceApp
{
    parameters:
        @class(IEEE8021QBurstTrafficSourceApp);
        @display("i=block/source,darkgreen");

        // IEEE 802.1q priority (0=None, 1=Lowest, 7=Highest)
        int priority = default(0);
        // VLAN ID (0=untagged, 4094=Highest)
        int vid = default(0);
}