From ec9bceea4e84b54dec3ca409a87e32431a54d2bf Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 6 Dec 2021 17:00:29 -0800 Subject: [PATCH] multicast_profile.clean_mc_list: Looks like this is what it was supposed to do Signed-off-by: Matthew Stidham --- py-json/multicast_profile.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/py-json/multicast_profile.py b/py-json/multicast_profile.py index 847817a9..a7125703 100644 --- a/py-json/multicast_profile.py +++ b/py-json/multicast_profile.py @@ -31,12 +31,11 @@ class MULTICASTProfile(LFCliBase): self.name_prefix = name_prefix_ self.number_template = number_template_ - @staticmethod - def clean_mc_lists(): + def clean_mc_lists(self): # 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_mc = {} + self.created_mc = {} def get_mc_names(self): return self.created_mc.keys()