mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	StationProfile.create: Pretty print out current ports as soon as function starts when debug is on.
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
		@@ -394,6 +394,7 @@ class StationProfile:
 | 
				
			|||||||
               sleep_time=0.02):
 | 
					               sleep_time=0.02):
 | 
				
			||||||
        if debug:
 | 
					        if debug:
 | 
				
			||||||
            print('Start station_profile.create')
 | 
					            print('Start station_profile.create')
 | 
				
			||||||
 | 
					            pprint('Current ports: %s' % LFRequest.LFRequest('/ports'))
 | 
				
			||||||
        if (radio is None) or (radio == ""):
 | 
					        if (radio is None) or (radio == ""):
 | 
				
			||||||
            raise ValueError("station_profile.create: will not create stations without radio")
 | 
					            raise ValueError("station_profile.create: will not create stations without radio")
 | 
				
			||||||
        # Get the last event number currently on the LANforge
 | 
					        # Get the last event number currently on the LANforge
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user