Class HwvtepSouthboundUtil

java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundUtil

public final class HwvtepSouthboundUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <K, D> void
    clearData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
     
    static String
     
    static <K, D> boolean
    containsKey(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
     
    static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>
     
    static <K, D> D
    getData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
     
    static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
    getGlobalNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> physicalNodeIid)
     
     
    getManagingNode(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepGlobalRef ref)
     
    getManagingNode(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepPhysicalSwitchAttributes node)
     
    static Integer
    getRemotePort(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
     
    static <T> boolean
     
    static boolean
    isEmptyMap(Map<?,?> map)
     
    static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
    Optional<D>
    readNode(org.opendaylight.mdsal.binding.api.DataBroker db, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
     
    static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
    Optional<D>
    readNode(org.opendaylight.mdsal.binding.api.ReadTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
     
    static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
    Optional<D>
    readNode(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
     
    static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
    Optional<D>
    readNode(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
     
    static void
     
    static String
    serializeInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
     
    static void
    Deprecated, for removal: This API element is subject to removal in a future version.
    static <K, D> void
    updateData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key, D data)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • setInstanceIdentifierCodec

      @Deprecated(forRemoval=true) public static void setInstanceIdentifierCodec(InstanceIdentifierCodec iidc)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getInstanceIdentifierCodec

      public static InstanceIdentifierCodec getInstanceIdentifierCodec()
    • serializeInstanceIdentifier

      public static String serializeInstanceIdentifier(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
    • deserializeInstanceIdentifier

      public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> deserializeInstanceIdentifier(String iidString)
    • readNode

      public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode(org.opendaylight.mdsal.binding.api.DataBroker db, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
    • readNode

      public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode(org.opendaylight.mdsal.binding.api.ReadTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
    • readNode

      public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
    • readNode

      public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
    • getManagingNode

      public static Optional<HwvtepGlobalAugmentation> getManagingNode(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepPhysicalSwitchAttributes node)
    • getManagingNode

      public static Optional<HwvtepGlobalAugmentation> getManagingNode(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepGlobalRef ref)
    • connectionInfoToString

      public static String connectionInfoToString(ConnectionInfo connectionInfo)
    • schemaMismatchLog

      public static void schemaMismatchLog(String column, String table, SchemaVersionMismatchException ex)
    • updateData

      public static <K, D> void updateData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key, D data)
    • getData

      public static <K, D> D getData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
    • containsKey

      public static <K, D> boolean containsKey(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
    • clearData

      public static <K, D> void clearData(Map<Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware>,Map<K,D>> map, Class<? extends org.opendaylight.yangtools.yang.binding.KeyAware> cls, K key)
    • isEmpty

      public static <T> boolean isEmpty(Collection<T> list)
    • isEmptyMap

      public static boolean isEmptyMap(Map<?,?> map)
    • getGlobalNodeIid

      public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getGlobalNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> physicalNodeIid)
    • getRemotePort

      public static Integer getRemotePort(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)