All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, CommonPort, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, FlowCapablePort, Queues
All Known Subinterfaces:
FlowCapableNodeConnector, FlowCapableNodeConnectorUpdated, FlowCapableNodeConnectorUpdateFields

@Generated("mdsal-binding-generator") public interface FlowNodeConnector extends org.opendaylight.yangtools.yang.binding.DataObject, FlowCapablePort
Wrapper of openflow port. TODO::simplify/rename

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

 grouping flow-node-connector {
   leaf reason {
     type port:port-reason;
   }
   uses port:flow-capable-port;
 }
 
  • 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 FlowNodeConnector> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface CommonPort
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface FlowCapablePort
      Specified by:
      implementedInterface in interface Queues
    • getReason

      PortReason getReason()
      Return reason, or null if it is not present.
      Returns:
      PortReason reason, or null if it is not present.
    • requireReason

      default @NonNull PortReason requireReason()
      Return reason, guaranteed to be non-null.
      Returns:
      PortReason reason, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if reason is not present