Skip to content

Commit f56e0a0

Browse files
committed
showcases: fixed parameter references
1 parent d8945c0 commit f56e0a0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

showcases/measurement/flow/doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ have the same set of parameters that specify the flow name (:par:`flowName`
8989
parameter), the set of packets that enter or exit the flow (:par:`packetFilter`
9090
parameter), and the required measurements (:par:`measure` parameter).
9191

92-
By default, the filters match all packets (``packetFilter = 'true'``). The
92+
By default, the filters match all packets (``packetFilter = '*'``). The
9393
:par:`measure` parameter is a list containing elements from the following set,
9494
separated by spaces:
9595

@@ -156,8 +156,8 @@ The module type :ned:`PacketFlowVisualizer` (also included in
156156
:ned:`IntegratedCanvasVisualizer`) can display packet flows in the network as dashed
157157
arrows annotated by the flow name. The arrows are color-coded so that flows can
158158
be differentiated by color. The visualization can be enabled with the
159-
:par:`displayPacketFlows` parameter, e.g.
160-
``*.visualizer.packetFlowVisualizer.displayPacketFlows = true`` in the .INI
159+
:par:`displayRoutes` parameter, e.g.
160+
``*.visualizer.packetFlowVisualizer.displayRoutes = true`` in the .INI
161161
file.
162162

163163
Example Simulations
@@ -251,7 +251,7 @@ Similarly, we enable the measurement recorder module in the server UDP apps (by
251251
:end-at: *.server*.app[*].measurementRecorder.typename = "FlowMeasurementRecorder"
252252
:language: ini
253253

254-
For the packet flow between the two switches, we can enable the built-in ``measurementLayer`` submodule of :ned:`EthernetInterface`:
254+
For the packet flow between the two switches, we can enable the built-in ``measurementLayer`` submodule of :ned:`LayeredEthernetInterface`:
255255

256256
.. literalinclude:: ../omnetpp.ini
257257
:start-at: *.switch*.eth[2].measurementLayer.typename = "MeasurementLayer"

showcases/measurement/utilization/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We configure the hosts to use the layered Ethernet model, and the source host to
4949
Results
5050
-------
5151

52-
We measure the channel utilization in the source host (the ``source.eth[0].phy.transmitter.utilization`` statistic). Here are the results:
52+
We measure the channel utilization in the source host (the ``source.eth[0].phyLayer.transmitter.utilization`` statistic). Here are the results:
5353

5454
.. figure:: media/ChannelUtilizationHistogram.png
5555
:align: center

0 commit comments

Comments
 (0)