Class StatementRegistry
- java.lang.Object
-
- org.opendaylight.protocol.bgp.openconfig.routing.policy.spi.registry.StatementRegistry
-
- All Implemented Interfaces:
BgpStatementRegistryProvider
,StatementRegistryConsumer
,StatementRegistryProvider
public final class StatementRegistry extends Object implements StatementRegistryConsumer, StatementRegistryProvider
-
-
Constructor Summary
Constructors Constructor Description StatementRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteAttributeContainer
applyExportStatement(RouteEntryBaseAttributes routeEntryInfo, Class<? extends AfiSafiType> afiSafi, BGPRouteEntryExportParameters routeEntryExportParameters, RouteAttributeContainer attributes, Statement statement)
Apply statement to BGP Route Attributes (Export Policy).RouteAttributeContainer
applyImportStatement(RouteEntryBaseAttributes routeEntryInfo, Class<? extends AfiSafiType> afiSafi, BGPRouteEntryImportParameters routeEntryImportParameters, RouteAttributeContainer attributes, Statement statement)
Apply statement to BGP Route Attributes (Import Policy).org.opendaylight.yangtools.concepts.AbstractRegistration
registerActionPolicy(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Actions>> actionPolicyClass, ActionsAugPolicy actionPolicy)
Register Action Policy Augmentation handler.<T extends org.opendaylight.yangtools.yang.binding.Augmentation<BgpActions>>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpActionAugmentationPolicy(Class<T> bgpActionPolicyClass, BgpActionAugPolicy<T> bgpActionPolicy)
Register BGP Action Policy Augmentation handler.<T extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpActions>>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpActionPolicy(Class<T> bgpActionPolicyClass, BgpActionPolicy<T> bgpActionPolicy)
Register BGP Action Policy Augmentation handler.<T extends org.opendaylight.yangtools.yang.binding.Augmentation<BgpConditions>,N>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpConditionsAugmentationPolicy(Class<T> conditionPolicyClass, BgpConditionsAugmentationPolicy<T,N> conditionPolicy)
Register Bgp Condition Policy Augmentation handler.<T extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpMatchConditions>,N>
org.opendaylight.yangtools.concepts.AbstractRegistrationregisterBgpConditionsPolicy(Class<T> conditionPolicyClass, BgpConditionsPolicy<T,N> conditionPolicy)
Register Bgp Condition Policy Augmentation handler.org.opendaylight.yangtools.concepts.AbstractRegistration
registerConditionPolicy(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Conditions>> conditionPolicyClass, ConditionsAugPolicy conditionPolicy)
Register Condition Policy Augmentation handler.
-
-
-
Method Detail
-
applyExportStatement
public RouteAttributeContainer applyExportStatement(RouteEntryBaseAttributes routeEntryInfo, Class<? extends AfiSafiType> afiSafi, BGPRouteEntryExportParameters routeEntryExportParameters, 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 TyperouteEntryExportParameters
- export Parametersattributes
- route attributesstatement
- Statement containing Conditions/Actions- Returns:
- modified Route attributes
-
applyImportStatement
public RouteAttributeContainer applyImportStatement(RouteEntryBaseAttributes routeEntryInfo, Class<? extends AfiSafiType> afiSafi, BGPRouteEntryImportParameters routeEntryImportParameters, 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 TyperouteEntryImportParameters
- route base parametersattributes
- route attributesstatement
- Statement containing Conditions/Actions- Returns:
- modified Route attributes
-
registerConditionPolicy
public org.opendaylight.yangtools.concepts.AbstractRegistration registerConditionPolicy(Class<? extends org.opendaylight.yangtools.yang.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
-
registerBgpConditionsPolicy
public <T extends org.opendaylight.yangtools.yang.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
-
registerActionPolicy
public org.opendaylight.yangtools.concepts.AbstractRegistration registerActionPolicy(Class<? extends org.opendaylight.yangtools.yang.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
-
registerBgpConditionsAugmentationPolicy
public <T extends org.opendaylight.yangtools.yang.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 <T extends org.opendaylight.yangtools.yang.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
-
registerBgpActionPolicy
public <T extends org.opendaylight.yangtools.yang.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
-
-