mirror of
				https://github.com/Telecominfraproject/wlan-cloud-owprov.git
				synced 2025-11-04 04:28:01 +00:00 
			
		
		
		
	Debugging
This commit is contained in:
		@@ -91,11 +91,17 @@ namespace OpenWifi{
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if(ValidateUCentralConfiguration(i.configuration, Error)) {
 | 
			
		||||
                /* nothing to do */ ;
 | 
			
		||||
                std::cout << "Block: " << i.name << " is valid" << std::endl;
 | 
			
		||||
            } else {
 | 
			
		||||
                std::cout << "Block: " << std::endl << ">>>" << std::endl << i.configuration << std::endl << ">>> REJECTED" << std::endl;
 | 
			
		||||
            try {
 | 
			
		||||
                if (ValidateUCentralConfiguration(i.configuration, Error)) {
 | 
			
		||||
                    /* nothing to do */ ;
 | 
			
		||||
                    std::cout << "Block: " << i.name << " is valid" << std::endl;
 | 
			
		||||
                } else {
 | 
			
		||||
                    std::cout << "Block: " << std::endl << ">>>" << std::endl << i.configuration << std::endl
 | 
			
		||||
                              << ">>> REJECTED" << std::endl;
 | 
			
		||||
                    return false;
 | 
			
		||||
                }
 | 
			
		||||
            } catch(...) {
 | 
			
		||||
                std::cout << "Exception in validation" << std::endl;
 | 
			
		||||
                return false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user