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 = {p[<NUM_LIT:0>]: p[<NUM_LIT:1>] for p in probe_test[<NUM_LIT:1>]}<EOL>probe_name = napalm.base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop("<STR_LIT>")<EOL>)<EOL>target = napalm.base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop("<STR_LIT:target>", "<STR_LIT>")<EOL>)<EOL>test_interval = napalm.base.helpers.convert(<EOL>int, test_details.pop("<STR_LIT>", "<STR_LIT:0>")<EOL>)<EOL>probe_count = napalm.base.helpers.convert(<EOL>int, test_details.pop("<STR_LIT>", "<STR_LIT:0>")<EOL>)<EOL>probe_type = napalm.base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop("<STR_LIT>", "<STR_LIT>")<EOL>)<EOL>source = napalm.base.helpers.convert(<EOL>py23_compat.text_type, test_details.pop("<STR_LIT>", "<STR_LIT>")<EOL>)<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.