test for multihop path establishing and path error procedures Initiate scenario with 6 stations. Procedure of opening peer link is the following: (PMP routines are not shown) More...
#include <hwmp-reactive-regression.h>
Inheritance diagram for HwmpReactiveRegressionTest:Public Member Functions | |
| void | CheckResults () |
| virtual void | DoRun () |
| Implementation to actually run this test case. More... | |
Private Member Functions | |
| void | CreateDevices () |
| void | CreateNodes () |
| void | InstallApplications () |
| void | ResetPosition () |
Private Attributes | |
| Ipv4InterfaceContainer | m_interfaces |
| NodeContainer * | m_nodes |
| XXX It is important to have pointers here. | |
| Time | m_time |
| Simulation time. | |
Additional Inherited Members | |
Public Types inherited from ns3::TestCase | |
| enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } |
| How long the test takes to execute. More... | |
Protected Member Functions inherited from ns3::TestCase | |
| TestCase (std::string name) | |
| void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
| Add an individual test case to this test suite. More... | |
| void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
| Add an individual test case to this test suite. More... | |
| std::string | CreateDataDirFilename (std::string filename) |
| std::string | CreateTempDirFilename (std::string filename) |
| bool | GetErrorStatus (void) const NS_DEPRECATED |
| std::string | GetName (void) const |
| bool | IsStatusFailure (void) const |
| bool | IsStatusSuccess (void) const |
| bool | MustAssertOnFailure (void) const |
| bool | MustContinueOnFailure (void) const |
| void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) |
| void | SetDataDir (std::string directory) |
test for multihop path establishing and path error procedures Initiate scenario with 6 stations. Procedure of opening peer link is the following: (PMP routines are not shown)
* 1 2 3 4 5 6 * | | | | |<---|---> ARP request (first attempt has failed!) * |....|....|....|....|....| ARP request * |<---|--->| | | | ARP request * <---|--->| | | | | PREQ } This order is broken * <---|--->| | | | | ARP request} due to BroadcastDca * |<---|--->| | | | PREQ * |....|....|....|....|....| ARP request * | | | |<---|--->| PREQ * | | | | |<---| PREP * |....|....|....|....|....| PREP * |<---| | | | | PREP * |--->| | | | | ARP response * |....|....|....|....|....| ARP response * | | | | |--->| ARP response * | | | | |<---| Data * |....|....|....|....|....| Data * |<---| | | | | Data * <---|--->| | | | | ARP request * |....|....|....|....|....| ARP request * | | | | |<---|---> ARP request * | | | | |<---| ARP response * |....|....|....|....|....| ARP response * |<---| | | | | ARP response * |--->| | | | | Data * At 5 station number 4 disappears, and PERR is forwarded from 3 to 1 * and from 5 to 6, and station 6 starts path discovery procedure * again: * | |<---| |--->| PERR (one due to beacon loss and one due to TX error) * |<---| | | | PERR * | | | |<---|---> PREQ * | | | <---|--->| PREQ * |....|....|.........|....| Repeated attempts of PREQ *
Definition at line 71 of file hwmp-reactive-regression.h.
|
virtual |
Implementation to actually run this test case.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 53 of file hwmp-reactive-regression.cc.