public class FlowNodeConnectorInventoryTranslatorImpl extends AbstractNodeConnectorCommitter<FlowCapableNodeConnector> implements FlowNodeConnectorInventoryTranslator
| Constructor and Description |
|---|
FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier,
FlowCapableNodeConnector add,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
Method adds the DataObject which is identified by InstanceIdentifier
to device.
|
void |
close() |
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> |
getWildCardPath()
Method return wildCardPath for Listener registration and for identify the
correct KeyInstanceIdentifier from data.
|
boolean |
isNodeConnectorUpdated(BigInteger dpId,
String portName) |
void |
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier,
FlowCapableNodeConnector del,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
Method removes DataObject which is identified by InstanceIdentifier
from device.
|
void |
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier,
FlowCapableNodeConnector original,
FlowCapableNodeConnector update,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
Method updates the original DataObject to the update DataObject
in device.
|
onDataTreeChangedpublic FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> getWildCardPath()
AbstractNodeConnectorCommittergetWildCardPath in class AbstractNodeConnectorCommitter<FlowCapableNodeConnector>public void close()
close in interface AutoCloseablepublic void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier, FlowCapableNodeConnector del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
FlowCapableNodeConnectorCommitterremove in interface FlowCapableNodeConnectorCommitter<FlowCapableNodeConnector>identifier - - the whole path to DataObjectdel - - DataObject for removingnodeConnIdent - NodeConnector InstanceIdentifierpublic void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier, FlowCapableNodeConnector original, FlowCapableNodeConnector update, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
FlowCapableNodeConnectorCommitterupdate in interface FlowCapableNodeConnectorCommitter<FlowCapableNodeConnector>identifier - - the whole path to DataObjectoriginal - - original DataObject (for update)update - - changed DataObject (contain updates)nodeConnIdent - NodeConnector InstanceIdentifierpublic void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier, FlowCapableNodeConnector add, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
FlowCapableNodeConnectorCommitteradd in interface FlowCapableNodeConnectorCommitter<FlowCapableNodeConnector>identifier - - the whole path to new DataObjectadd - - new DataObjectnodeConnIdent - NodeConnector InstanceIdentifierpublic boolean isNodeConnectorUpdated(BigInteger dpId, String portName)
isNodeConnectorUpdated in interface FlowNodeConnectorInventoryTranslatorCopyright © 2019 OpenDaylight. All rights reserved.