def dcnm_network_delete_event(self, network_info):
seg_id = network_info.get('<STR_LIT>')<EOL>if not seg_id:<EOL><INDENT>LOG.error('<STR_LIT>'<EOL>'<STR_LIT>', network_info)<EOL><DEDENT>query_net = self.get_network_by_segid(seg_id)<EOL>if not query_net:<EOL><INDENT>LOG.info('<STR_LIT>'<EOL>'<STR_LIT>', {'<STR_LIT>': seg_id})<EOL>return<EOL><DEDENT>if self.fw_api.is_network_source_fw(query_net, query_net.name):<EOL><INDENT>LOG.info("<STR_LIT>", query_net.name)<EOL>return<EOL><DEDENT>try:<EOL><INDENT>del_net = self.network.pop(query_net.network_id)<EOL>self.neutronclient.delete_network(query_net.network_id)<EOL>self.delete_network_db(query_net.network_id)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>self.network[query_net.network_id] = del_net<EOL>LOG.exception('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>{'<STR_LIT>': query_net.name, '<STR_LIT>': str(exc)})<EOL><DEDENT>
Process network delete event from DCNM.