|
ZeroSDN Controller
1.0
A modular distributed Software-Defined Network Controller
|
#include <LinkDiscoveryModuleTests.h>
Public Member Functions | |
| TesterObject (uint64_t instanceId) | |
| ~TesterObject () | |
| virtual void | disable () |
| virtual std::map < std::uint64_t, std::map < uint32_t, std::pair < uint64_t, uint32_t > > > | requestAllLinks () |
| virtual std::map < std::uint64_t, std::map < uint32_t, std::pair < uint64_t, uint32_t > > > | requestOfLinks (uint64_t ofId) |
| virtual std::map < std::uint64_t, std::map < uint32_t, std::pair < uint64_t, uint32_t > > > | requestFromLinks (uint64_t fromid) |
| virtual std::map < std::uint64_t, std::map < uint32_t, std::pair < uint64_t, uint32_t > > > | requestToLinks (uint64_t toId) |
| virtual std::map < std::uint64_t, std::map < uint32_t, std::pair < uint64_t, uint32_t > > > | requestBetweenLinks (uint64_t aId, uint64_t bId) |
| virtual bool | requestCorruptedForTopic (zmf::data::MessageType type, std::string message) |
Static Public Attributes | |
| static const uint16_t | LINK_MODULE_DEP_TYPE = zsdn::MODULE_TYPE_ID_LinkDiscoveryModule |
| static const uint16_t | LINK_MODULE_DEP_VERSION = 0 |
Protected Member Functions | |
| virtual bool | enable () |
The Accesor object for the test cases to send messages from outside into the ZMF-Network and receive the responses.
| TesterObject::TesterObject | ( | uint64_t | instanceId | ) |
| TesterObject::~TesterObject | ( | ) |
|
virtual |
|
protectedvirtual |
|
virtual |
Sends a GetAllLinks request to the LinkDiscoveryModule.
|
virtual |
Sends a GetAllLinksBetween request to the LinkDiscoveryModule.
| aId | id of first switch of a link. |
| bId | id of the second switch of a link. |
|
virtual |
|
virtual |
Sends a GetAllLinksFromSwitch request to the LinkDiscoveryModule. That includes all links with the given switch as source of a link.
| fromid | the id of the source switch. |
|
virtual |
Sends a GetAllLinksOfSwitch request to the LinkDiscoveryModule.
|
virtual |
Sends a GetAllLinksToSwitch request to the LinkDiscoveryModule. That includes all links with the given switch as endpoint of a link.
| toId | the id of the endpoint switch. |
|
static |
|
static |