def get_lldp_neighbors_detail(self, interface='<STR_LIT>'):
lldp = {}<EOL>lldp_neighbors = self.get_lldp_neighbors()<EOL>if interface:<EOL><INDENT>lldp_data = lldp_neighbors.get(interface)<EOL>if lldp_data:<EOL><INDENT>lldp_neighbors = {interface: lldp_data}<EOL><DEDENT>else:<EOL><INDENT>lldp_neighbors = {}<EOL><DEDENT><DEDENT>for interface in lldp_neighbors:<EOL><INDENT>local_port = interface<EOL>lldp_fields = self._lldp_detail_parser(interface)<EOL>for field in lldp_fields:<EOL><INDENT>for i, value in enumerate(field):<EOL><INDENT>if '<STR_LIT>' in value:<EOL><INDENT>field[i] = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT>number_entries = len(lldp_fields[<NUM_LIT:0>])<EOL>for test_list in lldp_fields:<EOL><INDENT>if len(test_list) != number_entries:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>port_id, port_description, chassis_id, system_name, system_description,system_capabilities, enabled_capabilities, remote_address = lldp_fields<EOL>standardized_fields = zip(port_id, port_description, chassis_id, system_name,<EOL>system_description, system_capabilities,<EOL>enabled_capabilities, remote_address)<EOL>lldp.setdefault(local_port, [])<EOL>for entry in standardized_fields:<EOL><INDENT>remote_port_id, remote_port_description, remote_chassis_id, remote_system_name,remote_system_description, remote_system_capab, remote_enabled_capab,remote_mgmt_address = entry<EOL>lldp[local_port].append({<EOL>'<STR_LIT>': u'<STR_LIT>',<EOL>'<STR_LIT>': remote_port_id,<EOL>'<STR_LIT>': remote_port_description,<EOL>'<STR_LIT>': remote_chassis_id,<EOL>'<STR_LIT>': remote_system_name,<EOL>'<STR_LIT>': remote_system_description,<EOL>'<STR_LIT>': remote_system_capab,<EOL>'<STR_LIT>': remote_enabled_capab})<EOL><DEDENT><DEDENT>return lldp<EOL>
IOS implementation of get_lldp_neighbors_detail.

Calls get_lldp_neighbors.