add support for Scaleway products

pull/709/head
Rémy Léone 3 years ago
parent f517463eae
commit 0a9325f893

@ -3,24 +3,7 @@
app_root_dir="diagrams" app_root_dir="diagrams"
# NOTE: azure icon set is not latest version # NOTE: azure icon set is not latest version
providers=( providers=("onprem" "aws" "azure" "digitalocean" "gcp" "ibm" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale" "scaleway")
"onprem"
"aws"
"azure"
"digitalocean"
"gcp"
"ibm"
"firebase"
"k8s"
"alibabacloud"
"oci"
"programming"
"saas"
"elastic"
"generic"
"openstack"
"outscale"
)
if ! [ -x "$(command -v round)" ]; then if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed' echo 'round is not installed'

@ -29,6 +29,7 @@ PROVIDERS = (
"generic", "generic",
"openstack", "openstack",
"outscale", "outscale",
"scaleway"
) )
######################### #########################
@ -59,6 +60,7 @@ FILE_PREFIXES = {
"outscale": (), "outscale": (),
"generic": (), "generic": (),
"openstack": (), "openstack": (),
"scaleway": (),
} }
######################### #########################
@ -110,6 +112,9 @@ TITLE_WORDS = {
"ibm": { "ibm": {
"ibm": "IBMCloud" "ibm": "IBMCloud"
}, },
"scaleway": {
"scaleway": "Scaleway"
}
} }
# TODO: check if the classname exists # TODO: check if the classname exists
@ -408,6 +413,7 @@ ALIASES = {
} }
}, },
"digitalocean": {}, "digitalocean": {},
"scaleway": {},
"oci": { "oci": {
"compute": { "compute": {
"VM": "VirtualMachine", "VM": "VirtualMachine",

@ -0,0 +1,12 @@
"""
Scaleway provides a set of general Scaleway services.
"""
from diagrams import Node
class _Scaleway(Node):
_provider = "scaleway"
_icon_dir = "resources/scaleway"
fontcolor = "#ffffff"

@ -0,0 +1,55 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Baremetal(_Scaleway):
_type = "baremetal"
_icon_dir = "resources/scaleway/baremetal"
class BaremetalAluminium(_Baremetal):
_icon = "baremetal-aluminium.png"
class BaremetalBeryllium(_Baremetal):
_icon = "baremetal-beryllium.png"
class BaremetalLithium(_Baremetal):
_icon = "baremetal-lithium.png"
class BaremetalTitaniumOriginal(_Baremetal):
_icon = "baremetal-titanium-original.png"
class Baremetal(_Baremetal):
_icon = "baremetal.png"
class CoreServers(_Baremetal):
_icon = "core-servers.png"
class DedicatedServers(_Baremetal):
_icon = "dedicated-servers.png"
class MacminiM1(_Baremetal):
_icon = "macmini-m1.png"
class ProServers(_Baremetal):
_icon = "pro-servers.png"
class StartServers(_Baremetal):
_icon = "start-servers.png"
class StoreServers(_Baremetal):
_icon = "store-servers.png"
# Aliases

@ -0,0 +1,39 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Compute(_Scaleway):
_type = "compute"
_icon_dir = "resources/scaleway/compute"
class BlockStorage(_Compute):
_icon = "block-storage.png"
class InstanceDev(_Compute):
_icon = "instance-dev.png"
class InstanceEnterprise(_Compute):
_icon = "instance-enterprise.png"
class InstanceGp(_Compute):
_icon = "instance-gp.png"
class InstanceGpu(_Compute):
_icon = "instance-gpu.png"
class InstanceSrd(_Compute):
_icon = "instance-srd.png"
class Instance(_Compute):
_icon = "instance.png"
# Aliases

@ -0,0 +1,23 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Containers(_Scaleway):
_type = "containers"
_icon_dir = "resources/scaleway/containers"
class Kapsule(_Containers):
_icon = "kapsule.png"
class Kosmos(_Containers):
_icon = "kosmos.png"
class Registry(_Containers):
_icon = "registry.png"
# Aliases

@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Databases(_Scaleway):
_type = "databases"
_icon_dir = "resources/scaleway/databases"
class Db(_Databases):
_icon = "db.png"
class Redis(_Databases):
_icon = "redis.png"
# Aliases

@ -0,0 +1,35 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Devtools(_Scaleway):
_type = "devtools"
_icon_dir = "resources/scaleway/devtools"
class Api(_Devtools):
_icon = "api.png"
class Cli(_Devtools):
_icon = "cli.png"
class Console(_Devtools):
_icon = "console.png"
class Iam(_Devtools):
_icon = "iam.png"
class Observability(_Devtools):
_icon = "observability.png"
class Terraform(_Devtools):
_icon = "terraform.png"
# Aliases

@ -0,0 +1,115 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Misc(_Scaleway):
_type = "misc"
_icon_dir = "resources/scaleway/misc"
class AdditionalDisk(_Misc):
_icon = "additional-disk.png"
class Bandwidth(_Misc):
_icon = "bandwidth.png"
class BasicSupport(_Misc):
_icon = "basic-support.png"
class Billing(_Misc):
_icon = "billing.png"
class CloudInit(_Misc):
_icon = "cloud-init.png"
class CloudProjects(_Misc):
_icon = "cloud-projects.png"
class Ddos(_Misc):
_icon = "ddos.png"
class Dedibackup(_Misc):
_icon = "dedibackup.png"
class Dedirack(_Misc):
_icon = "dedirack.png"
class DistributionsInstantapps(_Misc):
_icon = "distributions-instantapps.png"
class GoldSupport(_Misc):
_icon = "gold-support.png"
class IpFailover(_Misc):
_icon = "ip-failover.png"
class Monitoring(_Misc):
_icon = "monitoring.png"
class MultiUsers(_Misc):
_icon = "multi-users.png"
class Os(_Misc):
_icon = "os.png"
class PlatinumSupport(_Misc):
_icon = "platinum-support.png"
class RpnSan(_Misc):
_icon = "rpn-san.png"
class RpnV1(_Misc):
_icon = "rpn-v1.png"
class RpnV2(_Misc):
_icon = "rpn-v2.png"
class Rpn(_Misc):
_icon = "rpn.png"
class SdkGo(_Misc):
_icon = "sdk-go.png"
class SdkPython(_Misc):
_icon = "sdk-python.png"
class ServiceLevel(_Misc):
_icon = "service-level.png"
class SilverSupport(_Misc):
_icon = "silver-support.png"
class Sms(_Misc):
_icon = "sms.png"
class Smtp(_Misc):
_icon = "smtp.png"
# Aliases

@ -0,0 +1,39 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Network(_Scaleway):
_type = "network"
_icon_dir = "resources/scaleway/network"
class Cdn(_Network):
_icon = "cdn.png"
class DirectConnect(_Network):
_icon = "direct-connect.png"
class Dns(_Network):
_icon = "dns.png"
class LoadBalancers(_Network):
_icon = "load-balancers.png"
class PrivateNetworks(_Network):
_icon = "private-networks.png"
class PublicGateway(_Network):
_icon = "public-gateway.png"
class Vpc(_Network):
_icon = "vpc.png"
# Aliases

@ -0,0 +1,23 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Serverless(_Scaleway):
_type = "serverless"
_icon_dir = "resources/scaleway/serverless"
class Containers(_Serverless):
_icon = "containers.png"
class Functions(_Serverless):
_icon = "functions.png"
class Messaging(_Serverless):
_icon = "messaging.png"
# Aliases

@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Scaleway
class _Storage(_Scaleway):
_type = "storage"
_icon_dir = "resources/scaleway/storage"
class Cold(_Storage):
_icon = "cold.png"
class Object(_Storage):
_icon = "object.png"
# Aliases

@ -343,6 +343,7 @@ Node classes list of onprem provider.
## onprem.monitoring ## onprem.monitoring
<<<<<<< HEAD
<img width="30" src="/img/resources/onprem/monitoring/cortex.png" alt="Cortex" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/onprem/monitoring/cortex.png" alt="Cortex" style="float: left; padding-right: 5px;" >
**diagrams.onprem.monitoring.Cortex** **diagrams.onprem.monitoring.Cortex**
@ -385,6 +386,21 @@ Node classes list of onprem provider.
<img width="30" src="/img/resources/onprem/monitoring/zabbix.png" alt="Zabbix" style="float: left; padding-right: 5px;" > <img width="30" src="/img/resources/onprem/monitoring/zabbix.png" alt="Zabbix" style="float: left; padding-right: 5px;" >
**diagrams.onprem.monitoring.Zabbix** **diagrams.onprem.monitoring.Zabbix**
=======
- **diagrams.onprem.monitoring.Cortex**
- **diagrams.onprem.monitoring.Datadog**
- **diagrams.onprem.monitoring.Dynatrace**
- **diagrams.onprem.monitoring.Grafana**
- **diagrams.onprem.monitoring.Humio**
- **diagrams.onprem.monitoring.Nagios**
- **diagrams.onprem.monitoring.Newrelic**
- **diagrams.onprem.monitoring.PrometheusOperator**
- **diagrams.onprem.monitoring.Prometheus**
- **diagrams.onprem.monitoring.Sentry**
- **diagrams.onprem.monitoring.Splunk**
- **diagrams.onprem.monitoring.Thanos**
- **diagrams.onprem.monitoring.Zabbix**
>>>>>>> fdbd469 (add support for Scaleway products)
## onprem.network ## onprem.network

@ -0,0 +1,107 @@
---
id: scaleway
title: Scaleway
---
Node classes list of scaleway provider.
## scaleway.baremetal
- **diagrams.scaleway.baremetal.BaremetalAluminium**
- **diagrams.scaleway.baremetal.BaremetalBeryllium**
- **diagrams.scaleway.baremetal.BaremetalLithium**
- **diagrams.scaleway.baremetal.BaremetalTitaniumOriginal**
- **diagrams.scaleway.baremetal.Baremetal**
- **diagrams.scaleway.baremetal.CoreServers**
- **diagrams.scaleway.baremetal.DedicatedServers**
- **diagrams.scaleway.baremetal.MacminiM1**
- **diagrams.scaleway.baremetal.ProServers**
- **diagrams.scaleway.baremetal.StartServers**
- **diagrams.scaleway.baremetal.StoreServers**
## scaleway.compute
- **diagrams.scaleway.compute.BlockStorage**
- **diagrams.scaleway.compute.InstanceDev**
- **diagrams.scaleway.compute.InstanceEnterprise**
- **diagrams.scaleway.compute.InstanceGp**
- **diagrams.scaleway.compute.InstanceGpu**
- **diagrams.scaleway.compute.InstanceSrd**
- **diagrams.scaleway.compute.Instance**
## scaleway.containers
- **diagrams.scaleway.containers.Kapsule**
- **diagrams.scaleway.containers.Kosmos**
- **diagrams.scaleway.containers.Registry**
## scaleway.databases
- **diagrams.scaleway.databases.Db**
- **diagrams.scaleway.databases.Redis**
## scaleway.devtools
- **diagrams.scaleway.devtools.Api**
- **diagrams.scaleway.devtools.Cli**
- **diagrams.scaleway.devtools.Console**
- **diagrams.scaleway.devtools.Iam**
- **diagrams.scaleway.devtools.Observability**
- **diagrams.scaleway.devtools.Terraform**
## scaleway.managed-services
- **diagrams.scaleway.managed-services.Domains**
- **diagrams.scaleway.managed-services.IotHub**
- **diagrams.scaleway.managed-services.TransactionalEmail**
- **diagrams.scaleway.managed-services.WebHosting**
## scaleway.misc
- **diagrams.scaleway.misc.AdditionalDisk**
- **diagrams.scaleway.misc.Bandwidth**
- **diagrams.scaleway.misc.BasicSupport**
- **diagrams.scaleway.misc.Billing**
- **diagrams.scaleway.misc.CloudInit**
- **diagrams.scaleway.misc.CloudProjects**
- **diagrams.scaleway.misc.Ddos**
- **diagrams.scaleway.misc.Dedibackup**
- **diagrams.scaleway.misc.Dedirack**
- **diagrams.scaleway.misc.DistributionsInstantapps**
- **diagrams.scaleway.misc.GoldSupport**
- **diagrams.scaleway.misc.IpFailover**
- **diagrams.scaleway.misc.Monitoring**
- **diagrams.scaleway.misc.MultiUsers**
- **diagrams.scaleway.misc.Os**
- **diagrams.scaleway.misc.PlatinumSupport**
- **diagrams.scaleway.misc.RpnSan**
- **diagrams.scaleway.misc.RpnV1**
- **diagrams.scaleway.misc.RpnV2**
- **diagrams.scaleway.misc.Rpn**
- **diagrams.scaleway.misc.SdkGo**
- **diagrams.scaleway.misc.SdkPython**
- **diagrams.scaleway.misc.ServiceLevel**
- **diagrams.scaleway.misc.SilverSupport**
- **diagrams.scaleway.misc.Sms**
- **diagrams.scaleway.misc.Smtp**
## scaleway.network
- **diagrams.scaleway.network.Cdn**
- **diagrams.scaleway.network.DirectConnect**
- **diagrams.scaleway.network.Dns**
- **diagrams.scaleway.network.LoadBalancers**
- **diagrams.scaleway.network.PrivateNetworks**
- **diagrams.scaleway.network.PublicGateway**
- **diagrams.scaleway.network.Vpc**
## scaleway.serverless
- **diagrams.scaleway.serverless.Containers**
- **diagrams.scaleway.serverless.Functions**
- **diagrams.scaleway.serverless.Messaging**
## scaleway.storage
- **diagrams.scaleway.storage.Cold**
- **diagrams.scaleway.storage.Object**

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

@ -135,6 +135,10 @@ def cleaner_openstack(f):
return f.lower() return f.lower()
def cleaner_scaleway(f):
return f.lower()
cleaners = { cleaners = {
"onprem": cleaner_onprem, "onprem": cleaner_onprem,
"aws": cleaner_aws, "aws": cleaner_aws,
@ -152,6 +156,7 @@ cleaners = {
"outscale": cleaner_outscale, "outscale": cleaner_outscale,
"generic": cleaner_generic, "generic": cleaner_generic,
"openstack": cleaner_openstack, "openstack": cleaner_openstack,
"scaleway": cleaner_scaleway,
} }

Loading…
Cancel
Save