Interface GenericActions
- 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:
Actions
@Generated("mdsal-binding-generator")
public interface GenericActions
extends org.opendaylight.yangtools.yang.binding.DataObject
Definitions for common set of policy action statements that manage the
disposition or control flow of the policy
This class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping generic-actions { choice route-disposition { leaf accept-route { type empty; } leaf reject-route { type empty; } } }
-
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 routeDisposition, ornull
if it is not present.Class<? extends GenericActions>
-
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 GenericActions> 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
-
getRouteDisposition
RouteDisposition getRouteDisposition()Return routeDisposition, ornull
if it is not present.Select the final disposition for the route, either accept or reject.
- Returns:
RouteDisposition
routeDisposition, ornull
if it is not present.
-