multicast_profile.clean_mc_list: Looks like this is what it was supposed to do

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-12-06 17:00:29 -08:00
parent fcc578e6f9
commit ec9bceea4e

View File

@@ -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()