def get_snmp_information(self):
<EOL>snmp_dict = {"<STR_LIT>": "<STR_LIT>", "<STR_LIT:location>": "<STR_LIT>", "<STR_LIT>": "<STR_LIT>", "<STR_LIT>": {}}<EOL>commands = ["<STR_LIT>", "<STR_LIT>", "<STR_LIT>"]<EOL>snmp_config = self.device.run_commands(commands, encoding="<STR_LIT>")<EOL>for line in snmp_config:<EOL><INDENT>for k, v in line.items():<EOL><INDENT>if k == "<STR_LIT>":<EOL><INDENT>snmp_dict["<STR_LIT>"] = v<EOL><DEDENT>else:<EOL><INDENT>snmp_dict[k] = v.strip('<STR_LIT:">')<EOL><DEDENT><DEDENT><DEDENT>commands = ["<STR_LIT>"]<EOL>raw_snmp_config = self.device.run_commands(commands, encoding="<STR_LIT:text>")[<NUM_LIT:0>].get(<EOL>"<STR_LIT>", "<STR_LIT>"<EOL>)<EOL>for line in raw_snmp_config.splitlines():<EOL><INDENT>match = self._RE_SNMP_COMM.search(line)<EOL>if match:<EOL><INDENT>matches = match.groupdict("<STR_LIT>")<EOL>snmp_dict["<STR_LIT>"][match.group("<STR_LIT>")] = {<EOL>"<STR_LIT>": py23_compat.text_type(matches["<STR_LIT>"]),<EOL>"<STR_LIT>": py23_compat.text_type(matches["<STR_LIT>"]),<EOL>}<EOL><DEDENT><DEDENT>return snmp_dict<EOL>
get_snmp_information() for EOS.  Re-written to not use TextFSM