def get_probes_config(self):
probes = {}<EOL>probes_table = junos_views.junos_rpm_probes_config_table(self.device)<EOL>probes_table.get()<EOL>probes_table_items = probes_table.items()<EOL>for probe_test in probes_table_items:<EOL><INDENT>test_name = py23_compat.text_type(probe_test[<NUM_LIT:0>])<EOL>test_details = {<EOL>p[<NUM_LIT:0>]: p[<NUM_LIT:1>] for p in probe_test[<NUM_LIT:1>]<EOL>}<EOL>probe_name = napalm_base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop('<STR_LIT>'))<EOL>target = napalm_base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop('<STR_LIT:target>', '<STR_LIT>'))<EOL>test_interval = napalm_base.helpers.convert(int, test_details.pop('<STR_LIT>', '<STR_LIT:0>'))<EOL>probe_count = napalm_base.helpers.convert(int, test_details.pop('<STR_LIT>', '<STR_LIT:0>'))<EOL>probe_type = napalm_base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop('<STR_LIT>', '<STR_LIT>'))<EOL>source = napalm_base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop('<STR_LIT>', '<STR_LIT>'))<EOL>if probe_name not in probes.keys():<EOL><INDENT>probes[probe_name] = {}<EOL><DEDENT>probes[probe_name][test_name] = {<EOL>'<STR_LIT>': probe_type,<EOL>'<STR_LIT:target>': target,<EOL>'<STR_LIT:source>': source,<EOL>'<STR_LIT>': probe_count,<EOL>'<STR_LIT>': test_interval<EOL>}<EOL><DEDENT>return probes<EOL>
Return the configuration of the RPM probes.