mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-04 04:38:02 +00:00 
			
		
		
		
	l3-profile: Fix clearing lists.
Forgot a self. prefix for variable, so it didn't actually do anything. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
		@@ -323,8 +323,8 @@ class L3CXProfile(LFCliBase):
 | 
				
			|||||||
        # Clean out our local lists, this by itself does NOT remove anything from LANforge manager.
 | 
					        # Clean out our local lists, this by itself does NOT remove anything from LANforge manager.
 | 
				
			||||||
        # but, if you are trying to modify existing connections, then clearing these arrays and
 | 
					        # but, if you are trying to modify existing connections, then clearing these arrays and
 | 
				
			||||||
        # re-calling 'create' will do the trick.
 | 
					        # re-calling 'create' will do the trick.
 | 
				
			||||||
        created_cx = {}
 | 
					        self.created_cx.clear()
 | 
				
			||||||
        created_endp = {}
 | 
					        self.created_endp.clear()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def create(self, endp_type, side_a, side_b, sleep_time=0.03, suppress_related_commands=None, debug_=False,
 | 
					    def create(self, endp_type, side_a, side_b, sleep_time=0.03, suppress_related_commands=None, debug_=False,
 | 
				
			||||||
               tos=None):
 | 
					               tos=None):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user