<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
- odl:use-default-for-reference-types="true">
+ odl:use-default-for-reference-types="true">
<reference id="dataBroker" interface="org.opendaylight.controller.md.sal.binding.api.DataBroker"/>
import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
/**
- * Tests for @{LLDPSpeaker} class.
+ * Tests for {@link LLDPSpeaker}.
*/
@RunWith(MockitoJUnitRunner.class)
public class LLDPSpeakerTest {
private LLDPSpeaker lldpSpeaker;
@Before
- @SuppressWarnings("unchecked")
public void setUp() {
when(
scheduledExecutorService.scheduleAtFixedRate(
}
/**
- * Test that when @{LLDPSpeaker#nodeConnectorAdded} is called multiple times
+ * Test that when {@link LLDPSpeaker#nodeConnectorAdded} is called multiple times
* with same arguments, only the first one have effect.
*/
@Test
/**
- * Tests for @{NodeConnectorInventoryEventTranslator} class.
+ * Tests for {@link NodeConnectorInventoryEventTranslator}.
*/
@RunWith(MockitoJUnitRunner.class)
public class NodeConnectorInventoryEventTranslatorTest {
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorAdded} is called
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorAdded} is called
* for each FlowCapableNodeConnector item that @{AsyncDataChangeEvent#getCreatedData} return.
*/
@Test
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorRemoved} is called
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorRemoved} is called
* for each FlowCapableNodeConnector item inside @{AsyncDataChangeEvent#getUpdatedData}
* that have link down state.
*/
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorRemoved} is called
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorRemoved} is called
* for each FlowCapableNodeConnector item inside @{AsyncDataChangeEvent#getUpdatedData}
* that have administrative down state.
*/
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorAdded} is called
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorAdded} is called
* for each FlowCapableNodeConnector item inside @{AsyncDataChangeEvent#getUpdatedData}
* that have administrative up and link up state.
*/
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorRemoved} is called
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorRemoved} is called
* for each FlowCapableNodeConnector path that @{AsyncDataChangeEvent#getRemovedPaths} return.
*/
@Test
}
/**
- * Test that checks if @{NodeConnectorEventsObserver#nodeConnectorAdded} and
+ * Test that checks if {@link NodeConnectorEventsObserver#nodeConnectorAdded} and
* @{NodeConnectorEventsObserver#nodeConnectorRemoved} are called for each
* observer when multiple observers are registered for notifications.
*/
-/*
+/**
* Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef;
import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener;
import org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
public class LLDPDiscoveryListener implements PacketProcessingListener {
- private static final Logger LOG = LoggerFactory.getLogger(LLDPDiscoveryListener.class);
-
private final LLDPLinkAger lldpLinkAger;
private final NotificationProviderService notificationService;