Search in sources :

Example 21 with LldpInfoData

use of org.openkilda.messaging.info.event.LldpInfoData in project open-kilda by telstra.

the class PacketServiceTest method testHandleLldpDataUpdateDifferentManagementAddress.

@Test
public void testHandleLldpDataUpdateDifferentManagementAddress() throws InterruptedException {
    LldpInfoData updatedData = createLldpInfoDataData();
    updatedData.setManagementAddress(MANAGEMENT_ADDRESS_2);
    runHandleLldpDataWithUpdatedDevice(updatedData);
}
Also used : LldpInfoData(org.openkilda.messaging.info.event.LldpInfoData) InMemoryGraphBasedTest(org.openkilda.persistence.inmemory.InMemoryGraphBasedTest) Test(org.junit.Test)

Aggregations

LldpInfoData (org.openkilda.messaging.info.event.LldpInfoData)21 Test (org.junit.Test)18 InMemoryGraphBasedTest (org.openkilda.persistence.inmemory.InMemoryGraphBasedTest)18 Parameters (junitparams.Parameters)4 FlowRelatedData (org.openkilda.wfm.topology.connecteddevices.service.PacketService.FlowRelatedData)4 SwitchConnectedDevice (org.openkilda.model.SwitchConnectedDevice)2 Message (org.openkilda.messaging.Message)1 InfoData (org.openkilda.messaging.info.InfoData)1 InfoMessage (org.openkilda.messaging.info.InfoMessage)1 ArpInfoData (org.openkilda.messaging.info.event.ArpInfoData)1 SwitchId (org.openkilda.model.SwitchId)1