Class OSGiStatementRegistry
java.lang.Object
com.google.common.collect.ForwardingObject
org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.OSGiStatementRegistry
- All Implemented Interfaces:
BgpStatementRegistryProvider
,StatementRegistryConsumer
,StatementRegistryProvider
public final class OSGiStatementRegistry
extends com.google.common.collect.ForwardingObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal RouteAttributeContainer
applyExportStatement
(RouteEntryBaseAttributes routeEntryInfo, AfiSafiType afiSafi, BGPRouteEntryExportParameters baseExportParameters, RouteAttributeContainer attributes, Statement statement) Apply statement to BGP Route Attributes (Export Policy).final RouteAttributeContainer
applyImportStatement
(RouteEntryBaseAttributes routeEntryInfo, AfiSafiType afiSafi, BGPRouteEntryImportParameters routeBaseParameters, RouteAttributeContainer attributes, Statement statement) Apply statement to BGP Route Attributes (Import Policy).protected StatementRegistry
delegate()
final org.opendaylight.yangtools.concepts.AbstractRegistration
registerActionPolicy
(Class<? extends org.opendaylight.yangtools.binding.Augmentation<Actions>> actionPolicyClass, ActionsAugPolicy actionPolicy) Register Action Policy Augmentation handler.final <T extends org.opendaylight.yangtools.binding.Augmentation<BgpActions>>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpActionAugmentationPolicy
(Class<T> bgpActionPolicyClass, BgpActionAugPolicy<T> bgpActionPolicy) Register BGP Action Policy Augmentation handler.final <T extends org.opendaylight.yangtools.binding.ChildOf<BgpActions>>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpActionPolicy
(Class<T> bgpActionPolicyClass, BgpActionPolicy<T> bgpActionPolicy) Register BGP Action Policy Augmentation handler.final <T extends org.opendaylight.yangtools.binding.Augmentation<BgpConditions>,
N>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpConditionsAugmentationPolicy
(Class<T> conditionPolicyClass, BgpConditionsAugmentationPolicy<T, N> conditionPolicy) Register Bgp Condition Policy Augmentation handler.final <T extends org.opendaylight.yangtools.binding.ChildOf<BgpMatchConditions>,
N>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpConditionsPolicy
(Class<T> conditionPolicyClass, BgpConditionsPolicy<T, N> conditionPolicy) Register Bgp Condition Policy Augmentation handler.final org.opendaylight.yangtools.concepts.AbstractRegistration
registerConditionPolicy
(Class<? extends org.opendaylight.yangtools.binding.Augmentation<Conditions>> conditionPolicyClass, ConditionsAugPolicy conditionPolicy) Register Condition Policy Augmentation handler.Methods inherited from class com.google.common.collect.ForwardingObject
toString
-
Constructor Details
-
OSGiStatementRegistry
public OSGiStatementRegistry()
-
-
Method Details
-
delegate
-
applyExportStatement
public final RouteAttributeContainer applyExportStatement(RouteEntryBaseAttributes routeEntryInfo, AfiSafiType afiSafi, BGPRouteEntryExportParameters baseExportParameters, RouteAttributeContainer attributes, Statement statement) Description copied from interface:StatementRegistryConsumer
Apply statement to BGP Route Attributes (Export Policy).- Specified by:
applyExportStatement
in interfaceStatementRegistryConsumer
- Parameters:
routeEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)afiSafi
- Afi Safi TypebaseExportParameters
- export Parametersattributes
- route attributesstatement
- Statement containing Conditions/Actions- Returns:
- modified Route attributes
-
applyImportStatement
public final RouteAttributeContainer applyImportStatement(RouteEntryBaseAttributes routeEntryInfo, AfiSafiType afiSafi, BGPRouteEntryImportParameters routeBaseParameters, RouteAttributeContainer attributes, Statement statement) Description copied from interface:StatementRegistryConsumer
Apply statement to BGP Route Attributes (Import Policy).- Specified by:
applyImportStatement
in interfaceStatementRegistryConsumer
- Parameters:
routeEntryInfo
- contains route Entry Info(AS, ClusterId, OriginatorId)afiSafi
- Afi Safi TyperouteBaseParameters
- route base parametersattributes
- route attributesstatement
- Statement containing Conditions/Actions- Returns:
- modified Route attributes
-
registerConditionPolicy
public final org.opendaylight.yangtools.concepts.AbstractRegistration registerConditionPolicy(Class<? extends org.opendaylight.yangtools.binding.Augmentation<Conditions>> conditionPolicyClass, ConditionsAugPolicy conditionPolicy) Description copied from interface:StatementRegistryProvider
Register Condition Policy Augmentation handler.- Specified by:
registerConditionPolicy
in interfaceStatementRegistryProvider
- Parameters:
conditionPolicyClass
- Conditions Augmentation ClassconditionPolicy
- Condition policy handler- Returns:
- registration ticket
-
registerActionPolicy
public final org.opendaylight.yangtools.concepts.AbstractRegistration registerActionPolicy(Class<? extends org.opendaylight.yangtools.binding.Augmentation<Actions>> actionPolicyClass, ActionsAugPolicy actionPolicy) Description copied from interface:StatementRegistryProvider
Register Action Policy Augmentation handler.- Specified by:
registerActionPolicy
in interfaceStatementRegistryProvider
- Parameters:
actionPolicyClass
- IGP Actions Augmentation ClassactionPolicy
- IGP Actions policy handler- Returns:
- registration ticket
-
registerBgpConditionsPolicy
public final <T extends org.opendaylight.yangtools.binding.ChildOf<BgpMatchConditions>,N> org.opendaylight.yangtools.concepts.AbstractRegistration registerBgpConditionsPolicy(Class<T> conditionPolicyClass, BgpConditionsPolicy<T, N> conditionPolicy) Description copied from interface:BgpStatementRegistryProvider
Register Bgp Condition Policy Augmentation handler.- Specified by:
registerBgpConditionsPolicy
in interfaceBgpStatementRegistryProvider
- Parameters:
conditionPolicyClass
- Conditions Augmentation ClassconditionPolicy
- Condition policy handler- Returns:
- registration ticket
-
registerBgpActionPolicy
public final <T extends org.opendaylight.yangtools.binding.ChildOf<BgpActions>> org.opendaylight.yangtools.concepts.AbstractRegistration registerBgpActionPolicy(Class<T> bgpActionPolicyClass, BgpActionPolicy<T> bgpActionPolicy) Description copied from interface:BgpStatementRegistryProvider
Register BGP Action Policy Augmentation handler.- Specified by:
registerBgpActionPolicy
in interfaceBgpStatementRegistryProvider
- Parameters:
bgpActionPolicyClass
- BGP Actions Augmentation ClassbgpActionPolicy
- BGP Actions policy handler- Returns:
- registration ticket
-
registerBgpConditionsAugmentationPolicy
public final <T extends org.opendaylight.yangtools.binding.Augmentation<BgpConditions>,N> org.opendaylight.yangtools.concepts.AbstractRegistration registerBgpConditionsAugmentationPolicy(Class<T> conditionPolicyClass, BgpConditionsAugmentationPolicy<T, N> conditionPolicy) Description copied from interface:BgpStatementRegistryProvider
Register Bgp Condition Policy Augmentation handler.- Specified by:
registerBgpConditionsAugmentationPolicy
in interfaceBgpStatementRegistryProvider
- Parameters:
conditionPolicyClass
- Conditions Augmentation ClassconditionPolicy
- Condition policy handler- Returns:
- registration ticket
-
registerBgpActionAugmentationPolicy
public final <T extends org.opendaylight.yangtools.binding.Augmentation<BgpActions>> org.opendaylight.yangtools.concepts.AbstractRegistration registerBgpActionAugmentationPolicy(Class<T> bgpActionPolicyClass, BgpActionAugPolicy<T> bgpActionPolicy) Description copied from interface:BgpStatementRegistryProvider
Register BGP Action Policy Augmentation handler.- Specified by:
registerBgpActionAugmentationPolicy
in interfaceBgpStatementRegistryProvider
- Parameters:
bgpActionPolicyClass
- BGP Actions Augmentation ClassbgpActionPolicy
- BGP Actions policy handler- Returns:
- registration ticket
-