Skip to content

Commit

Permalink
chore: latest data
Browse files Browse the repository at this point in the history
  • Loading branch information
Shillaker committed Oct 2, 2024
1 parent 0522a54 commit 1f6b963
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 72 deletions.
138 changes: 69 additions & 69 deletions boaviztapi/data/archetypes/cloud/scaleway.csv
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
id,vcpu,memory,ssd_storage,hdd_storage,gpu_units,platform,source
coparm1-16c-64g,16,64,0,20,0,scw_coparm1.base,
coparm1-2c-8g,2,8,0,20,0,scw_coparm1.base,
coparm1-32c-128g,32,128,0,20,0,scw_coparm1.base,
coparm1-4c-16g,4,16,0,20,0,scw_coparm1.base,
coparm1-8c-32g,8,32,0,20,0,scw_coparm1.base,
dev1-l,4,8,0,20,0,scw_dev1.base,
dev1-m,3,4,0,20,0,scw_dev1.base,
dev1-s,2,2,0,20,0,scw_dev1.base,
dev1-xl,4,12,0,20,0,scw_dev1.base,
ent1-2xl,96,384,0,20,0,scw_ent1.base,
ent1-l,32,128,0,20,0,scw_ent1.base,
ent1-m,16,64,0,20,0,scw_ent1.base,
ent1-s,8,32,0,20,0,scw_ent1.base,
ent1-xl,64,256,0,20,0,scw_ent1.base,
ent1-xs,4,16,0,20,0,scw_ent1.base,
ent1-xxs,2,8,0,20,0,scw_ent1.base,
gp1-l,32,128,0,20,0,scw_gp1.base,
gp1-m,16,64,0,20,0,scw_gp1.base,
gp1-s,8,32,0,20,0,scw_gp1.base,
gp1-viz,8,32,0,20,0,scw_gp1.base,
gp1-xl,48,256,0,20,0,scw_gp1.base,
gp1-xs,4,16,0,20,0,scw_gp1.base,
gpu-3070-s,8,16,0,20,1,scw_renders.base,
h100-1-80g,24,240,0,20,1,scw_h100.base,
h100-1-m,24,240,0,20,1,scw_h100.base,
h100-2-80g,48,480,0,20,2,scw_h100.base,
h100-2-m,48,480,0,20,2,scw_h100.base,
l4-1-24g,8,48,0,20,1,scw_l4.base,
l4-2-24g,16,96,0,20,2,scw_l4.base,
l4-4-24g,32,192,0,20,4,scw_l4.base,
l4-8-24g,64,384,0,20,8,scw_l4.base,
l40s-1-48g,8,96,0,20,1,scw_l4.base,
l40s-2-48g,16,192,0,20,2,scw_l4.base,
l40s-4-48g,32,384,0,20,4,scw_l4.base,
l40s-8-48g,64,768,0,20,8,scw_l4.base,
play2-micro,4,8,0,20,0,scw_play2.base,
play2-nano,2,4,0,20,0,scw_play2.base,
play2-pico,1,2,0,20,0,scw_play2.base,
pop2-16c-64g,16,64,0,20,0,scw_ent1.base,
pop2-16c-64g-win,16,64,0,20,0,scw_ent1.base,
pop2-2c-8g,2,8,0,20,0,scw_ent1.base,
pop2-2c-8g-win,2,8,0,20,0,scw_ent1.base,
pop2-32c-128g,32,128,0,20,0,scw_ent1.base,
pop2-32c-128g-win,32,128,0,20,0,scw_ent1.base,
pop2-4c-16g,4,16,0,20,0,scw_ent1.base,
pop2-4c-16g-win,4,16,0,20,0,scw_ent1.base,
pop2-64c-256g,64,256,0,20,0,scw_ent1.base,
pop2-8c-32g,8,32,0,20,0,scw_ent1.base,
pop2-8c-32g-win,8,32,0,20,0,scw_ent1.base,
pop2-hc-16c-32g,16,32,0,20,0,scw_ent1.base,
pop2-hc-2c-4g,2,4,0,20,0,scw_ent1.base,
pop2-hc-32c-64g,32,64,0,20,0,scw_ent1.base,
pop2-hc-4c-8g,4,8,0,20,0,scw_ent1.base,
pop2-hc-64c-128g,64,128,0,20,0,scw_ent1.base,
pop2-hc-8c-16g,8,16,0,20,0,scw_ent1.base,
pop2-hm-16c-128g,16,128,0,20,0,scw_ent1.base,
pop2-hm-2c-16g,2,16,0,20,0,scw_ent1.base,
pop2-hm-32c-256g,32,256,0,20,0,scw_ent1.base,
pop2-hm-4c-32g,4,32,0,20,0,scw_ent1.base,
pop2-hm-64c-512g,64,512,0,20,0,scw_ent1.base,
pop2-hm-8c-64g,8,64,0,20,0,scw_ent1.base,
pop2-hn-10,4,8,0,20,0,scw_ent1.base,
pop2-hn-3,2,4,0,20,0,scw_ent1.base,
pop2-hn-5,4,8,0,20,0,scw_ent1.base,
pro2-l,32,128,0,20,0,scw_pro2.base,
pro2-m,16,64,0,20,0,scw_pro2.base,
pro2-s,8,32,0,20,0,scw_pro2.base,
pro2-xs,4,16,0,20,0,scw_pro2.base,
pro2-xxs,2,8,0,20,0,scw_pro2.base,
coparm1-16c-64g,16,64,10,0,0,scw_coparm1.base,
coparm1-2c-8g,2,8,10,0,0,scw_coparm1.base,
coparm1-32c-128g,32,128,10,0,0,scw_coparm1.base,
coparm1-4c-16g,4,16,10,0,0,scw_coparm1.base,
coparm1-8c-32g,8,32,10,0,0,scw_coparm1.base,
dev1-l,4,8,10,0,0,scw_dev1.base,
dev1-m,3,4,10,0,0,scw_dev1.base,
dev1-s,2,2,10,0,0,scw_dev1.base,
dev1-xl,4,12,10,0,0,scw_dev1.base,
ent1-2xl,96,384,10,0,0,scw_ent1.base,
ent1-l,32,128,10,0,0,scw_ent1.base,
ent1-m,16,64,10,0,0,scw_ent1.base,
ent1-s,8,32,10,0,0,scw_ent1.base,
ent1-xl,64,256,10,0,0,scw_ent1.base,
ent1-xs,4,16,10,0,0,scw_ent1.base,
ent1-xxs,2,8,10,0,0,scw_ent1.base,
gp1-l,32,128,10,0,0,scw_gp1.base,
gp1-m,16,64,10,0,0,scw_gp1.base,
gp1-s,8,32,10,0,0,scw_gp1.base,
gp1-viz,8,32,10,0,0,scw_gp1.base,
gp1-xl,48,256,10,0,0,scw_gp1.base,
gp1-xs,4,16,10,0,0,scw_gp1.base,
gpu-3070-s,8,16,10,0,1,scw_renders.base,
h100-1-80g,24,240,10,0,1,scw_h100.base,
h100-1-m,24,240,10,0,1,scw_h100.base,
h100-2-80g,48,480,10,0,2,scw_h100.base,
h100-2-m,48,480,10,0,2,scw_h100.base,
l4-1-24g,8,48,10,0,1,scw_l4.base,
l4-2-24g,16,96,10,0,2,scw_l4.base,
l4-4-24g,32,192,10,0,4,scw_l4.base,
l4-8-24g,64,384,10,0,8,scw_l4.base,
l40s-1-48g,8,96,10,0,1,scw_l4.base,
l40s-2-48g,16,192,10,0,2,scw_l4.base,
l40s-4-48g,32,384,10,0,4,scw_l4.base,
l40s-8-48g,64,768,10,0,8,scw_l4.base,
play2-micro,4,8,10,0,0,scw_play2.base,
play2-nano,2,4,10,0,0,scw_play2.base,
play2-pico,1,2,10,0,0,scw_play2.base,
pop2-16c-64g,16,64,10,0,0,scw_pop2.base,
pop2-16c-64g-win,16,64,10,0,0,scw_pop2.base,
pop2-2c-8g,2,8,10,0,0,scw_pop2.base,
pop2-2c-8g-win,2,8,10,0,0,scw_pop2.base,
pop2-32c-128g,32,128,10,0,0,scw_pop2.base,
pop2-32c-128g-win,32,128,10,0,0,scw_pop2.base,
pop2-4c-16g,4,16,10,0,0,scw_pop2.base,
pop2-4c-16g-win,4,16,10,0,0,scw_pop2.base,
pop2-64c-256g,64,256,10,0,0,scw_pop2.base,
pop2-8c-32g,8,32,10,0,0,scw_pop2.base,
pop2-8c-32g-win,8,32,10,0,0,scw_pop2.base,
pop2-hc-16c-32g,16,32,10,0,0,scw_pop2hc.base,
pop2-hc-2c-4g,2,4,10,0,0,scw_pop2hc.base,
pop2-hc-32c-64g,32,64,10,0,0,scw_pop2hc.base,
pop2-hc-4c-8g,4,8,10,0,0,scw_pop2hc.base,
pop2-hc-64c-128g,64,128,10,0,0,scw_pop2hc.base,
pop2-hc-8c-16g,8,16,10,0,0,scw_pop2hc.base,
pop2-hm-16c-128g,16,128,10,0,0,scw_pop2hm.base,
pop2-hm-2c-16g,2,16,10,0,0,scw_pop2hm.base,
pop2-hm-32c-256g,32,256,10,0,0,scw_pop2hm.base,
pop2-hm-4c-32g,4,32,10,0,0,scw_pop2hm.base,
pop2-hm-64c-512g,64,512,10,0,0,scw_pop2hm.base,
pop2-hm-8c-64g,8,64,10,0,0,scw_pop2hm.base,
pop2-hn-10,4,8,10,0,0,scw_pop2.base,
pop2-hn-3,2,4,10,0,0,scw_pop2.base,
pop2-hn-5,4,8,10,0,0,scw_pop2.base,
pro2-l,32,128,10,0,0,scw_pro2.base,
pro2-m,16,64,10,0,0,scw_pro2.base,
pro2-s,8,32,10,0,0,scw_pro2.base,
pro2-xs,4,16,10,0,0,scw_pro2.base,
pro2-xxs,2,8,10,0,0,scw_pro2.base,
6 changes: 3 additions & 3 deletions boaviztapi/data/utils/complete_Scaleway_Instances/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ python3 check.py

It would be much better if this code lived in the Boavizta repo. It can be scripted relatively easily:

1. Hard-code the base server types for each instance family (from [this doc](https://github.com/Shillaker/scw-environmental-footprint/blob/main/docs/boavizta.md))
2. Use the [scaleway-sdk-python](https://github.com/scaleway/scaleway-sdk-python) to list the types of Instances
3. Map these the the underlying base server types
1. Hard-code the base server types held in the [scw-environmental-footprint](https://github.com/Shillaker/scw-environmental-footprint) repo [here](https://github.com/Shillaker/scw-environmental-footprint/blob/main/model/instances.go)
2. Use the [scaleway-sdk-python](https://github.com/scaleway/scaleway-sdk-python) to list all the Instance types
3. Map these the the underlying base server types based on the prefix of the Instance type
4. Print two CSV files: i) `instances.csv` with the instance types; ii) `servers.csv` with the specs of the base servers

0 comments on commit 1f6b963

Please sign in to comment.