Class DefaultBGPRibRoutingPolicyFactory

java.lang.Object
org.opendaylight.protocol.bgp.openconfig.routing.policy.impl.DefaultBGPRibRoutingPolicyFactory
All Implemented Interfaces:
BGPRibRoutingPolicyFactory

@Singleton @MetaInfServices public final class DefaultBGPRibRoutingPolicyFactory extends Object implements BGPRibRoutingPolicyFactory
  • Constructor Details

    • DefaultBGPRibRoutingPolicyFactory

      public DefaultBGPRibRoutingPolicyFactory()
    • DefaultBGPRibRoutingPolicyFactory

      @Inject public DefaultBGPRibRoutingPolicyFactory(org.opendaylight.mdsal.binding.api.DataBroker databroker, StatementRegistryConsumer statementRegistryConsumer)
  • Method Details

    • buildBGPRibPolicy

      public BGPRibRoutingPolicy buildBGPRibPolicy(long localAs, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4AddressNoZone bgpId, ClusterIdentifier clusterId, Config policyConfig)
      Description copied from interface: BGPRibRoutingPolicyFactory
      Creates RIB Routing Policies from BGP Openconfig policy Configuration.
      Specified by:
      buildBGPRibPolicy in interface BGPRibRoutingPolicyFactory
      Parameters:
      localAs - RIB AS
      bgpId - BGP ID
      clusterId - Cluster Identifier
      policyConfig - BGP Openconfig policy Configuration
      Returns:
      BGPRIBRoutingPolicy