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 policy

    This 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-policygeneric-actions
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • 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.
             
         
        Returns:
        RouteDisposition routeDisposition, or null if it is not present.