Commit Graph

4 Commits

Author SHA1 Message Date
Guillaume Raffy 053d0f17ac now concho computes the price of the memory as well
- the empty machine price is now correct (the base memory is substracted)
- also displays the mem size on the graph now that all machines don't have the same amount of memory

nb : work involved for Bug 2886 - Devis pour l'achat d'un nouveau noeud pour le cluster (crédits TS 2020)
2020-09-28 10:49:26 +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
Guillaume Raffy d2fb11551e added poweredge c6420 configurations
- added poweredge c6420 configurations from the quotation received on 16/07/2020
- added the ability to choose the amount of ram because 128Gb is no longer enough: the amount of ram required  depends on the number of cores
- also took this opportunity to refactor the code as it had become hard to maintain
2020-09-18 10:38:24 +02:00
Guillaume Raffy 000f329d06 added state of code as of 09/06/2020 2020-09-15 18:46:53 +02:00