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, NodeContextRef
All Known Subinterfaces:
UpdatePortInput

@Generated("mdsal-binding-generator") public interface PortUpdate extends org.opendaylight.yangtools.yang.binding.DataObject, NodeContextRef
DataStore aware openflow port configuration update structure suitable for rpc (contains node-context-ref).

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

 grouping port-update {
   uses inv:node-context-ref;
   container original-port {
     uses port-type:port-mod;
   }
   container updated-port {
     uses port-type:port-mod;
   }
 }
 
  • 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 PortUpdate> 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
      Specified by:
      implementedInterface in interface NodeContextRef
    • getOriginalPort

      OriginalPort getOriginalPort()
      Return originalPort, or null if it is not present.
      Returns:
      OriginalPort originalPort, or null if it is not present.
    • nonnullOriginalPort

      @NonNull OriginalPort nonnullOriginalPort()
      Return originalPort, or an empty instance if it is not present.
      Returns:
      OriginalPort originalPort, or an empty instance if it is not present.
    • getUpdatedPort

      UpdatedPort getUpdatedPort()
      Return updatedPort, or null if it is not present.
      Returns:
      UpdatedPort updatedPort, or null if it is not present.
    • nonnullUpdatedPort

      @NonNull UpdatedPort nonnullUpdatedPort()
      Return updatedPort, or an empty instance if it is not present.
      Returns:
      UpdatedPort updatedPort, or an empty instance if it is not present.