Interface Subinterfaces

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

    public interface Subinterfaces
    extends org.opendaylight.yangtools.yang.binding.ChildOf<SubinterfacesTop>, org.opendaylight.yangtools.yang.binding.Augmentable<Subinterfaces>
    Enclosing container for the list of subinterfaces associated with a physical interface

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

     container subinterfaces {
       list subinterface {
         key index;
         leaf index {
           type leafref {
             path ../oc-if:config/oc-if:index;
           }
         }
         container config {
           uses subinterfaces-config;
         }
         container state {
           config false;
           uses subinterfaces-config;
           uses subinterfaces-state;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-interfaces/subinterfaces-top/subinterfaces

    To create instances of this class use SubinterfacesBuilder.

    See Also:
    SubinterfacesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Subinterface> getSubinterface()
        The list of subinterfaces (logical interfaces) associated with a physical interface
        Returns:
        java.util.List subinterface, or null if not present
      • nonnullSubinterface

        default @NonNull List<Subinterface> nonnullSubinterface()
        Returns:
        java.util.List subinterface, or an empty list if it is not present