public abstract class RIBSupportContext extends Object
RIBSupport
wrapper which provides additional functionality
such as logic to update / remove routes using Binding DTOs
for BGP messages.Constructor and Description |
---|
RIBSupportContext() |
Modifier and Type | Method and Description |
---|---|
abstract void |
createEmptyTableStructure(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId)
Create specified Rib table structure using supplied transaction.
|
abstract void |
deleteRoutes(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId,
MpUnreachNlri nlri)
Removes supplied routes from RIB table using supplied transaction.
|
abstract RIBSupport |
getRibSupport()
Returns backing RIB support.
|
abstract void |
writeRoutes(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx,
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId,
MpReachNlri nlri,
Attributes attributes)
Writes supplied routes and attributes to RIB table using supplied transaction.
|
public abstract void createEmptyTableStructure(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId)
tx
- Transaction to to be usedtableId
- Instance Identifier of table to be cleared.public abstract void deleteRoutes(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId, MpUnreachNlri nlri)
tx
- Transaction to be usedtableId
- Instance Identifier of table to be updatednlri
- UnreachNlri which contains routes to be removed.public abstract void writeRoutes(org.opendaylight.controller.md.sal.dom.api.DOMDataWriteTransaction tx, org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier tableId, MpReachNlri nlri, Attributes attributes)
tx
- Transaction to be usedtableId
- Instance Identifier of table to be updatednlri
- ReachNlri which contains routes to be written.attributes
- Attributes which should be written.public abstract RIBSupport getRibSupport()
Copyright © 2018 OpenDaylight. All rights reserved.