def delete_network(self, tenant_name, network):
seg_id = network.segmentation_id<EOL>network_info = {<EOL>'<STR_LIT>': tenant_name,<EOL>'<STR_LIT>': self._part_name,<EOL>'<STR_LIT>': seg_id,<EOL>}<EOL>LOG.debug("<STR_LIT>", network_info)<EOL>res = self._delete_network(network_info)<EOL>if res and res.status_code in self._resp_ok:<EOL><INDENT>LOG.debug("<STR_LIT>", network_info)<EOL><DEDENT>else:<EOL><INDENT>LOG.error("<STR_LIT>",<EOL>network_info)<EOL>raise dexc.DfaClientRequestFailed(reason=res)<EOL><DEDENT>
Delete network on the DCNM.

        :param tenant_name: name of tenant the network belongs to
        :param network: object that contains network parameters