from scaleway.instance.v1 import VolumeServerTemplate, VolumeVolumeType


DEFAULT_NAME = "enos"
DEFAULT_ARCHITECTURE = "private_network"
DEFAULT_VOLUME_SIZE = 20_000_000_000
DEFAULT_VOLUME_BOOT = False
DEFAULT_VOLUME_TYPE = VolumeVolumeType.L_SSD
DEFAULT_GPU_VOLUME_SIZE = 50_000_000_000
DEFAULT_COMMERCIAL_TYPE = "DEV1-S"
DEFAULT_NETWORK_NAME = "enos-net"
DEFAULT_IMAGE = "ubuntu_focal"
DEFAULT_GATEWAY_TYPE = "VPC-GW-S"
DEFAULT_GATEWAY_NAME = "enos-gateway"
DEFAULT_GATEWAY_USER = "bastion"
DEFAULT_GATEWAY_PORT = 61000
# Those volumes are used for CPU compute instances
DEFAULT_VOLUMES = {
    "0": VolumeServerTemplate(
        volume_type=DEFAULT_VOLUME_TYPE,
        size=DEFAULT_VOLUME_SIZE,
        boot=DEFAULT_VOLUME_BOOT,
    )
}
DEFAULT_GPU_VOLUMES = {
    "0": VolumeServerTemplate(
        volume_type=VolumeVolumeType.SBS_VOLUME,
        size=DEFAULT_GPU_VOLUME_SIZE,
        boot=DEFAULT_VOLUME_BOOT,
    )
}