Interface Interfaces

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

    public interface Interfaces
    extends org.opendaylight.yangtools.yang.binding.ChildOf<InterfacesTop>, org.opendaylight.yangtools.yang.binding.Augmentable<Interfaces>
    Top level container for interfaces, including configuration and state data.

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

     container interfaces {
       list interface {
         key name;
         leaf name {
           type leafref {
             path ../oc-if:config/oc-if:name;
           }
         }
         container config {
           uses interface-phys-config;
         }
         container state {
           config false;
           uses interface-phys-config;
           uses interface-common-state;
           uses interface-counters-state;
         }
         uses interface-phys-holdtime-top;
         uses subinterfaces-top;
       }
     }
     
    The schema path to identify an instance is openconfig-interfaces/interfaces-top/interfaces

    To create instances of this class use InterfacesBuilder.

    See Also:
    InterfacesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable List<Interface> getInterface()
        The list of named interfaces on the device.
        Returns:
        java.util.List interface, or null if not present
      • nonnullInterface

        default @NonNull List<Interface> nonnullInterface()
        Returns:
        java.util.List interface, or an empty list if it is not present