Skip to content

Commit

Permalink
Merge pull request #316 from Boavizta/dev
Browse files Browse the repository at this point in the history
Integrate latest developments
  • Loading branch information
da-ekchajzer authored Sep 25, 2024
2 parents 781789f + bf8a0ed commit cab1fae
Show file tree
Hide file tree
Showing 48 changed files with 10,225 additions and 184 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ dmypy.json
# Serverless
.serverless
node_modules

boaviztAPI
39 changes: 39 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
aiofile = "==3.8.7"
anyio = "==3.7.0"
caio = "==0.9.12"
click = "==8.1.3"
colorama = "==0.4.6"
exceptiongroup = "==1.1.1"
fastapi = "==0.95.2"
h11 = "==0.14.0"
idna = "==3.4"
importlib-metadata = "==6.6.0"
mangum = "==0.17.0"
markdown = "==3.4.3"
numpy = "==1.24.3"
pandas = "==2.0.2"
pydantic = "==1.10.9"
python-dateutil = "==2.8.2"
pytz = "==2023.3"
pyyaml = "==6.0"
rapidfuzz = "==3.1.1"
scipy = "==1.9.3"
six = "==1.16.0"
sniffio = "==1.3.0"
starlette = "==0.27.0"
toml = "==0.10.2"
typing-extensions = "==4.6.3"
tzdata = "==2023.3"
uvicorn = "==0.22.0"
zipp = "==3.15.0"

[dev-packages]

[requires]
python_version = "3.12"
2 changes: 1 addition & 1 deletion boaviztapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
data_dir = os.path.join(os.path.dirname(__file__), 'data')

config_file = os.path.join(data_dir, 'config.yml')
config = yaml.safe_load(Path(config_file).read_text())
config = yaml.safe_load(Path(config_file).read_text())
817 changes: 817 additions & 0 deletions boaviztapi/data/archetypes/cloud/azure.csv

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion boaviztapi/data/archetypes/cloud/providers.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
provider.name,provider.description
aws,Amazon Web Services
aws,Amazon Web Services
azure,Microsoft Azure
51 changes: 50 additions & 1 deletion boaviztapi/data/archetypes/server.csv
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,53 @@ platform_aws_t2-a,AWS,rack,2,,,Intel Xeon E5-2676 v3,,9,32,0,0,0,0,0,,0,2;2;2,2.
platform_aws_t2-b,AWS,rack,2,,,Intel Xeon E5-2686 v4,,36,8,0,0,0,0,0,,0,2;2;2,2.99;1;5,50;0;100,1,35040,0.33;0.2;0.6,RAM configuration was not verified
platform_aws_t3,AWS,rack,2,,,Intel Xeon Platinum 8175M,,12,32,0,0,0,0,0,,0,2;2;2,2.99;1;5,50;0;100,1,35040,0.33;0.2;0.6,RAM configuration was not verified
platform_aws_t3a,AWS,rack,2,,,AMD EPYC 7571,,12,32,0,0,0,0,0,,0,2;2;2,2.99;1;5,50;0;100,1,35040,0.33;0.2;0.6,RAM configuration was not verified
platform_aws_t4g,AWS,rack,1,,,Annapurna Labs Graviton2,,8,32,0,0,0,0,0,,0,2;2;2,2.99;1;5,50;0;100,1,35040,0.33;0.2;0.6,RAM configuration was not verified
Dadsv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,3.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Dasv4-Type2,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Dasv4-Type1,Azure,rack,2.0,,,AMD EPYC 7452,96.0,42.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 672 GiB
Dasv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
DCsv2-Type1,Azure,rack,1.0,,,Intel Xeon E-2288G,8.0,8.0,8.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 64 GiB
DCadsv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,3.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
DCasv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
DCdsv3-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8370C,48.0,48.0,8.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 384 GiB
DCsv3-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8370C,48.0,48.0,8.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 384 GiB
Ddsv4-Type2,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Ebdsv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Ebsv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
ECadsv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
ECasv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Ddsv4-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,80.0,63.0,8.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Ddsv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Dsv3-Type4,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Dsv3-Type3,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,80.0,63.0,8.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Dsv4-Type2,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Dsv4-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,80.0,63.0,8.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Dsv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Eadsv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Easv4-Type2,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Easv4-Type1,Azure,rack,2.0,,,AMD EPYC 7452,96.0,42.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 672 GiB
Easv5-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Edsv4-Type2,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Edsv4-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,64.0,63.0,8.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Edsv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Esv3-Type4,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Esv3-Type3,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,80.0,63.0,8.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Esv4-Type2,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Esv4-Type1,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,80.0,63.0,8.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Esv5-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Fsv2-Type4,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,48.0,16.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 768 GiB
Fsv2-Type3,Azure,rack,1.0,,,Intel Xeon Platinum 8272CL,86.0,63.0,8.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 504 GiB
Fsv2-Type2,Azure,rack,2.0,,,Intel Xeon Platinum 8168,72.0,18.0,8.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 144 GiB
FXmds-Type1,Azure,rack,2.0,,,Intel Xeon Gold 6246R,48.0,36.0,32.0,1.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 1,152 GiB"
Lsv2-Type1,Azure,rack,1.0,,,AMD EPYC 7551P,80.0,40.0,16.0,10.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 640 GiB
Lasv3-Type1,Azure,rack,1.0,,,AMD EPYC 7763,112.0,64.0,16.0,10.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 1,024 GiB"
Lsv3-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8370C,119.0,64.0,16.0,10.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 1,024 GiB"
Mdmsv2MedMem-Type1,Azure,rack,4.0,,,Intel Xeon Platinum 8280,192.0,64.0,64.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 4,096 GiB"
Mdsv2MedMem-Type1,Azure,rack,4.0,,,Intel Xeon Platinum 8280,192.0,64.0,32.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 2,048 GiB"
Mmsv2MedMem-Type1,Azure,rack,4.0,,,Intel Xeon Platinum 8280,192.0,64.0,64.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 4,096 GiB"
Ms-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8280,128.0,64.0,32.0,2.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 2,048 GiB"
Msm-Type1,Azure,rack,2.0,,,Intel Xeon Platinum 8280,128.0,60.8125,64.0,7.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 3,892 GiB"
Msmv2-Type1,Azure,rack,8.0,,,Intel Xeon Platinum 8180M,416.0,178.125,64.0,4.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 11,400 GiB"
Msv2-Type1,Azure,rack,8.0,,,Intel Xeon Platinum 8180M,416.0,89.0625,64.0,4.0,2048.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 5,700 GiB"
Msv2MedMem-Type1,Azure,rack,4.0,,,Intel Xeon Platinum 8280,192.0,64.0,32.0,0.0,0.0,0.0,0.0,0.0,,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,"RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 2,048 GiB"
NVasv4-Type1,Azure,rack,1.0,,,AMD EPYC 7V12,128.0,56.0,8.0,2.0,2048.0,0.0,0.0,0.0,AMD Radeon Instinct MI25 ,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 448 GiB
NVsv3-Type1,Azure,rack,2.0,,,Intel Xeon E5-2690 V4,48.0,56.0,8.0,2.0,2048.0,0.0,0.0,0.0,NVIDIA Tesla M60 ,,2;2;2,2.99;1;5,50;0;100,1,52560.0,0.33;0.2;0.6,RAM units and per unit capacity not verified. RAM capacity from Azure docs was: 448 GiB
Loading

0 comments on commit cab1fae

Please sign in to comment.