Interface L2FibEntry

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<L2FibEntry>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<L2FibTable>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>

    @Generated("mdsal-binding-generator")
    public interface L2FibEntry
    extends org.opendaylight.yangtools.yang.binding.ChildOf<L2FibTable>, org.opendaylight.yangtools.yang.binding.Augmentable<L2FibEntry>, org.opendaylight.yangtools.yang.binding.Identifiable<L2FibEntryKey>

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

     list l2-fib-entry {
       key phys-address;
       leaf phys-address {
         type yang:phys-address;
       }
       leaf outgoing-interface {
         when "../action != 'l2-fib-filter'";
         type if:interface-ref;
       }
       leaf static-config {
         type boolean;
         default false;
       }
       leaf action {
         type l2-fib-action;
       }
       leaf bridged-virtual-interface {
         when "../action = 'forward'";
         type boolean;
         config false;
       }
     }
     
    The schema path to identify an instance is v3po/l2-fib-attributes/l2-fib-table/l2-fib-entry

    To create instances of this class use L2FibEntryBuilder.

    See Also:
    L2FibEntryBuilder, L2FibEntryKey
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static @NonNull org.opendaylight.yangtools.yang.common.QName QNAME  
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        static int bindingHashCode​(@NonNull L2FibEntry obj)
        Default implementation of Object.hashCode() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.
        Parameters:
        obj - Object for which to generate hashCode() result.
        Returns:
        Hash code value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull L2FibEntry thisObj,
                                     java.lang.Object obj)
        Default implementation of Object.equals(Object) contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.
        Parameters:
        thisObj - Object acting as the receiver of equals invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        java.lang.NullPointerException - if thisObj is null
      • bindingToString

        static java.lang.String bindingToString​(@NonNull L2FibEntry obj)
        Default implementation of Object.toString() contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.
        Parameters:
        obj - Object for which to generate toString() result.
        Returns:
        String value of data modeled by this interface.
        Throws:
        java.lang.NullPointerException - if obj is null
      • getPhysAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getPhysAddress()
        Return physAddress, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress physAddress, or null if it is not present.
      • getOutgoingInterface

        java.lang.String getOutgoingInterface()
        Return outgoingInterface, or null if it is not present.
             
                 One of interfaces assigned to the FIB table's bridge-domain.
             
         
        Returns:
        java.lang.String outgoingInterface, or null if it is not present.
      • getStaticConfig

        java.lang.Boolean getStaticConfig()
        Return staticConfig, or null if it is not present.
             
                 Static entries cannot be overridden by mac learning.
             
         
        Returns:
        java.lang.Boolean staticConfig, or null if it is not present.
      • isStaticConfig

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isStaticConfig()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getAction

        java.lang.Class<? extends L2FibAction> getAction()
        Return action, or null if it is not present.
             
                 L2 FIB action. For filter action, entry must be configured as static.
             
         
        Returns:
        java.lang.Class action, or null if it is not present.
      • getBridgedVirtualInterface

        java.lang.Boolean getBridgedVirtualInterface()
        Return bridgedVirtualInterface, or null if it is not present.
        Returns:
        java.lang.Boolean bridgedVirtualInterface, or null if it is not present.
      • isBridgedVirtualInterface

        @Deprecated(forRemoval=true)
        default java.lang.Boolean isBridgedVirtualInterface()
        Deprecated, for removal: This API element is subject to removal in a future version.