diff --git a/config.py b/config.py index 45b0aa3d..344f6187 100644 --- a/config.py +++ b/config.py @@ -124,6 +124,9 @@ ALIASES = { "Pfsense": "PFSense", "Vyos": "VyOS" }, + "proxmox": { + "ProxmoxVE": "PVE", + }, "queue": { "Activemq": "ActiveMQ", "Rabbitmq": "RabbitMQ", diff --git a/diagrams/onprem/ceph.py b/diagrams/onprem/ceph.py new file mode 100644 index 00000000..4e23daca --- /dev/null +++ b/diagrams/onprem/ceph.py @@ -0,0 +1,15 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Ceph(_OnPrem): + _type = "ceph" + _icon_dir = "resources/onprem/ceph" + + +class Ceph(_Ceph): + _icon = "ceph.png" + + +# Aliases diff --git a/diagrams/onprem/proxmox.py b/diagrams/onprem/proxmox.py new file mode 100644 index 00000000..f737627c --- /dev/null +++ b/diagrams/onprem/proxmox.py @@ -0,0 +1,17 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Proxmox(_OnPrem): + _type = "proxmox" + _icon_dir = "resources/onprem/proxmox" + + +class Pve(_Proxmox): + _icon = "pve.png" + + +# Aliases + +PVE = ProxmoxVE diff --git a/diagrams/onprem/storage.py b/diagrams/onprem/storage.py new file mode 100644 index 00000000..bedbb93e --- /dev/null +++ b/diagrams/onprem/storage.py @@ -0,0 +1,19 @@ +# This module is automatically generated by autogen.sh. DO NOT EDIT. + +from . import _OnPrem + + +class _Storage(_OnPrem): + _type = "storage" + _icon_dir = "resources/onprem/storage" + + +class Ceph(_Storage): + _icon = "ceph.png" + + +class Glusterfs(_Storage): + _icon = "glusterfs.png" + + +# Aliases diff --git a/docs/nodes/onprem.md b/docs/nodes/onprem.md index 5b072481..2a775b33 100644 --- a/docs/nodes/onprem.md +++ b/docs/nodes/onprem.md @@ -137,6 +137,10 @@ Node classes list of onprem provider. - **diagrams.onprem.network.Vyos**, **VyOS** (alias) - **diagrams.onprem.network.Zookeeper** +## onprem.proxmox + +- **diagrams.onprem.proxmox.Pve** + ## onprem.queue - **diagrams.onprem.queue.Activemq**, **ActiveMQ** (alias) @@ -155,6 +159,11 @@ Node classes list of onprem provider. - **diagrams.onprem.security.Trivy** - **diagrams.onprem.security.Vault** +## onprem.storage + +- **diagrams.onprem.storage.Ceph** +- **diagrams.onprem.storage.Glusterfs** + ## onprem.vcs - **diagrams.onprem.vcs.Git** diff --git a/resources/onprem/proxmox/pve.png b/resources/onprem/proxmox/pve.png new file mode 100644 index 00000000..631f2716 Binary files /dev/null and b/resources/onprem/proxmox/pve.png differ diff --git a/resources/onprem/storage/ceph.png b/resources/onprem/storage/ceph.png new file mode 100644 index 00000000..1c294675 Binary files /dev/null and b/resources/onprem/storage/ceph.png differ diff --git a/resources/onprem/storage/glusterfs.png b/resources/onprem/storage/glusterfs.png new file mode 100644 index 00000000..2b46ca6e Binary files /dev/null and b/resources/onprem/storage/glusterfs.png differ diff --git a/scripts/resource.py b/scripts/resource.py index 0c963966..a280424b 100644 --- a/scripts/resource.py +++ b/scripts/resource.py @@ -13,7 +13,7 @@ import sys import config as cfg from . import resource_dir -_usage = "Usage: resources.py " +_usage = "Usage: resource.py " def cleaner_onprem(f):