mirror of
				https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
				synced 2025-11-03 20:17:53 +00:00 
			
		
		
		
	output debug statements to show ovsdb operations being submitted in a batch
This commit is contained in:
		@@ -1116,6 +1116,8 @@ public class OvsdbDao {
 | 
				
			|||||||
                        provisionedBridges.keySet());
 | 
					                        provisionedBridges.keySet());
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        	LOG.debug("Sending batch of operations : {} ", operations);
 | 
				
			||||||
 | 
					        	
 | 
				
			||||||
            CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
					            CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
				
			||||||
            OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
					            OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2007,6 +2009,8 @@ public class OvsdbDao {
 | 
				
			|||||||
        row = new Row(updateColumns);
 | 
					        row = new Row(updateColumns);
 | 
				
			||||||
        operations.add(new Update(wifiRadioConfigDbTable, conditions, row));
 | 
					        operations.add(new Update(wifiRadioConfigDbTable, conditions, row));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    	LOG.debug("Sending batch of operations : {} ", operations);
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
        fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
					        fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
				
			||||||
        result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
					        result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2443,6 +2447,8 @@ public class OvsdbDao {
 | 
				
			|||||||
            provisionWifiStatsRssi(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations);
 | 
					            provisionWifiStatsRssi(radioConfigs, getProvisionedWifiStatsConfigs(ovsdbClient), operations);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (!operations.isEmpty()) {
 | 
					            if (!operations.isEmpty()) {
 | 
				
			||||||
 | 
					            	LOG.debug("Sending batch of operations : {} ", operations);
 | 
				
			||||||
 | 
					            	
 | 
				
			||||||
                CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
					                CompletableFuture<OperationResult[]> fResult = ovsdbClient.transact(ovsdbName, operations);
 | 
				
			||||||
                OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
					                OperationResult[] result = fResult.get(ovsdbTimeoutSec, TimeUnit.SECONDS);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user