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, InterfaceCommonConfig
All Known Subinterfaces:
Config, State

@Generated("mdsal-binding-generator") public interface SubinterfacesConfig extends org.opendaylight.yangtools.yang.binding.DataObject, InterfaceCommonConfig
Configuration data for subinterfaces

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

 grouping subinterfaces-config {
   leaf index {
     type uint32;
     default 0;
   }
   uses interface-common-config;
 }
 
  • 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 SubinterfacesConfig> 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 InterfaceCommonConfig
    • getIndex

      org.opendaylight.yangtools.yang.common.Uint32 getIndex()
      Return index, or null if it is not present.
           
               The index of the subinterface, or logical interface number. On systems with no
               support for subinterfaces, or not using subinterfaces, this value should default
               to 0, i.e., the default subinterface.
           
       
      Returns:
      Uint32 index, or null if it is not present.
    • requireIndex

      default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireIndex()
      Return index, guaranteed to be non-null.
           
               The index of the subinterface, or logical interface number. On systems with no
               support for subinterfaces, or not using subinterfaces, this value should default
               to 0, i.e., the default subinterface.
           
       
      Returns:
      Uint32 index, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if index is not present