Class SouthboundUtil
- java.lang.Object
-
- org.opendaylight.ovsdb.southbound.SouthboundUtil
-
public final class SouthboundUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
connectionInfoToString(ConnectionInfo connectionInfo)
static InterfaceExternalIds
createExternalIdsForInterface(String key, String value)
static PortExternalIds
createExternalIdsForPort(String key, String value)
static String
getBridgeNameFromOvsdbNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
static String
getControllerTarget(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode)
static com.google.common.base.Optional<OvsdbNodeAugmentation>
getManagingNode(org.opendaylight.controller.md.sal.binding.api.DataBroker db, OvsdbBridgeAttributes mn)
static String
getOvsdbNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
com.google.common.base.Optional<D>readNode(org.opendaylight.controller.md.sal.binding.api.ReadTransaction transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
static void
schemaMismatchLog(String column, String table, SchemaVersionMismatchException ex)
-
-
-
Method Detail
-
getManagingNode
public static com.google.common.base.Optional<OvsdbNodeAugmentation> getManagingNode(org.opendaylight.controller.md.sal.binding.api.DataBroker db, OvsdbBridgeAttributes mn)
-
readNode
public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> com.google.common.base.Optional<D> readNode(org.opendaylight.controller.md.sal.binding.api.ReadTransaction transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
-
getControllerTarget
public static String getControllerTarget(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode)
-
connectionInfoToString
public static String connectionInfoToString(ConnectionInfo connectionInfo)
-
schemaMismatchLog
public static void schemaMismatchLog(String column, String table, SchemaVersionMismatchException ex)
-
createExternalIdsForPort
public static PortExternalIds createExternalIdsForPort(String key, String value)
-
createExternalIdsForInterface
public static InterfaceExternalIds createExternalIdsForInterface(String key, String value)
-
getOvsdbNodeId
public static String getOvsdbNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
getBridgeNameFromOvsdbNodeId
public static String getBridgeNameFromOvsdbNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
-
-