def get_probes_results(self):
probes_results = {}<EOL>probes_results_table = junos_views.junos_rpm_probes_results_table(self.device)<EOL>probes_results_table.get()<EOL>probes_results_items = probes_results_table.items()<EOL>for probe_result in probes_results_items:<EOL><INDENT>probe_name = py23_compat.text_type(probe_result[<NUM_LIT:0>])<EOL>test_results = {<EOL>p[<NUM_LIT:0>]: p[<NUM_LIT:1>] for p in probe_result[<NUM_LIT:1>]<EOL>}<EOL>test_results['<STR_LIT>'] = napalm_base.helpers.convert(<EOL>int, test_results.pop('<STR_LIT>'), <NUM_LIT:0>)<EOL>for test_param_name, test_param_value in test_results.items():<EOL><INDENT>if isinstance(test_param_value, float):<EOL><INDENT>test_results[test_param_name] = test_param_value * <NUM_LIT><EOL><DEDENT><DEDENT>test_name = test_results.pop('<STR_LIT>', '<STR_LIT>')<EOL>source = test_results.get('<STR_LIT:source>', u'<STR_LIT>')<EOL>if source is None:<EOL><INDENT>test_results['<STR_LIT:source>'] = u'<STR_LIT>'<EOL><DEDENT>if probe_name not in probes_results.keys():<EOL><INDENT>probes_results[probe_name] = {}<EOL><DEDENT>probes_results[probe_name][test_name] = test_results<EOL><DEDENT>return probes_results<EOL>
Return the results of the RPM probes.