Package org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.apply.policy.group
Interface ApplyPolicy
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ApplyPolicy>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<ApplyPolicyGroup>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ApplyPolicy extends org.opendaylight.yangtools.yang.binding.ChildOf<ApplyPolicyGroup>, org.opendaylight.yangtools.yang.binding.Augmentable<ApplyPolicy>
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.This class represents the following YANG schema fragment defined in module openconfig-routing-policy
container apply-policy { container config { uses apply-policy-config; } container state { config false; uses apply-policy-config; uses apply-policy-state; } }
The schema path to identify an instance is openconfig-routing-policy/apply-policy-group/apply-policyTo create instances of this class use
ApplyPolicyBuilder
.- See Also:
ApplyPolicyBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Config
getConfig()
Policy configuration data.@Nullable State
getState()
Operational state for routing policydefault Class<ApplyPolicy>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<ApplyPolicy> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getConfig
@Nullable Config getConfig()
Policy configuration data.- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.apply.policy.group.apply.policy.Config
config
, ornull
if not present
-
getState
@Nullable State getState()
Operational state for routing policy- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.apply.policy.group.apply.policy.State
state
, ornull
if not present
-
-