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 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 originalPort, or null if it is not present.
    Return updatedPort, or null if it is not present.
    Class<? extends PortUpdate>
     

    Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeContextRef

    getNode, requireNode
  • 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.
    • getUpdatedPort

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