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
ConstructorDescriptionDefaultBGPRibRoutingPolicyFactory
(org.opendaylight.mdsal.binding.api.DataBroker databroker, StatementRegistryConsumer statementRegistryConsumer) -
Method Summary
Modifier and TypeMethodDescriptionbuildBGPRibPolicy
(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 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 interfaceBGPRibRoutingPolicyFactory
- Parameters:
localAs
- RIB ASbgpId
- BGP IDclusterId
- Cluster IdentifierpolicyConfig
- BGP Openconfig policy Configuration- Returns:
- BGPRIBRoutingPolicy
-