Interface NodeConnectorEventsObserver
-
- All Known Implementing Classes:
LLDPSpeaker
public interface NodeConnectorEventsObserver
NodeConnectorEventsObserver can be added to NodeConnectorInventoryEventTranslator to receive events when node connector added or removed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
nodeConnectorAdded(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeConnector> nodeConnectorInstanceId, FlowCapableNodeConnector flowConnector)
This method is called when new node connector is added to inventory or when existing node connector changed it's status to UP.void
nodeConnectorRemoved(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeConnector> nodeConnectorInstanceId)
This method is called when some node connector is removed from inventory or when existing node connector changed it's status to DOWN.
-
-
-
Method Detail
-
nodeConnectorAdded
void nodeConnectorAdded(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeConnector> nodeConnectorInstanceId, FlowCapableNodeConnector flowConnector)
This method is called when new node connector is added to inventory or when existing node connector changed it's status to UP. This method can be called multiple times for the same creation event.- Parameters:
nodeConnectorInstanceId
- Object that uniquely identify added node connectorflowConnector
- object containing almost all of details about node connector
-
nodeConnectorRemoved
void nodeConnectorRemoved(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<NodeConnector> nodeConnectorInstanceId)
This method is called when some node connector is removed from inventory or when existing node connector changed it's status to DOWN. This method can be called multiple times for the same removal event.- Parameters:
nodeConnectorInstanceId
- Object that uniquely identify added node connector
-
-