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:
Ben Greear
2021-04-09 11:55:57 -07:00
parent 84d6674cd4
commit f5871607af

View File

@@ -323,8 +323,8 @@ class L3CXProfile(LFCliBase):
# 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
# re-calling 'create' will do the trick.
created_cx = {}
created_endp = {}
self.created_cx.clear()
self.created_endp.clear()
def create(self, endp_type, side_a, side_b, sleep_time=0.03, suppress_related_commands=None, debug_=False,
tos=None):