Class DefaultBgpDeployer

java.lang.Object
org.opendaylight.protocol.bgp.rib.impl.config.DefaultBgpDeployer
All Implemented Interfaces:
AutoCloseable, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Bgp>, PeerGroupConfigLoader
Direct Known Subclasses:
OSGiBgpDeployer

@Singleton public class DefaultBgpDeployer extends Object implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Bgp>, PeerGroupConfigLoader, AutoCloseable
  • Constructor Details

  • Method Details

    • init

      @PostConstruct public void init()
    • onDataTreeChanged

      public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<Bgp>> changes)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Bgp>
    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
    • getPeerGroup

      public PeerGroup getPeerGroup(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Bgp> bgpIid, String peerGroupName)
      Description copied from interface: PeerGroupConfigLoader
      Loads Peer GROUP configuration from CONFIG DS.
      Specified by:
      getPeerGroup in interface PeerGroupConfigLoader
      Parameters:
      bgpIid - Protocol BGP Instance identifier.
      peerGroupName - peer Group name.
      Returns:
      peer group or null.