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 Summary
Constructors Constructor Description DefaultBGPRibRoutingPolicyFactory()
DefaultBGPRibRoutingPolicyFactory(org.opendaylight.mdsal.binding.api.DataBroker databroker, StatementRegistryConsumer statementRegistryConsumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
Creates RIB Routing Policies from BGP Openconfig policy Configuration.
-
-
-
Constructor Detail
-
DefaultBGPRibRoutingPolicyFactory
public DefaultBGPRibRoutingPolicyFactory()
-
DefaultBGPRibRoutingPolicyFactory
@Inject public DefaultBGPRibRoutingPolicyFactory(org.opendaylight.mdsal.binding.api.DataBroker databroker, StatementRegistryConsumer statementRegistryConsumer)
-
-
Method Detail
-
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 interfaceBGPRibRoutingPolicyFactory
- Parameters:
localAs
- RIB ASbgpId
- BGP IDclusterId
- Cluster IdentifierpolicyConfig
- BGP Openconfig policy Configuration- Returns:
- BGPRIBRoutingPolicy
-
-