mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
port_probe.py commented out probe print
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -62,7 +62,7 @@ class ProbePort(LFCliBase):
|
|||||||
self.response = response
|
self.response = response
|
||||||
if self.debug:
|
if self.debug:
|
||||||
print("probepath (eid): {probepath}".format(probepath=self.probepath))
|
print("probepath (eid): {probepath}".format(probepath=self.probepath))
|
||||||
pprint("Probe response: {response}".format(response=self.response))
|
# pprint("Probe response: {response}".format(response=self.response))
|
||||||
text = self.response['probe-results'][0][self.eid_str]['probe results'].split('\n')
|
text = self.response['probe-results'][0][self.eid_str]['probe results'].split('\n')
|
||||||
signals = [x.strip('\t').split('\t') for x in text if 'signal' in x]
|
signals = [x.strip('\t').split('\t') for x in text if 'signal' in x]
|
||||||
keys = [x[0].strip(' ').strip(':') for x in signals]
|
keys = [x[0].strip(' ').strip(':') for x in signals]
|
||||||
|
|||||||
Reference in New Issue
Block a user