Open Kilda Java Documentation
org.openkilda.wfm.isl.DiscoveryManagerTest Class Reference

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 ()
 

Detailed Description

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.

Member Function Documentation

◆ handleDiscovered()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handleDiscovered ( )

Definition at line 284 of file DiscoveryManagerTest.java.

◆ handleFailed()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handleFailed ( )

Definition at line 309 of file DiscoveryManagerTest.java.

◆ handlePortDown()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handlePortDown ( )

Definition at line 409 of file DiscoveryManagerTest.java.

◆ handlePortUp()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handlePortUp ( )

Definition at line 388 of file DiscoveryManagerTest.java.

◆ handleSwitchDown()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handleSwitchDown ( )

Definition at line 369 of file DiscoveryManagerTest.java.

◆ handleSwitchUp()

void org.openkilda.wfm.isl.DiscoveryManagerTest.handleSwitchUp ( )

Definition at line 328 of file DiscoveryManagerTest.java.

◆ setUp()

void org.openkilda.wfm.isl.DiscoveryManagerTest.setUp ( ) throws Exception

Init method.

Definition at line 66 of file DiscoveryManagerTest.java.

◆ shouldAddInactiveLinkOnPortRegistration()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldAddInactiveLinkOnPortRegistration ( )

Definition at line 533 of file DiscoveryManagerTest.java.

◆ shouldAlwaysSendDiscoveryForActiveLinks()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldAlwaysSendDiscoveryForActiveLinks ( )

Definition at line 103 of file DiscoveryManagerTest.java.

◆ shouldBreakDiscoveredLinkCorrectly()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldBreakDiscoveredLinkCorrectly ( )

Definition at line 136 of file DiscoveryManagerTest.java.

◆ shouldCheckIslWithInterval()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldCheckIslWithInterval ( )

Definition at line 253 of file DiscoveryManagerTest.java.

◆ shouldDiscoveryPlanContainsAllEndpoints()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldDiscoveryPlanContainsAllEndpoints ( )

Definition at line 93 of file DiscoveryManagerTest.java.

◆ shouldEndpointBeRemovedFromDiscoveryPlanAfterFailures()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldEndpointBeRemovedFromDiscoveryPlanAfterFailures ( )

Definition at line 452 of file DiscoveryManagerTest.java.

◆ shouldIncreaseAcknowledgedAttempts()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldIncreaseAcknowledgedAttempts ( )

Definition at line 485 of file DiscoveryManagerTest.java.

◆ shouldIslBeAbandonedAfterSeveralConsecutiveFailures()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldIslBeAbandonedAfterSeveralConsecutiveFailures ( )

Definition at line 187 of file DiscoveryManagerTest.java.

◆ shouldNotBreakActiveIslIfConfirmationOfSendingDiscoIsNotReceived()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotBreakActiveIslIfConfirmationOfSendingDiscoIsNotReceived ( )

Definition at line 230 of file DiscoveryManagerTest.java.

◆ shouldNotDeactivateLinkOnPortRegistration()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotDeactivateLinkOnPortRegistration ( )

Definition at line 513 of file DiscoveryManagerTest.java.

◆ shouldNotStopSendingDiscoIfConfirmationOfSendingDiscoIsNotReceived()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldNotStopSendingDiscoIfConfirmationOfSendingDiscoIsNotReceived ( )

Definition at line 217 of file DiscoveryManagerTest.java.

◆ shouldReturnFalseWhenDiscoPacketsAreNotSendingFromEndpoint()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldReturnFalseWhenDiscoPacketsAreNotSendingFromEndpoint ( )

Definition at line 446 of file DiscoveryManagerTest.java.

◆ shouldReturnTrueWhenEndpointIsSendingDisco()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldReturnTrueWhenEndpointIsSendingDisco ( )

Definition at line 478 of file DiscoveryManagerTest.java.

◆ shouldWorksCorrectlyWhenIslUpdating()

void org.openkilda.wfm.isl.DiscoveryManagerTest.shouldWorksCorrectlyWhenIslUpdating ( )

Definition at line 429 of file DiscoveryManagerTest.java.


The documentation for this class was generated from the following file: