Interface MultipartReplyPortStats

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyPortStats>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface MultipartReplyPortStats
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MultipartReply>, org.opendaylight.yangtools.yang.binding.Augmentable<MultipartReplyPortStats>

    This class represents the following YANG schema fragment defined in module openflow-protocol

     container multipart-reply-port-stats {
       list port-stats {
         leaf port-no {
           type uint32;
         }
         leaf rx-packets {
           type uint64;
         }
         leaf tx-packets {
           type uint64;
         }
         leaf rx-bytes {
           type uint64;
         }
         leaf tx-bytes {
           type uint64;
         }
         leaf rx-dropped {
           type uint64;
         }
         leaf tx-dropped {
           type uint64;
         }
         leaf rx-errors {
           type uint64;
         }
         leaf tx-errors {
           type uint64;
         }
         leaf rx-frame-err {
           type uint64;
         }
         leaf rx-over-err {
           type uint64;
         }
         leaf rx-crc-err {
           type uint64;
         }
         leaf collisions {
           type uint64;
         }
         leaf duration-sec {
           type uint32;
         }
         leaf duration-nsec {
           type uint32;
         }
       }
     }
     
    The schema path to identify an instance is openflow-protocol/multipart-reply/multipart-reply-body/multipart-reply-port-stats-case/multipart-reply-port-stats

    To create instances of this class use MultipartReplyPortStatsBuilder.

    See Also:
    MultipartReplyPortStatsBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<MultipartReplyPortStats> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getPortStats

        @Nullable List<PortStats> getPortStats()
        Returns:
        java.util.List portStats, or null if not present
      • nonnullPortStats

        default @NonNull List<PortStats> nonnullPortStats()
        Returns:
        java.util.List portStats, or an empty list if it is not present