Traffic conditioner used in Experiment 3.2.
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Default value | Description |
---|---|---|---|
interfaceTableModule | string |
Name | Value | Description |
---|---|---|
display | i=block/classifier |
Name | Direction | Size | Description |
---|---|---|---|
in | input | ||
out | output |
Name | Type | Default value | Description |
---|---|---|---|
meter.interfaceTableModule | string |
The path to the InterfaceTable module |
|
meter.cir | string |
committed information rate, either absolute bitrate (e.g. "100kbps"), or relative to the link's datarate (e.g. "20%") |
|
meter.cbs | int |
committed burst size |
|
meter.colorAwareMode | bool | false |
enables color-aware mode |
// // Traffic conditioner used in Experiment 3.2. // module TC3 like ITrafficConditioner { parameters: string interfaceTableModule; *.interfaceTableModule = default(absPath(interfaceTableModule)); @display("i=block/classifier"); gates: input in; output out; submodules: classifier: MultiFieldClassifier { filters = xml("<filters><filter gate=\"0\"/></filters>"); @display("p=40,186"); } meter: TokenBucketMeter { @display("p=162,111"); } sink: Sink { @display("p=271,60"); } join: Join { @display("p=284,186"); } connections: in --> classifier.in; classifier.outs++ --> meter.in++; classifier.defaultOut --> join.in++; meter.redOut --> sink.in++; meter.greenOut --> join.in++; join.out --> out; }