Interface ElanInterfaces

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

    public interface ElanInterfaces
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ElanData>, org.opendaylight.yangtools.yang.binding.Augmentable<ElanInterfaces>
    elan is enabled on interfaces.

    This class represents the following YANG schema fragment defined in module elan

     container elan-interfaces {
       list elan-interface {
         key name;
         leaf name {
           type leafref {
             path /if:interfaces/if:interface/if:name;
           }
         }
         leaf elan-instance-name {
           type string;
         }
         list static-mac-entries {
           key mac-address;
           leaf mac-address {
             type yang:phys-address;
           }
           leaf ip-prefix {
             type inet:ip-address;
           }
         }
         leaf description {
           type string {
             length 1..254;
           }
         }
       }
     }
     
    The schema path to identify an instance is elan/elan-interfaces

    To create instances of this class use ElanInterfacesBuilder.

    See Also:
    ElanInterfacesBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<ElanInterface> getElanInterface()
        Returns:
        java.util.List elanInterface, or null if not present
      • nonnullElanInterface

        default @NonNull java.util.List<ElanInterface> nonnullElanInterface()
        Returns:
        java.util.List elanInterface, or an empty list if it is not present