|
ZeroSDN Controller
1.0
A modular distributed Software-Defined Network Controller
|
#include <LinkDiscoveryModuleTests.h>
Public Types | |
| enum | ReactMode { UNSET, FULL_START, PARTIAL_REACT_START, CONTINUES_EVENT_START } |
Public Member Functions | |
| SwitchRegistryModuleMok (uint64_t instanceId) | |
| ~SwitchRegistryModuleMok () | |
| virtual zmf::data::ZmfOutReply | handleRequest (const zmf::data::ZmfMessage &message, const zmf::data::ModuleUniqueId &sender) |
| virtual void | disable () |
| virtual bool | isSetup () |
| virtual void | startSetup (ReactMode mode) |
| virtual zmf::data::ZmfOutReply | generateReplyMessageForSwitchesUpTo (uint32_t c) |
| virtual void | startChanges () |
| virtual void | startEventFinishFrom (uint32_t s) |
Protected Member Functions | |
| virtual bool | enable () |
A emulation of a SwitchRegistryModule to controle the tests. This module controles the set of available switches for the to testing LinkDiscoveryModule. The Module is has initialize modes. These modes are needed to construct different use modes of the LinkDiscoveryModule Modes: FULL_START(default): returns all switches at the GetAllSwitches request PARTIAL_REACT_START: returns a part of all switches and starts to publish the rest of the complete set as events. CONTINUES_EVENT_START: returns a empty set of switches and publishes all switches after the request.
| SwitchRegistryModuleMok::SwitchRegistryModuleMok | ( | uint64_t | instanceId | ) |
| SwitchRegistryModuleMok::~SwitchRegistryModuleMok | ( | ) |
|
virtual |
|
protectedvirtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |