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/mappings

    To create instances of this class use MappingsBuilder.

    See Also:
    MappingsBuilder, MappingsKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Mappings> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getMappingsKey

        @Nullable org.opendaylight.yangtools.yang.common.Uint32 getMappingsKey()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 mappingsKey, or null if not present
      • getMappingsValue

        @Nullable org.opendaylight.yangtools.yang.common.Uint16 getMappingsValue()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 mappingsValue, or null if not present
      • key

        MappingsKey key()
        Specified by:
        key in interface org.opendaylight.yangtools.yang.binding.Identifiable<MappingsKey>