Interface NodeFlow

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, Flow, GenericFlowAttributes, NodeContextRef
    All Known Subinterfaces:
    AddFlowInput, FlowAdded, FlowRemoved, FlowUpdated, RemoveFlowInput

    @Generated("mdsal-binding-generator")
    public interface NodeFlow
    extends org.opendaylight.yangtools.yang.binding.DataObject, NodeContextRef, Flow
    Top openflow flow structure suitable for rpc input (contains node-context).

    This class represents the following YANG schema fragment defined in module sal-flow

     grouping node-flow {
       uses inv:node-context-ref;
       leaf flow-table {
         type flow-table-ref;
       }
       uses types:flow;
     }
     
    • Field Detail

      • QNAME

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

      • getFlowTable

        FlowTableRef getFlowTable()
        Return flowTable, or null if it is not present.
        Returns:
        FlowTableRef flowTable, or null if it is not present.
      • requireFlowTable

        default @NonNull FlowTableRef requireFlowTable()
        Return flowTable, guaranteed to be non-null.
        Returns:
        FlowTableRef flowTable, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if flowTable is not present