Package: inet.linklayer.configurator.common
StreamRedundancyConfigurator
simple moduleProvides Time-Sensitive Networking (TSN) static stream redundancy configuration. The module automatically configures all the necessary modules related to stream splitting, stream merging and stream filtering in all network nodes. The configuration parameter specifies the streams with a set of path fragments.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
| Name | Type | Description |
|---|---|---|
| SimpleModule | simple module |
Base module for all INET simple modules. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| displayStringTextFormat | string | "" |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
| minVlanId | int | 0 |
Lowest available VLAN ID |
| maxVlanId | int | 4095 |
Highest available VLAN ID |
| configuration | object | [] |
A vector of objects (e.g. [{...}, {...}]) where each object has the following fields: name, source, destination, packetFilter, paths Here is an example: [{name: "S1", packetFilter: "*", source: "source", destination: "destination", trees: [[["s1", "s2a", "s3a"]], [["s1", "s2b", "s3b"]], [["s1", "s2a", "s2b", "s3b"]], [["s1", "s2b", "s2a", "s3a"]]]}] |
Properties
| Name | Value | Description |
|---|---|---|
| class | StreamRedundancyConfigurator | |
| display | i=block/cogwheel |
Source code
// // Provides Time-Sensitive Networking (TSN) static stream redundancy // configuration. The module automatically configures all the necessary modules // related to stream splitting, stream merging and stream filtering in all network // nodes. The configuration parameter specifies the streams with a set of path // fragments. // simple StreamRedundancyConfigurator extends SimpleModule like INetworkConfigurator { parameters: @class(StreamRedundancyConfigurator); int minVlanId = default(0); // Lowest available VLAN ID int maxVlanId = default(4095); // Highest available VLAN ID object configuration @mutable = default([]); // A vector of objects (e.g. [{...}, {...}]) where each object has the following fields: name, source, destination, packetFilter, paths // Here is an example: [{name: "S1", packetFilter: "*", source: "source", destination: "destination", trees: [[["s1", "s2a", "s3a"]], [["s1", "s2b", "s3b"]], [["s1", "s2a", "s2b", "s3b"]], [["s1", "s2b", "s2a", "s3a"]]]}] @display("i=block/cogwheel"); }File: src/inet/linklayer/configurator/common/StreamRedundancyConfigurator.ned