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
All Known Subinterfaces:
System

@Generated("mdsal-binding-generator") public interface SystemCpuTop extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for system CPU data

This class represents the following YANG schema fragment defined in module openconfig-system

 grouping system-cpu-top {
   container cpus {
     config false;
     list cpu {
       key index;
       leaf index {
         type leafref {
           path ../state/index;
         }
       }
       container state {
         uses system-cpu-state;
       }
     }
   }
 }
 
  • 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 cpus, or null if it is not present.
    Class<? extends SystemCpuTop>
     
    @NonNull Cpus
    Return cpus, or an empty instance if it is not present.
  • 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 SystemCpuTop> 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
    • getCpus

      Cpus getCpus()
      Return cpus, or null if it is not present.
           
               Enclosing container for the list of CPU cores on the system
           
       
      Returns:
      Cpus cpus, or null if it is not present.
    • nonnullCpus

      @NonNull Cpus nonnullCpus()
      Return cpus, or an empty instance if it is not present.
      Returns:
      Cpus cpus, or an empty instance if it is not present.