Class FrmNodeAndTablesBuilder
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.FrmNodeAndTablesBuilder
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
@Singleton public class FrmNodeAndTablesBuilder extends java.lang.Object implements org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListenerPre-creates the nodes and tables in the FRM config/inventory datastore whenever a switch is connected. This class implements the callback provided by openflowplugin to do the node and tables pre-creation.
-
-
Constructor Summary
Constructors Constructor Description FrmNodeAndTablesBuilder(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.openflowplugin.applications.reconciliation.ReconciliationManager reconciliationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodebuildDpnNode(org.opendaylight.yangtools.yang.common.Uint64 dpnId)voidclose()com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean>endReconciliation(org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo node)java.lang.StringgetName()intgetPriority()org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.rf.state.rev170713.ResultStategetResultState()com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean>startReconciliation(org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo connectedNode)
-
-
-
Method Detail
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
startReconciliation
public com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> startReconciliation(org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo connectedNode)
- Specified by:
startReconciliationin interfaceorg.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
-
endReconciliation
public com.google.common.util.concurrent.ListenableFuture<java.lang.Boolean> endReconciliation(org.opendaylight.openflowplugin.api.openflow.device.DeviceInfo node)
- Specified by:
endReconciliationin interfaceorg.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
-
getResultState
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.openflowplugin.rf.state.rev170713.ResultState getResultState()
- Specified by:
getResultStatein interfaceorg.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceorg.opendaylight.openflowplugin.applications.reconciliation.ReconciliationNotificationListener
-
buildDpnNode
protected org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node buildDpnNode(org.opendaylight.yangtools.yang.common.Uint64 dpnId)
-
-