Browse Source

Add Digital Ocean compatible flavors

tags/1.3.1
Teran McKinney 2 months ago
parent
commit
ef9034f741
2 changed files with 141 additions and 1 deletions
  1. +140
    -0
      sporestackv2/flavors.py
  2. +1
    -1
      sporestackv2/version.py

+ 140
- 0
sporestackv2/flavors.py View File

@@ -32,6 +32,146 @@ class Flavor(NamedTuple):
# bandwidth=10,
# ),
all_sporestack_flavors = {
"vps-1vcpu-1gb": Flavor(
slug="vps-1vcpu-1gb",
cores=1,
memory=1024,
disk=25,
price=32,
ipv4="/32",
ipv6="/128",
bandwidth=36,
),
"vps-1vcpu-2gb": Flavor(
slug="vps-1vcpu-2gb",
cores=1,
memory=2048,
disk=50,
price=64,
ipv4="/32",
ipv6="/128",
bandwidth=73,
),
"vps-3vcpu-1gb": Flavor(
slug="vps-3vcpu-1gb",
cores=3,
memory=1024,
disk=60,
price=96,
ipv4="/32",
ipv6="/128",
bandwidth=109,
),
"vps-2vcpu-2gb": Flavor(
slug="vps-2vcpu-2gb",
cores=2,
memory=2048,
disk=60,
price=96,
ipv4="/32",
ipv6="/128",
bandwidth=109,
),
"vps-1vcpu-3gb": Flavor(
slug="vps-1vcpu-3gb",
cores=1,
memory=3072,
disk=60,
price=96,
ipv4="/32",
ipv6="/128",
bandwidth=109,
),
"vps-2vcpu-4gb": Flavor(
slug="vps-2vcpu-4gb",
cores=2,
memory=4096,
disk=80,
price=128,
ipv4="/32",
ipv6="/128",
bandwidth=146,
),
"vps-4vcpu-8gb": Flavor(
slug="vps-4vcpu-8gb",
cores=4,
memory=8192,
disk=160,
price=257,
ipv4="/32",
ipv6="/128",
bandwidth=182,
),
"vps-6vcpu-16gb": Flavor(
slug="vps-6vcpu-16gb",
cores=6,
memory=16384,
disk=320,
price=514,
ipv4="/32",
ipv6="/128",
bandwidth=219,
),
"vps-8vcpu-32gb": Flavor(
slug="vps-8vcpu-32gb",
cores=8,
memory=32768,
disk=640,
price=1028,
ipv4="/32",
ipv6="/128",
bandwidth=256,
),
"vps-12vcpu-48gb": Flavor(
slug="vps-12vcpu-48gb",
cores=12,
memory=49152,
disk=960,
price=1542,
ipv4="/32",
ipv6="/128",
bandwidth=292,
),
"vps-16vcpu-64gb": Flavor(
slug="vps-16vcpu-64gb",
cores=16,
memory=65536,
disk=1280,
price=2057,
ipv4="/32",
ipv6="/128",
bandwidth=329,
),
"vps-20vcpu-96gb": Flavor(
slug="vps-20vcpu-96gb",
cores=20,
memory=98304,
disk=1920,
price=3085,
ipv4="/32",
ipv6="/128",
bandwidth=365,
),
"vps-24vcpu-128gb": Flavor(
slug="vps-24vcpu-128gb",
cores=24,
memory=131072,
disk=2560,
price=4114,
ipv4="/32",
ipv6="/128",
bandwidth=402,
),
"vps-32vcpu-192gb": Flavor(
slug="vps-32vcpu-192gb",
cores=32,
memory=196608,
disk=3840,
price=6171,
ipv4="/32",
ipv6="/128",
bandwidth=438,
),
"tor-1024": Flavor(
slug="tor-1024",
cores=1,


+ 1
- 1
sporestackv2/version.py View File

@@ -1 +1 @@
__version__ = "1.3.0"
__version__ = "1.3.1"

Loading…
Cancel
Save