Interface GenericActions
-
- All Superinterfaces:
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 policyThis class represents the following YANG schema fragment defined in module openconfig-routing-policy
grouping generic-actions { choice route-disposition { case accept-route { leaf accept-route { type empty; } } case reject-route { leaf reject-route { type empty; } } } }
The schema path to identify an instance is openconfig-routing-policy/generic-actions
-
-
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 Modifier and Type Method Description RouteDisposition
getRouteDisposition()
Return routeDisposition, ornull
if it is not present.Class<? extends GenericActions>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends GenericActions> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.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:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.routing.policy.rev151009.generic.actions.RouteDisposition
routeDisposition, ornull
if it is not present.
-
-