|
ZeroSDN Controller
1.0
A modular distributed Software-Defined Network Controller
|
#include <ARPModuleTests.h>
Public Member Functions | |
| void | tearDown (void) |
| void | setUp (void) |
| void | testUpdateArpCacheCacheNewDevice (void) |
| void | testUpdateArpCacheCacheUpdateDevice (void) |
| void | testForwardARPReplay (void) |
| void | testGetPortPacketInCameFrom (void) |
| void | testARPReplyFromKnownDeviceToKnownDevice (void) |
| void | testARPReplyFromUnknownDeviceToKnownDevice (void) |
| void | handleIncomingArpUnknownDevice (void) |
| void | testARPReplyWithUnknownOpenFlowVersion (void) |
| void | handleIncomingArpKnownDeviceByDevModule (void) |
| void | testGetDeviceTimeout (void) |
| void | testHandleUpdateDevice (void) |
| void | testHandleAddDevice (void) |
| void | testHandleDeleteDevice (void) |
| void | testHandleDeleteInexistentDevice (void) |
| void ARPModuleTests::handleIncomingArpKnownDeviceByDevModule | ( | void | ) |
Test an ARP-Reply to a device that does not existing in the ARPcache of the module ARP, but that deviceMoudle know
| void ARPModuleTests::handleIncomingArpUnknownDevice | ( | void | ) |
Test if the response of an ARP-Request to an unknown device was sent out successfully
| void ARPModuleTests::setUp | ( | void | ) |
| void ARPModuleTests::tearDown | ( | void | ) |
Override tearDown method to release any permanent ressources.
| void ARPModuleTests::testARPReplyFromKnownDeviceToKnownDevice | ( | void | ) |
Test if the response of an ARP-Request from a known to a known device was sent out successfully
| void ARPModuleTests::testARPReplyFromUnknownDeviceToKnownDevice | ( | void | ) |
Test if the response of an ARP-Request from a unknown to a known device was sent out successfully
| void ARPModuleTests::testARPReplyWithUnknownOpenFlowVersion | ( | void | ) |
Test if an exception is thrown by recpetion of an packet in with an unknown open flow version
| void ARPModuleTests::testForwardARPReplay | ( | void | ) |
It tests, if the ARPModule creates and forward an ARP-Replay to a known device according to the ARP-Request
| void ARPModuleTests::testGetDeviceTimeout | ( | void | ) |
Test if a timeout warning comes after a request an device module without response
| void ARPModuleTests::testGetPortPacketInCameFrom | ( | void | ) |
It tests the private method to find out from which port of the switch the packet in came from
| void ARPModuleTests::testHandleAddDevice | ( | void | ) |
Test the private method update device. Add a new device
| void ARPModuleTests::testHandleDeleteDevice | ( | void | ) |
Test the private method update device. Delete an existing device
| void ARPModuleTests::testHandleDeleteInexistentDevice | ( | void | ) |
Test the private method update device. Delete a device, that deoes not appear in the ARPCache
| void ARPModuleTests::testHandleUpdateDevice | ( | void | ) |
Test the private method update device. Update an existing device
| void ARPModuleTests::testUpdateArpCacheCacheNewDevice | ( | void | ) |
test the updateArpCache method, it tests if a new device is successfully added to the ARPCache
| void ARPModuleTests::testUpdateArpCacheCacheUpdateDevice | ( | void | ) |
test the updateArpCache method, it tests if an existing device is successfully updated in the ARPCache