Interface ApplyPolicyGroup
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AfiSafi
,BgpNeighborGroup
,Global
,InterInstancePolicies
,Neighbor
,PeerGroup
,TableConnection
@Generated("mdsal-binding-generator")
public interface ApplyPolicyGroup
extends org.opendaylight.yangtools.yang.binding.DataObject
Top level container for routing policy applications. This grouping is intended
to be used in routing models where needed.
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping apply-policy-group { container apply-policy { container config { uses apply-policy-config; } container state { config false; uses apply-policy-config; uses apply-policy-state; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn applyPolicy, ornull
if it is not present.Class<? extends ApplyPolicyGroup>
@NonNull ApplyPolicy
Return applyPolicy, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends ApplyPolicyGroup> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getApplyPolicy
ApplyPolicy getApplyPolicy()Return applyPolicy, ornull
if it is not present.Anchor point for routing policies in the model. Import and export policies are with respect to the local routing table, i.e., export (send) and import (receive), depending on the context.
- Returns:
ApplyPolicy
applyPolicy, ornull
if it is not present.
-
nonnullApplyPolicy
@NonNull ApplyPolicy nonnullApplyPolicy()Return applyPolicy, or an empty instance if it is not present.- Returns:
ApplyPolicy
applyPolicy, or an empty instance if it is not present.
-