def _convert_topo_obj_dict(self, topology_objs):
topo_lst = []<EOL>for topo_obj in topology_objs:<EOL><INDENT>topo_dct = {<EOL>'<STR_LIT:host>': topo_obj.host,<EOL>'<STR_LIT>': topo_obj.protocol_interface,<EOL>'<STR_LIT>': topo_obj.phy_interface,<EOL>'<STR_LIT>': topo_obj.created, '<STR_LIT>': topo_obj.heartbeat,<EOL>'<STR_LIT>': topo_obj.remote_mgmt_addr,<EOL>'<STR_LIT>': topo_obj.remote_system_name,<EOL>'<STR_LIT>': topo_obj.remote_system_desc,<EOL>'<STR_LIT>': topo_obj.remote_port_id_mac,<EOL>'<STR_LIT>': topo_obj.remote_chassis_id_mac,<EOL>'<STR_LIT>': topo_obj.remote_port,<EOL>'<STR_LIT>': topo_obj.remote_evb_cfgd,<EOL>'<STR_LIT>': topo_obj.remote_evb_mode,<EOL>'<STR_LIT>': topo_obj.configurations}<EOL>topo_lst.append(topo_dct)<EOL><DEDENT>return topo_lst<EOL>
Convert topology object to dict.