Interface Autoattach

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Autoattach>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<AutoattachKey>

    @Generated("mdsal-binding-generator")
    public interface Autoattach
    extends org.opendaylight.yangtools.yang.binding.ChildOf<OvsdbNodeAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<Autoattach>, org.opendaylight.yangtools.yang.binding.Identifiable<AutoattachKey>

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

     list autoattach {
       key autoattach-id;
       leaf autoattach-id {
         type inet:uri;
       }
       leaf bridge-id {
         type inet:uri;
       }
       leaf autoattach-uuid {
         type yang:uuid;
       }
       leaf system-name {
         type string;
       }
       leaf system-description {
         type string;
       }
       list mappings {
         key mappings-key;
         leaf mappings-key {
           type uint32 {
             range 0..16777215;
           }
         }
         leaf mappings-value {
           type uint16 {
             range 0..4095;
           }
         }
       }
       list autoattach-external-ids {
         key autoattach-external-id-key;
         leaf autoattach-external-id-key {
           type string;
         }
         leaf autoattach-external-id-value {
           type string;
         }
       }
     }
     
    The schema path to identify an instance is ovsdb/ovsdb-node-attributes/autoattach

    To create instances of this class use AutoattachBuilder.

    See Also:
    AutoattachBuilder, AutoattachKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Autoattach> 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 Autoattach 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:
        NullPointerException - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull Autoattach thisObj,
                                     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:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull Autoattach 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:
        NullPointerException - if obj is null
      • getAutoattachId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getAutoattachId()
        Return autoattachId, or null if it is not present.
             
                 An identifier used for AutoAttach table in the MD-SAL.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri autoattachId, or null if it is not present.
      • getBridgeId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri getBridgeId()
        Return bridgeId, or null if it is not present.
             
                 Node-id of the Bridge table from where Autoattach table can be referenced.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri bridgeId, or null if it is not present.
      • getAutoattachUuid

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getAutoattachUuid()
        Return autoattachUuid, or null if it is not present.
             
                 The unique identifier of the autoattach table.
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid autoattachUuid, or null if it is not present.
      • getSystemName

        String getSystemName()
        Return systemName, or null if it is not present.
             
                 The system_name string is exported in LLDP messages. It should uniquely identify
                 the bridge in the network.
             
         
        Returns:
        java.lang.String systemName, or null if it is not present.
      • getSystemDescription

        String getSystemDescription()
        Return systemDescription, or null if it is not present.
             
                 The system_description string is exported in LLDP messages. It should describe
                 the type of software and hardware.
             
         
        Returns:
        java.lang.String systemDescription, or null if it is not present.
      • getMappings

        @Nullable Map<MappingsKey,​Mappings> getMappings()
        Return mappings, or null if it is not present.
             
                 Map of integer-integer pairs, key in range 0 to 16,777,215, value in range 0 to
                 4,095. A mapping from SPB network Individual Service Identifier (ISID) to VLAN
                 id.
             
         
        Returns:
        java.util.Map mappings, or null if it is not present.
      • nonnullMappings

        default @NonNull Map<MappingsKey,​Mappings> nonnullMappings()
        Return mappings, or an empty list if it is not present.
        Returns:
        java.util.Map mappings, or an empty list if it is not present.
      • getAutoattachExternalIds

        @Nullable Map<AutoattachExternalIdsKey,​AutoattachExternalIds> getAutoattachExternalIds()
        Return autoattachExternalIds, or null if it is not present.
             
                 Key-value pairs for use by external frameworks that integrate with Open vSwitch,
                 rather than by Open vSwitch itself.
             
         
        Returns:
        java.util.Map autoattachExternalIds, or null if it is not present.
      • nonnullAutoattachExternalIds

        default @NonNull Map<AutoattachExternalIdsKey,​AutoattachExternalIds> nonnullAutoattachExternalIds()
        Return autoattachExternalIds, or an empty list if it is not present.
        Returns:
        java.util.Map autoattachExternalIds, or an empty list if it is not present.