public class BmpDeployerImpl extends Object implements BmpDeployer, org.opendaylight.controller.md.sal.binding.api.ClusteredDataTreeChangeListener<OdlBmpMonitors>, AutoCloseable
Constructor and Description |
---|
BmpDeployerImpl(BmpDispatcher dispatcher,
BmpDeployerDependencies bmpDeployerDependencies) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
deleteBmpMonitor(MonitorId monitorId)
Removes BmpMonitorConfig from Config DS
|
void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<OdlBmpMonitors>> changes) |
void |
register() |
void |
writeBmpMonitor(BmpMonitorConfig bmpConfig)
Writes BmpMonitorConfig to Config DS
|
public BmpDeployerImpl(BmpDispatcher dispatcher, BmpDeployerDependencies bmpDeployerDependencies)
public void register()
public void onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<OdlBmpMonitors>> changes)
onDataTreeChanged
in interface org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<OdlBmpMonitors>
public void writeBmpMonitor(BmpMonitorConfig bmpConfig) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
BmpDeployer
writeBmpMonitor
in interface BmpDeployer
bmpConfig
- containing bmp Monitor configurationorg.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
public void deleteBmpMonitor(MonitorId monitorId) throws org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
BmpDeployer
deleteBmpMonitor
in interface BmpDeployer
monitorId
- Bmp monitor Idorg.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2018 OpenDaylight. All rights reserved.