fix: onprem storage incorrect config (#345)

fix: https://github.com/mingrammer/diagrams/issues/344
pull/351/head
ZhiQiang Fan 4 years ago committed by GitHub
parent 3a6a18d17c
commit c2c6fd982f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -140,10 +140,8 @@ ALIASES = {
"Zeromq": "ZeroMQ",
},
"storage": {
"ceph": {
"CEPH": "ceph",
"Ceph-OSD": "CEPH-OSD"
}
"Ceph": "CEPH",
"CephOsd": "CEPH_OSD",
},
"workflow": {
"Kubeflow": "KubeFlow",

@ -2,6 +2,7 @@
from . import _OnPrem
class _Storage(_OnPrem):
_type = "storage"
_icon_dir = "resources/onprem/storage"
@ -9,11 +10,17 @@ class _Storage(_OnPrem):
class CephOsd(_Storage):
_icon = "ceph-osd.png"
class Ceph(_Storage):
_icon = "ceph.png"
class Glusterfs(_Storage):
_icon = "glusterfs.png"
# Aliases
{'CEPH': 'ceph', 'Ceph-OSD': 'CEPH-OSD'} = ceph
CEPH = Ceph
CEPH_OSD = CephOsd

@ -161,7 +161,7 @@ Node classes list of onprem provider.
- **diagrams.onprem.network.Nginx**
- **diagrams.onprem.network.Ocelot**
- **diagrams.onprem.network.OpenServiceMesh**, **OSM** (alias)
- **diagrams.onprem.network.Opnsense**, **OPNsense** (alias)
- **diagrams.onprem.network.Opnsense**, **OPNSense** (alias)
- **diagrams.onprem.network.Pfsense**, **PFSense** (alias)
- **diagrams.onprem.network.Pomerium**
- **diagrams.onprem.network.Powerdns**
@ -194,8 +194,8 @@ Node classes list of onprem provider.
## onprem.storage
- **diagrams.onprem.storage.CephOsd**
- **diagrams.onprem.storage.Ceph**
- **diagrams.onprem.storage.CephOsd**, **CEPH_OSD** (alias)
- **diagrams.onprem.storage.Ceph**, **CEPH** (alias)
- **diagrams.onprem.storage.Glusterfs**
## onprem.vcs

Loading…
Cancel
Save