Commit Graph

2 Commits

Author SHA1 Message Date
Guillaume Raffy 6b91c0d1ca decoupled config genration from plot
This allows the user to choose another set of configurations without touching plot code
2020-10-01 11:01:08 +02:00
Guillaume Raffy 93a8b77231 refactored because the code was hard to maintain and was hacked in lots of ways (handling of 4 servers per host).
- 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
2020-09-25 16:35:13 +02:00