Boavizta / boaviztapi

🛠 Giving access to BOAVIZTA reference data and methodologies trough a RESTful API
GNU Affero General Public License v3.0
73 stars 24 forks source link

Server archetype #1

Closed da-ekchajzer closed 2 years ago

da-ekchajzer commented 2 years ago

Epic

Server

US

As an external user I can retrieve the impact of my server With the referenced data of Boavizta

Process

API device storage

Devices are stored has DTO.

samuelrince commented 2 years ago

Exemple DELL R740

{
  "model":
  {
    "manufacturer": "Dell",
    "name": "R740",
    "type": "rack",
    "year": 2020
  },
  "configuration":
  {
    "cpu":
    {
      "units": 2,
      "core_units": 24,
      "die_size_per_core": 0.245
    },
    "ram":
    [
      {
        "units": 12,
        "capacity": 32,
        "density": 1.79
      }
    ],
    "disk":
    [
      {
        "units": 1,
        "type": "ssd",
        "capacity": 400,
        "density": 50.6
      }
    ],
    "power_supply":
    {
      "units": 2,
      "unit_weight": 2.99
    }
  },
  "usage": {
    "100": {
      "time": 0.15,
      "power": 1.0
    },
    "50": {
      "time": 0.55,
      "power": 0.7235
    },
    "10": {
      "time": 0.2,
      "power": 0.5118
    },
    "idle": {
      "time": 0.1,
      "power": 0.3941
    }
  }
}