Class HwvtepSouthboundProvider
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundProvider
-
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
@Singleton public class HwvtepSouthboundProvider extends Object implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>, AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description HwvtepSouthboundProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipServiceDependency, OvsdbConnection ovsdbConnection, org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer, org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
HwvtepConnectionManager
getHwvtepConnectionManager()
void
handleOwnershipChange(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange ownershipChange)
void
init()
Used by blueprint when starting the container.void
onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>> collection)
void
setShardStatusCheckRetryCount(int retryCount)
-
-
-
Constructor Detail
-
HwvtepSouthboundProvider
@Inject public HwvtepSouthboundProvider(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipServiceDependency, OvsdbConnection ovsdbConnection, org.opendaylight.mdsal.dom.api.DOMSchemaService schemaService, org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer bindingNormalizedNodeSerializer, org.opendaylight.serviceutils.upgrade.UpgradeState upgradeState)
-
-
Method Detail
-
init
@PostConstruct public void init()
Used by blueprint when starting the container.
-
close
@PreDestroy public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
handleOwnershipChange
public void handleOwnershipChange(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange ownershipChange)
-
onDataTreeChanged
public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>> collection)
- Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>
-
setShardStatusCheckRetryCount
public void setShardStatusCheckRetryCount(int retryCount)
-
getHwvtepConnectionManager
public HwvtepConnectionManager getHwvtepConnectionManager()
-
-