%description: Checks router state transitions in response to Filter-Mode-Change and Source-List-Change records. See RFC 3376 6.4.2. %#-------------------------------------------------------------------------------------------------------------- %inifile: omnetpp.ini [General] ned-path = .;../../../../src;../../lib sim-time-limit=100s cmdenv-express-mode = false #cmdenv-log-prefix = "%t %N: " #omnetpp 5.0 - 5.1 compatibility: eventlog-file = "${resultdir}/${configname}-${runnumber}.elog" output-scalar-file = "${resultdir}/${configname}-${runnumber}.sca" output-vector-file = "${resultdir}/${configname}-${runnumber}.vec" snapshot-file = "${resultdir}/${configname}-${runnumber}.sna" network=TestIGMPNetwork **.igmpType = "IGMPv3" **.IPForward = true **.multicastForwarding = true **.scenarioManager.script = xmldoc("scenario.xml") %#-------------------------------------------------------------------------------------------------------------- %file: scenario.xml %#-------------------------------------------------------------------------------------------------------------- %subst: /DETAIL: // %# %# Check that Group-Specific or Group-and-Source-Specific Queries are sent. %# %postrun-command: grep "\(Router State\|New Router State\|Received.*report\)" test.out > igmp.out || true %contains: igmp.out Router State is INCLUDE(). Received ALLOW(10.0.0.1,10.0.0.2) report. New Router State is INCLUDE(10.0.0.1,10.0.0.2). Router State is INCLUDE(10.0.0.1,10.0.0.2). Received BLOCK(10.0.0.1) report. New Router State is INCLUDE(10.0.0.1,10.0.0.2). Router State is INCLUDE(10.0.0.1,10.0.0.2). Received TO_IN(10.0.0.3) report. New Router State is INCLUDE(10.0.0.1,10.0.0.2,10.0.0.3). Router State is INCLUDE(10.0.0.1,10.0.0.2,10.0.0.3). Received TO_EX(10.0.0.3,10.0.0.4) report. New Router State is EXCLUDE(10.0.0.3;10.0.0.4). Router State is EXCLUDE(10.0.0.3;10.0.0.4). Received ALLOW(10.0.0.4) report. New Router State is EXCLUDE(10.0.0.3,10.0.0.4;). Router State is EXCLUDE(10.0.0.3,10.0.0.4;). Received BLOCK(10.0.0.4) report. New Router State is EXCLUDE(10.0.0.3,10.0.0.4;). Router State is EXCLUDE(10.0.0.3,10.0.0.4;). Received TO_EX(10.0.0.1,10.0.0.3) report. New Router State is EXCLUDE(10.0.0.1,10.0.0.3;). Router State is EXCLUDE(10.0.0.1,10.0.0.3;). Received TO_IN(10.0.0.1,10.0.0.2) report. New Router State is EXCLUDE(10.0.0.1,10.0.0.2,10.0.0.3;). %#-------------------------------------------------------------------------------------------------------------- %not-contains: stdout undisposed object: %not-contains: stdout -- check module destructor %#--------------------------------------------------------------------------------------------------------------