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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return routeDisposition, or null if it is not present.
     
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends GenericActions> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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.
           
       
      Returns:
      RouteDisposition routeDisposition, or null if it is not present.