Interface Autoattach
- 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 Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
bindingEquals
(@NonNull Autoattach thisObj, Object obj) Default implementation ofObject.equals(Object)
contract for this interface.static int
bindingHashCode
(@NonNull Autoattach obj) Default implementation ofObject.hashCode()
contract for this interface.static String
bindingToString
(@NonNull Autoattach obj) Default implementation ofObject.toString()
contract for this interface.@Nullable Map<AutoattachExternalIdsKey,
AutoattachExternalIds> Return autoattachExternalIds, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return autoattachId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return autoattachUuid, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return bridgeId, ornull
if it is not present.@Nullable Map<MappingsKey,
Mappings> Return mappings, ornull
if it is not present.Return systemDescription, ornull
if it is not present.Return systemName, ornull
if it is not present.default Class<Autoattach>
key()
default @NonNull Map<AutoattachExternalIdsKey,
AutoattachExternalIds> Return autoattachExternalIds, or an empty list if it is not present.default @NonNull Map<MappingsKey,
Mappings> Return mappings, or an empty list if it is not present.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return autoattachId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
Return autoattachUuid, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
Return bridgeId, guaranteed to be non-null.default @NonNull String
Return systemDescription, guaranteed to be non-null.default @NonNull String
Return systemName, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.yang.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
Default implementation ofObject.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
- ifobj
is null
-
bindingEquals
Default implementation ofObject.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 invocationobj
- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException
- ifthisObj
is null
-
bindingToString
Default implementation ofObject.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
- ifobj
is null
-
key
AutoattachKey key()- Specified by:
key
in interfaceorg.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, ornull
if it is not present.An identifier used for AutoAttach table in the MD-SAL.
- Returns:
Uri
autoattachId, ornull
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, ornull
if it is not present.Node-id of the Bridge table from where Autoattach table can be referenced.
- Returns:
Uri
bridgeId, ornull
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, ornull
if it is not present.The unique identifier of the autoattach table.
- Returns:
Uuid
autoattachUuid, ornull
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, ornull
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, ornull
if it is not present.
-
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, ornull
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, ornull
if it is not present.
-
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, ornull
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, ornull
if it is not present.
-
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, ornull
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, ornull
if it is not present.
-
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.
-