Class HwvtepSouthboundUtil
java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepSouthboundUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <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
connectionInfoToString
(ConnectionInfo connectionInfo) 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<?>
deserializeInstanceIdentifier
(String iidString) 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) static InstanceIdentifierCodec
static Optional<HwvtepGlobalAugmentation>
getManagingNode
(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepGlobalRef ref) static Optional<HwvtepGlobalAugmentation>
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
isEmpty
(Collection<T> list) 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
schemaMismatchLog
(String column, String table, SchemaVersionMismatchException ex) 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)
-
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
-
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
-
schemaMismatchLog
public static void schemaMismatchLog(String column, String table, SchemaVersionMismatchException ex) -
updateData
-
getData
-
containsKey
-
clearData
-
isEmpty
-
isEmptyMap
-
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)
-