psAugBuilder.setTunnelIps(tunnelIps);
psAugBuilder.setTunnels(tunnels);
psNodeBuilder.addAugmentation(PhysicalSwitchAugmentation.class, psAugBuilder.build());
- LOG.debug("Built with intent to store PhysicalSwitch data {}", psAugBuilder.toString());
+ LOG.debug("Built with intent to store PhysicalSwitch data {}", psAugBuilder);
Assert.assertTrue(
mdsalUtils.merge(LogicalDatastoreType.CONFIGURATION, psIid, psNodeBuilder.build()));
try {
}
public static void channelClosed(final OvsdbClient client) {
- LOG.info("Connection closed {}", client.getConnectionInfo().toString());
+ LOG.info("Connection closed {}", client.getConnectionInfo());
CONNECTIONS.remove(client);
if (client.isConnectionPublished()) {
for (OvsdbConnectionListener listener : CONNECTION_LISTENERS) {
public void processResult(JsonNode response) throws NoSuchMethodException {
- LOG.trace("Response : {}", response.toString());
+ LOG.trace("Response : {}", response);
CallContext returnCtxt = methodContext.remove(response.get("id").asText());
if (returnCtxt == null) {
return;
Object result1 = objectMapper.convertValue(result, javaType);
JsonNode error = response.get("error");
if (error != null && !error.isNull()) {
- LOG.error("Error : {}", error.toString());
+ LOG.error("Error : {}", error);
}
returnCtxt.getFuture().set(result1);
return;
}
- LOG.error("No handler for Request : {} on {}", requestJson.toString(), context);
+ LOG.error("No handler for Request : {} on {}", requestJson, context);
}
public Map<String, CallContext> getMethodContext() {
ovs = LibraryIntegrationTestUtils.getTestConnection(this);
assertNotNull("Failed to get connection to ovsdb node", ovs);
- LOG.info("Connection Info: {}", ovs.getConnectionInfo().toString());
+ LOG.info("Connection Info: {}", ovs.getConnectionInfo());
testGetDBs();
dbSchema = ovs.getSchema(LibraryIntegrationTestUtils.OPEN_VSWITCH).get();
}
}
ovs = LibraryIntegrationTestUtils.getTestConnection(this);
assertNotNull("Failed to get connection to ovsdb node", ovs);
- LOG.info("Connection Info: {}", ovs.getConnectionInfo().toString());
+ LOG.info("Connection Info: {}", ovs.getConnectionInfo());
testGetDBs();
dbSchema = ovs.getSchema(LibraryIntegrationTestUtils.OPEN_VSWITCH).get();
}
.augmentation(OvsdbNodeAugmentation.class)
.child(Autoattach.class, autoAttachKey);
transaction.delete(LogicalDatastoreType.OPERATIONAL, iid);
- LOG.debug("AutoAttach table {} for Ovsdb Node {} is deleted", autoAttachUuid.toString(),
+ LOG.debug("AutoAttach table {} for Ovsdb Node {} is deleted", autoAttachUuid,
ovsdbNode.get().getNodeId());
} else {
- LOG.warn("AutoAttach table {} not found for Ovsdb Node {} to delete", autoAttachUuid.toString(),
+ LOG.warn("AutoAttach table {} not found for Ovsdb Node {} to delete", autoAttachUuid,
ovsdbNode.get().getNodeId());
}
}
private QosEntriesKey getQosEntriesKey(Node node, UUID qosUuid) {
List<QosEntries> qosList = node.augmentation(OvsdbNodeAugmentation.class).getQosEntries();
if (qosList == null || qosList.isEmpty()) {
- LOG.debug("Deleting Qos {}, Ovsdb Node {} does not have a Qos list.", qosUuid.toString(), node);
+ LOG.debug("Deleting Qos {}, Ovsdb Node {} does not have a Qos list.", qosUuid, node);
return null;
}
Iterator<QosEntries> itr = qosList.iterator();
return qos.key();
}
}
- LOG.debug("Deleted Queue {} not found in Ovsdb Node {}", qosUuid.toString(), node);
+ LOG.debug("Deleted Queue {} not found in Ovsdb Node {}", qosUuid, node);
return null;
}
private QueuesKey getQueueKey(Node node, UUID queueUuid) {
List<Queues> queueList = node.augmentation(OvsdbNodeAugmentation.class).getQueues();
if (queueList == null || queueList.isEmpty()) {
- LOG.debug("Deleting Queue {}, Ovsdb Node {} does not have a Queue list.", queueUuid.toString(), node);
+ LOG.debug("Deleting Queue {}, Ovsdb Node {} does not have a Queue list.", queueUuid, node);
return null;
}
Iterator<Queues> itr = queueList.iterator();
return queue.key();
}
}
- LOG.debug("Deleted Queue {} not found in Ovsdb Node {}", queueUuid.toString(), node);
+ LOG.debug("Deleted Queue {} not found in Ovsdb Node {}", queueUuid, node);
return null;
}
ovsdbBridgeAugmentationBuilder.setControllerEntry(controllerEntries);
ovsdbBridgeAugmentationBuilder.setBridgeOtherConfigs(otherConfigs);
bridgeNodeBuilder.addAugmentation(OvsdbBridgeAugmentation.class, ovsdbBridgeAugmentationBuilder.build());
- LOG.debug("Built with the intent to store bridge data {}", ovsdbBridgeAugmentationBuilder.toString());
+ LOG.debug("Built with the intent to store bridge data {}", ovsdbBridgeAugmentationBuilder);
Assert.assertTrue(
mdsalUtils.merge(LogicalDatastoreType.CONFIGURATION, bridgeIid, bridgeNodeBuilder.build()));
try {
helper.writeValues(bridgeCreateAugmentationBuilder, updateFromTestCase.inputValues);
bridgeCreateNodeBuilder.addAugmentation(OvsdbBridgeAugmentation.class,
bridgeCreateAugmentationBuilder.build());
- LOG.debug("Built with the intent to store bridge data {}", bridgeCreateAugmentationBuilder.toString());
+ LOG.debug("Built with the intent to store bridge data {}", bridgeCreateAugmentationBuilder);
Assert.assertTrue(mdsalUtils.merge(LogicalDatastoreType.CONFIGURATION, bridgeIid,
bridgeCreateNodeBuilder.build()));
Thread.sleep(OVSDB_UPDATE_TIMEOUT);