Added generic itens and blank cluster (#171)
* Added support to generic DC Icons #92. Added a blank icon to support #39 * Added Storage into storage folderpull/187/head
@ -0,0 +1,12 @@
|
||||
"""
|
||||
Generic provides the possibility of load an image to be presented as a node.
|
||||
"""
|
||||
|
||||
from diagrams import Node
|
||||
|
||||
|
||||
class _Generic(Node):
|
||||
provider = "generic"
|
||||
_icon_dir = "resources/generic"
|
||||
|
||||
fontcolor = "#ffffff"
|
@ -0,0 +1,15 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Generic
|
||||
|
||||
|
||||
class _Blank(_Generic):
|
||||
_type = "blank"
|
||||
_icon_dir = "resources/generic/blank"
|
||||
|
||||
|
||||
class Blank(_Blank):
|
||||
_icon = "blank.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,15 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Generic
|
||||
|
||||
|
||||
class _Compute(_Generic):
|
||||
_type = "compute"
|
||||
_icon_dir = "resources/generic/compute"
|
||||
|
||||
|
||||
class Rack(_Compute):
|
||||
_icon = "rack.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,27 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Generic
|
||||
|
||||
|
||||
class _Network(_Generic):
|
||||
_type = "network"
|
||||
_icon_dir = "resources/generic/network"
|
||||
|
||||
|
||||
class Firewall(_Network):
|
||||
_icon = "firewall.png"
|
||||
|
||||
|
||||
class Router(_Network):
|
||||
_icon = "router.png"
|
||||
|
||||
|
||||
class Switch(_Network):
|
||||
_icon = "switch.png"
|
||||
|
||||
|
||||
class VPN(_Network):
|
||||
_icon = "vpn.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,15 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Generic
|
||||
|
||||
|
||||
class _Place(_Generic):
|
||||
_type = "place"
|
||||
_icon_dir = "resources/generic/place"
|
||||
|
||||
|
||||
class Datacenter(_Place):
|
||||
_icon = "datacenter.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,15 @@
|
||||
# This module is automatically generated by autogen.sh. DO NOT EDIT.
|
||||
|
||||
from . import _Generic
|
||||
|
||||
|
||||
class _Storage(_Generic):
|
||||
_type = "storage"
|
||||
_icon_dir = "resources/generic/storage"
|
||||
|
||||
|
||||
class Storage(_Storage):
|
||||
_icon = "storage.png"
|
||||
|
||||
|
||||
# Aliases
|
@ -0,0 +1,29 @@
|
||||
---
|
||||
id: generic
|
||||
title: Generic
|
||||
---
|
||||
|
||||
Node classes list of generic provider.
|
||||
|
||||
## generic.blank
|
||||
|
||||
- **diagrams.generic.blank.Blank**
|
||||
|
||||
## generic.compute
|
||||
|
||||
- **diagrams.generic.compute.Rack**
|
||||
|
||||
## generic.network
|
||||
|
||||
- **diagrams.generic.network.Firewall**
|
||||
- **diagrams.generic.network.Router**
|
||||
- **diagrams.generic.network.Switch**
|
||||
- **diagrams.generic.network.VPN**
|
||||
|
||||
## generic.place
|
||||
|
||||
- **diagrams.generic.place.Datacenter**
|
||||
|
||||
## generic.storage
|
||||
|
||||
- **diagrams.generic.storage.Storage**
|
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 46 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 4.6 KiB |