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, InterfaceCommonState, InterfaceCountersState
All Known Subinterfaces:
State

@Generated("mdsal-binding-generator") public interface SubinterfacesState extends org.opendaylight.yangtools.yang.binding.DataObject, InterfaceCommonState, InterfaceCountersState
Operational state data for subinterfaces

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

 grouping subinterfaces-state {
   oc-ext:operational;
   leaf name {
     type string;
     oc-ext:telemetry-on-change;
   }
   uses interface-common-state;
   uses interface-counters-state;
 }
 
  • 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 SubinterfacesState> 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 InterfaceCommonState
      Specified by:
      implementedInterface in interface InterfaceCountersState
    • getName

      String getName()
      Return name, or null if it is not present.
           
               The system-assigned name for the sub-interface. This MAY be a combination of the
               base interface name and the subinterface index, or some other convention used by
               the system.
           
       
      Returns:
      String name, or null if it is not present.
    • requireName

      default @NonNull String requireName()
      Return name, guaranteed to be non-null.
           
               The system-assigned name for the sub-interface. This MAY be a combination of the
               base interface name and the subinterface index, or some other convention used by
               the system.
           
       
      Returns:
      String name, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if name is not present