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:

    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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends GenericActions> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getRouteDisposition

        RouteDisposition getRouteDisposition()
        Return routeDisposition, or null if it is not present.
                 Select the final disposition for the route, either accept or reject.
        RouteDisposition routeDisposition, or null if it is not present.