This is not finished, there's still to :
- remove hardcoded base chassis id and price
- add handler for amd configurations (only intel configs are currently handled)
- also refatored Dimm class to contain more details (will be useful to estimate ram throughput)
- also added type hinting to dell.py
work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=4015]
- the prices are now retrived from matinfo's downloaded pages
- the derived prices (such as the price without cpu) are now automatically computed, rather than hardcoded from (hand computation)
- although it's a bit dirty, the architecture of the code is more generic:
- each configuration is now stored in a Config object, which is able to compute its price.
- dell specific code is now decoupled into a separate file.
warnings:
- the refactoring is designed to handle the old price tables but this work is not finished (the code using the old price tables is broken at the moment)
- the computed price is currently overestimated, as the price of the base memory dimms should be substracted
- disks are not currently handled