Interface Mappings
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Mappings>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Autoattach>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<MappingsKey>
public interface Mappings extends org.opendaylight.yangtools.yang.binding.ChildOf<Autoattach>, org.opendaylight.yangtools.yang.binding.Augmentable<Mappings>, org.opendaylight.yangtools.yang.binding.Identifiable<MappingsKey>
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.This class represents the following YANG schema fragment defined in module ovsdb
list mappings { key mappings-key; leaf mappings-key { type uint32 { range 0..16777215; } } leaf mappings-value { type uint16 { range 0..4095; } } }
The schema path to identify an instance is ovsdb/ovsdb-node-attributes/autoattach/mappingsTo create instances of this class use
MappingsBuilder
.- See Also:
MappingsBuilder
,MappingsKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint32
getMappingsKey()
@Nullable org.opendaylight.yangtools.yang.common.Uint16
getMappingsValue()
default Class<Mappings>
implementedInterface()
MappingsKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<Mappings> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMappingsKey
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMappingsKey()
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
mappingsKey
, ornull
if not present
-
getMappingsValue
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getMappingsValue()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
mappingsValue
, ornull
if not present
-
key
MappingsKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<MappingsKey>
-
-