From 8fc555825694e5c6302453b58c0ec11592e6ca72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lionel=20F=C3=89LICIT=C3=89?= Date: Fri, 18 Sep 2020 13:13:51 +0200 Subject: [PATCH] [Resources] generic: add subnet (#285) --- diagrams/generic/network.py | 4 ++++ docs/nodes/generic.md | 1 + resources/generic/network/subnet.png | Bin 0 -> 1225 bytes 3 files changed, 5 insertions(+) create mode 100644 resources/generic/network/subnet.png diff --git a/diagrams/generic/network.py b/diagrams/generic/network.py index 7b9a9ee..40367ef 100644 --- a/diagrams/generic/network.py +++ b/diagrams/generic/network.py @@ -16,6 +16,10 @@ class Router(_Network): _icon = "router.png" +class Subnet(_Network): + _icon = "subnet.png" + + class Switch(_Network): _icon = "switch.png" diff --git a/docs/nodes/generic.md b/docs/nodes/generic.md index 785e141..8e4249a 100644 --- a/docs/nodes/generic.md +++ b/docs/nodes/generic.md @@ -26,6 +26,7 @@ Node classes list of generic provider. - **diagrams.generic.network.Firewall** - **diagrams.generic.network.Router** +- **diagrams.generic.network.Subnet** - **diagrams.generic.network.Switch** - **diagrams.generic.network.VPN** diff --git a/resources/generic/network/subnet.png b/resources/generic/network/subnet.png new file mode 100644 index 0000000000000000000000000000000000000000..2808968edcf91cec88a2c6ee3e8bcfff10088e8d GIT binary patch literal 1225 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz@VoL!i*J5?aP3I z>?NMQuIx`Z1x2)Ur|Mhz0fi(>Tq8=H^K)}k^GX<;i&7IyQd1PlGfOfQ+&z5*!W;R- z85mfcJzX3_DsH{K8(GwBAmHHW^7CJKSY5E5P_lr*te18UNfRnNj$WvG&mC|%OSFN3 zfr){GL4koh#sS0i%k3Sq&uZwLp7d4s>@o9iKi2J&F%vl*QXXr;!tk6y01vkU4^Mk_#`}tgfZy2Q_#jpKfle=&F zYWm^@c{6+Rk4iEazdL7h?~Elwb^EN>DbJ7P*QiIR`!OY*&quY@?~8Qfrr6@5+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