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 Optional<OvsdbNodeAugmentation>
getManagingNode(org.opendaylight.mdsal.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 InterfaceExternalIds
interfaceCreatedByOpenDaylight()
static PortExternalIds
portCreatedByOpenDaylight()
static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
Optional<D>readNode(org.opendaylight.mdsal.binding.api.ReadTransaction transaction, 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)
-
-
-
Method Detail
-
getManagingNode
public static Optional<OvsdbNodeAugmentation> getManagingNode(org.opendaylight.mdsal.binding.api.DataBroker db, OvsdbBridgeAttributes mn)
-
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.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)
-
interfaceCreatedByOpenDaylight
public static InterfaceExternalIds interfaceCreatedByOpenDaylight()
-
portCreatedByOpenDaylight
public static PortExternalIds portCreatedByOpenDaylight()
-
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)
-
-