Interface DpnToInterfaceList

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

    public interface DpnToInterfaceList
    extends org.opendaylight.yangtools.yang.binding.ChildOf<OdlInterfaceMetaData>, org.opendaylight.yangtools.yang.binding.Augmentable<DpnToInterfaceList>
    Contains the list of interfaces on the given dpn

    This class represents the following YANG schema fragment defined in module odl-interface-meta

     container dpn-to-interface-list {
       config false;
       list dpn-to-interface {
         key dpid;
         leaf dpid {
           type uint64;
         }
         list interface-name-entry {
           key interface-name;
           leaf interface-name {
             type string;
           }
           leaf interface-type {
             type identityref {
               base interface-type;
             }
           }
         }
       }
     }
     
    The schema path to identify an instance is odl-interface-meta/dpn-to-interface-list

    To create instances of this class use DpnToInterfaceListBuilder.

    See Also:
    DpnToInterfaceListBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<DpnToInterfaceList> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getDpnToInterface

        @Nullable java.util.List<DpnToInterface> getDpnToInterface()
        Returns:
        java.util.List dpnToInterface, or null if not present
      • nonnullDpnToInterface

        default @NonNull java.util.List<DpnToInterface> nonnullDpnToInterface()
        Returns:
        java.util.List dpnToInterface, or an empty list if it is not present