Interface ForwardingEntries

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    ElanInterfaceMac, MacTable

    public interface ForwardingEntries
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Details of the MAC entries

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

     grouping forwarding-entries {
       list mac-entry {
         key mac-address;
         leaf mac-address {
           type yang:phys-address;
         }
         leaf interface {
           type leafref {
             path /if:interfaces/if:interface/if:name;
           }
         }
         leaf controllerLearnedForwardingEntryTimestamp {
           type uint64;
         }
         leaf isStaticAddress {
           type boolean;
         }
         leaf ip-prefix {
           type inet:ip-address;
         }
       }
     }
     
    The schema path to identify an instance is elan/forwarding-entries
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends ForwardingEntries> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMacEntry

        @Nullable java.util.List<MacEntry> getMacEntry()
        Details of a MAC address
        Returns:
        java.util.List macEntry, or null if not present
      • nonnullMacEntry

        default @NonNull java.util.List<MacEntry> nonnullMacEntry()
        Returns:
        java.util.List macEntry, or an empty list if it is not present