issue:36955 remove creating temp file for debug

Signed-off-by: Samer Deeb <samerd@mellanox.com>
pull/37326/merge
Samer Deeb 7 years ago committed by Brian Coca
parent 80ba7b7402
commit 9031533c0c

@ -246,9 +246,6 @@ class OnyxLinkAggModule(BaseOnyxModule):
lag_summary = self._get_port_channels(if_type) lag_summary = self._get_port_channels(if_type)
if lag_summary: if lag_summary:
self._parse_port_channels_summary(lag_type, lag_summary) self._parse_port_channels_summary(lag_type, lag_summary)
with open('/tmp/linagg.txt', 'w') as fp:
fp.write('current_config: %s\n' % self._current_config)
fp.write('required_config: %s\n' % self._required_config)
def _get_interface_command_suffix(self, if_name): def _get_interface_command_suffix(self, if_name):
if if_name.startswith('Eth'): if if_name.startswith('Eth'):

Loading…
Cancel
Save