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/autoattachTo create instances of this class use
AutoattachBuilder
.- See Also:
AutoattachBuilder
,AutoattachKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static 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>
getAutoattachExternalIds()
Return autoattachExternalIds, ornull
if it is not present.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.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.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.@Nullable Map<MappingsKey,Mappings>
getMappings()
Return mappings, ornull
if it is not present.String
getSystemDescription()
Return systemDescription, ornull
if it is not present.String
getSystemName()
Return systemName, ornull
if it is not present.default Class<Autoattach>
implementedInterface()
AutoattachKey
key()
default @NonNull Map<AutoattachExternalIdsKey,AutoattachExternalIds>
nonnullAutoattachExternalIds()
Return autoattachExternalIds, or an empty list if it is not present.default @NonNull Map<MappingsKey,Mappings>
nonnullMappings()
Return mappings, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
default Class<Autoattach> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
bindingHashCode
static int bindingHashCode(@NonNull Autoattach obj)
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
static boolean bindingEquals(@NonNull Autoattach thisObj, Object obj)
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
static String bindingToString(@NonNull Autoattach obj)
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
-
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:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri
autoattachId, ornull
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, ornull
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, ornull
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, ornull
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, ornull
if it 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:
java.lang.String
systemName, ornull
if it 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:
java.lang.String
systemDescription, ornull
if it 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:
java.util.Map
mappings, ornull
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, 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:
java.util.Map
autoattachExternalIds, ornull
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.
-
key
AutoattachKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<AutoattachKey>
-
-