All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Autoattach>, org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, 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;
     }
   }
 }
 

To create instances of this class use AutoattachBuilder.

See Also:
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      default Class<Autoattach> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<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
    • key

      Specified by:
      key in interface org.opendaylight.yangtools.yang.binding.Identifiable<AutoattachKey>
    • 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:
      Uri autoattachId, or null if it is not present.
    • requireAutoattachId

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireAutoattachId()
      Return autoattachId, guaranteed to be non-null.
           
               An identifier used for AutoAttach table in the MD-SAL.
           
       
      Returns:
      Uri autoattachId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if autoattachId 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:
      Uri bridgeId, or null if it is not present.
    • requireBridgeId

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri requireBridgeId()
      Return bridgeId, guaranteed to be non-null.
           
               Node-id of the Bridge table from where Autoattach table can be referenced.
           
       
      Returns:
      Uri bridgeId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if bridgeId 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:
      Uuid autoattachUuid, or null if it is not present.
    • requireAutoattachUuid

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireAutoattachUuid()
      Return autoattachUuid, guaranteed to be non-null.
           
               The unique identifier of the autoattach table.
           
       
      Returns:
      Uuid autoattachUuid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if autoattachUuid 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:
      String systemName, or null if it is not present.
    • requireSystemName

      default @NonNull String requireSystemName()
      Return systemName, guaranteed to be non-null.
           
               The system_name string is exported in LLDP messages. It should uniquely identify
               the bridge in the network.
           
       
      Returns:
      String systemName, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if systemName 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:
      String systemDescription, or null if it is not present.
    • requireSystemDescription

      default @NonNull String requireSystemDescription()
      Return systemDescription, guaranteed to be non-null.
           
               The system_description string is exported in LLDP messages. It should describe
               the type of software and hardware.
           
       
      Returns:
      String systemDescription, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if systemDescription 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:
      Map<MappingsKey, Mappings> 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:
      Map<MappingsKey, Mappings> 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:
      Map<AutoattachExternalIdsKey, AutoattachExternalIds> 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:
      Map<AutoattachExternalIdsKey, AutoattachExternalIds> autoattachExternalIds, or an empty list if it is not present.