![]() |
Open Kilda Java Documentation
|
Public Member Functions | |
void | setUp () throws Exception |
void | shouldDiscoveryPlanContainsAllEndpoints () |
void | shouldAlwaysSendDiscoveryForActiveLinks () |
void | shouldBreakDiscoveredLinkCorrectly () |
void | shouldIslBeAbandonedAfterSeveralConsecutiveFailures () |
void | shouldNotStopSendingDiscoIfConfirmationOfSendingDiscoIsNotReceived () |
void | shouldNotBreakActiveIslIfConfirmationOfSendingDiscoIsNotReceived () |
void | shouldCheckIslWithInterval () |
void | handleDiscovered () |
void | handleFailed () |
void | handleSwitchUp () |
void | handleSwitchDown () |
void | handlePortUp () |
void | handlePortDown () |
void | shouldWorksCorrectlyWhenIslUpdating () |
void | shouldReturnFalseWhenDiscoPacketsAreNotSendingFromEndpoint () |
void | shouldEndpointBeRemovedFromDiscoveryPlanAfterFailures () |
void | shouldReturnTrueWhenEndpointIsSendingDisco () |
void | shouldIncreaseAcknowledgedAttempts () |
void | shouldNotDeactivateLinkOnPortRegistration () |
void | shouldAddInactiveLinkOnPortRegistration () |
The DiscoveryManager is the main class that governs ISL discovery. It develops a list of switch/ports to send discovery/health checks on, and a list of failures to notify others about.
OFELinkBolt is the primary user of this class, leveraging DiscoveryManager.Plan
The primary test scenarios that are of interest..
Definition at line 47 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handleDiscovered | ( | ) |
Definition at line 284 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handleFailed | ( | ) |
Definition at line 309 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handlePortDown | ( | ) |
Definition at line 409 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handlePortUp | ( | ) |
Definition at line 388 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handleSwitchDown | ( | ) |
Definition at line 369 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.handleSwitchUp | ( | ) |
Definition at line 328 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.setUp | ( | ) | throws Exception |
Init method.
Definition at line 66 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldAddInactiveLinkOnPortRegistration | ( | ) |
Definition at line 533 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldAlwaysSendDiscoveryForActiveLinks | ( | ) |
Definition at line 103 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldBreakDiscoveredLinkCorrectly | ( | ) |
Definition at line 136 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldCheckIslWithInterval | ( | ) |
Definition at line 253 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldDiscoveryPlanContainsAllEndpoints | ( | ) |
Definition at line 93 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldEndpointBeRemovedFromDiscoveryPlanAfterFailures | ( | ) |
Definition at line 452 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldIncreaseAcknowledgedAttempts | ( | ) |
Definition at line 485 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldIslBeAbandonedAfterSeveralConsecutiveFailures | ( | ) |
Definition at line 187 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotBreakActiveIslIfConfirmationOfSendingDiscoIsNotReceived | ( | ) |
Definition at line 230 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotDeactivateLinkOnPortRegistration | ( | ) |
Definition at line 513 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotStopSendingDiscoIfConfirmationOfSendingDiscoIsNotReceived | ( | ) |
Definition at line 217 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldReturnFalseWhenDiscoPacketsAreNotSendingFromEndpoint | ( | ) |
Definition at line 446 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldReturnTrueWhenEndpointIsSendingDisco | ( | ) |
Definition at line 478 of file DiscoveryManagerTest.java.
void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldWorksCorrectlyWhenIslUpdating | ( | ) |
Definition at line 429 of file DiscoveryManagerTest.java.