mutlicast_profile: Fix whitespace

Signed-off-by: matthew <stidmatt@gmail.com>
This commit is contained in:
matthew
2021-12-03 07:45:24 -08:00
parent 7b007598c3
commit 79d895024d

View File

@@ -4,7 +4,6 @@ import os
import importlib
import pprint
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
lfcli_base = importlib.import_module("py-json.LANforge.lfcli_base")
@@ -32,7 +31,8 @@ class MULTICASTProfile(LFCliBase):
self.name_prefix = name_prefix_
self.number_template = number_template_
def clean_mc_lists(self):
@staticmethod
def clean_mc_lists():
# 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.
@@ -52,7 +52,7 @@ class MULTICASTProfile(LFCliBase):
debug_ = True
for endp_name in self.get_mc_names():
print("Starting mcast endpoint: %s" % (endp_name))
print("Starting mcast endpoint: %s" % endp_name)
json_data = {
"endp_name": endp_name
}
@@ -96,8 +96,6 @@ class MULTICASTProfile(LFCliBase):
side_tx_port = side_tx_info[2]
side_tx_name = "%smtx-%s-%i" % (self.name_prefix, side_tx_port, len(self.created_mc))
json_data = []
# add_endp mcast-xmit-sta 1 1 side_tx mc_udp -1 NO 4000000 0 NO 1472 0 INCREASING NO 32 0 0
json_data = {
'alias': side_tx_name,