Compound Module Node3

Package: core4inet.examples.IEEE8021Q.small_network
File: examples/IEEE8021Q/small_network/node3.ned

Node3(1,2,3,4): configuration in node3(1,2,3,4).ini.

NodeStatus IEEE8021QPHYPort BGEtherEncap ISync ITTEScheduler IApplication BGQueueBuffer BGQueueBuffer CheckedBuffer InterfaceTable

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
IEEE8021QEtherHost compound module

Module for a IEEE 802.1Q Host. Contains a EtherEncap for best-effort traffic and a IEEE8021QPHYPort module as physical port.

Networks:

Name Type Description
small_network network

Small sample network with three hosts and one switch that shows how to configure the IEEE 802.1Q Model. Configuration in omnetpp.ini

Parameters:

Name Type Default value Description
numApps int 0

Number of Applications running on the device

numBuffer int 0

Optional: Number of Buffers with Incoming Module for TT and RC traffic (When not manually declared in own deriving .ned file)

numPorts int 1

Number of Ports of the device

hardware_delay double 0us

Forwardingdelay of the device hardware

Properties:

Name Value Description
display bgb=487,314
networkNode
labels node

Gates:

Name Direction Size Description
ethg inout

Physical port of the host

Unassigned submodule parameters:

Name Type Default value Description
status.initialStatus string "UP"

TODO @signal, @statistic

phy.shaper.oscillator string "^.^.scheduler.oscillator"

Oscillator of the timed module (must be set to the name of an oscillator module in the Node) when left empty: oscillator

phy.shaper.timer string "^.^.scheduler.timer"
phy.inControl.oscillator string "oscillator"

Oscillator of the timed module (must be set to the name of an oscillator module in the Node) when left empty: oscillator

phy.inControl.timer string "timer"

Timer of the timed module (must be set to the name of an timer module in the Node) when left empty: timer

phy.mac.interfaceTableModule string

The path to the InterfaceTable module

phy.mac.address string "auto"

MAC address as hex string (12 hex digits), or "auto". "auto" values will be replaced by a generated MAC address in init stage 0.

phy.mac.duplexMode bool true

must be set to "true", as EtherMACFullDuplex does not support half-duplex operation (parameter is present to reduce the risk of accidental misconfiguration)

phy.mac.txQueueLimit int 1000

maximum number of frames queued up for transmission in the internal queue (only used if queueModule==""); additional frames cause a runtime error

phy.mac.mtu int 1500B
phy.mac.connectionColoring bool true

colors the connection when transmitting

encap.useSNAP bool false

create EtherFrameWithSNAP frames instead of EthernetIIFrame

app.buffers string

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

app.displayName string

Name shown above the module

bgIn.destination_gates string ""

Comma seperated list of gates where the frames of the buffer are delivered

bgIn.maxMessageSize int 1522B

The maximum allowed message size for this buffer. Larger Frames are dropped.

bgIn.enabled bool true

Switch to enable and disable the buffer

bgIn.size int -1

Maximum size of the buffer negative means infinite

bgIn.dropNew bool false

Dropping policy, Should the newest frame instead of the oldest frame be dropped when the buffer is full (see size parameter)

bgOut.destination_gates string ""

Comma seperated list of gates where the frames of the buffer are delivered

bgOut.maxMessageSize int 1522B

The maximum allowed message size for this buffer. Larger Frames are dropped.

bgOut.enabled bool true

Switch to enable and disable the buffer

bgOut.size int -1

Maximum size of the buffer negative means infinite

bgOut.dropNew bool false

Dropping policy, Should the newest frame instead of the oldest frame be dropped when the buffer is full (see size parameter)

checkedBuffer.buffer.destination_gates string

Comma seperated list of gates where the frames of the buffer are delivered

interfaceTable.displayAddresses bool true

whether to display IP addresses on links

Source code:

//
// Node3: configuration in node3.ini.
//
module Node3 extends IEEE8021QEtherHost
{
    @display("bgb=487,314");
}