Interface MacEntry

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MacEntry>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<ForwardingEntries>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>

    public interface MacEntry
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ForwardingEntries>, org.opendaylight.yangtools.yang.binding.Augmentable<MacEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>
    Details of a MAC address

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

     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/mac-entry

    To create instances of this class use MacEntryBuilder.

    See Also:
    MacEntryBuilder, MacEntryKey
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getMacAddress()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress macAddress, or null if not present
      • getInterface

        @Nullable java.lang.String getInterface()
        Returns:
        java.lang.String interface, or null if not present
      • getControllerLearnedForwardingEntryTimestamp

        @Nullable org.opendaylight.yangtools.yang.common.Uint64 getControllerLearnedForwardingEntryTimestamp()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 controllerLearnedForwardingEntryTimestamp, or null if not present
      • isIsStaticAddress

        @Nullable java.lang.Boolean isIsStaticAddress()
        Returns:
        java.lang.Boolean isStaticAddress, or null if not present
      • getIpPrefix

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpPrefix()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ipPrefix, or null if not present
      • key

        MacEntryKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<MacEntryKey>