Interface SubinterfacesState

  • All Superinterfaces:
    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;
     }
     
    The schema path to identify an instance is openconfig-interfacessubinterfaces-state
    • Field Detail

      • QNAME

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

      • 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