Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vg12345 committed Sep 1, 2024
1 parent 98448cd commit 8ff2e0f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ def eval_isolation(self, port_name, cause):
if not self.test_mode:
self.ufm_client.send_event(log_message, event_id=Constants.EXTERNAL_EVENT_ALERT, external_event_name="Isolating Port")


def eval_deisolate(self, port_name):
"""
Evaluates the deisolation of a port.
Expand Down Expand Up @@ -180,7 +179,6 @@ def update_port_metadata(self, port_name, port):
port_width = int(port_width.strip('x'))
port_obj.port_width = port_width


def update_ports_data(self):
"""
Updates the ports data by retrieving metadata from the UFM client.
Expand All @@ -200,7 +198,7 @@ def update_ports_data(self):
self.update_port_metadata(port_name, port)
ports_updated = True
return ports_updated

def get_isolation_state(self):
"""
Retrieves the isolation state of the ports.
Expand All @@ -209,7 +207,6 @@ def get_isolation_state(self):
None: If the test mode is enabled.
List[str]: A list of isolated ports if available.
"""

if self.test_mode:
# I don't want to get to the isolated ports because we simulating everything..
return
Expand Down

0 comments on commit 8ff2e0f

Please sign in to comment.