public class FlowNodeConnectorInventoryTranslatorImpl extends AbstractNodeConnectorCommitter<FlowCapableNodeConnector> implements FlowNodeConnectorInventoryTranslator
Constructor and Description |
---|
FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.mdsal.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.
|
onDataTreeChanged
public FlowNodeConnectorInventoryTranslatorImpl(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> getWildCardPath()
AbstractNodeConnectorCommitter
getWildCardPath
in class AbstractNodeConnectorCommitter<FlowCapableNodeConnector>
public void close()
close
in interface AutoCloseable
public void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> identifier, FlowCapableNodeConnector del, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNodeConnector> nodeConnIdent)
FlowCapableNodeConnectorCommitter
remove
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)
FlowCapableNodeConnectorCommitter
update
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)
FlowCapableNodeConnectorCommitter
add
in interface FlowCapableNodeConnectorCommitter<FlowCapableNodeConnector>
identifier
- - the whole path to new DataObjectadd
- - new DataObjectnodeConnIdent
- NodeConnector InstanceIdentifierpublic boolean isNodeConnectorUpdated(BigInteger dpId, String portName)
isNodeConnectorUpdated
in interface FlowNodeConnectorInventoryTranslator
Copyright © 2020 OpenDaylight. All rights reserved.