From 2a578930de677fc34e0725d2b11bea32c4237eee Mon Sep 17 00:00:00 2001 From: Wolf Noble <1680659+wolfspyre@users.noreply.github.com> Date: Sat, 26 Sep 2020 02:33:02 -0500 Subject: [PATCH] add opnsense as an onprem component (#288) * add opnsense as an onprem component * follow prescripted contribution methodology --- config.py | 1 + diagrams/onprem/network.py | 4 ++++ docs/nodes/onprem.md | 1 + resources/onprem/network/opnsense.png | Bin 0 -> 5770 bytes 4 files changed, 6 insertions(+) create mode 100644 resources/onprem/network/opnsense.png diff --git a/config.py b/config.py index 4d31677..b694f4e 100644 --- a/config.py +++ b/config.py @@ -125,6 +125,7 @@ ALIASES = { "Etcd": "ETCD", "Haproxy": "HAProxy", "OpenServiceMesh": "OSM", + "Opnsense": "OPNSense", "Pfsense": "PFSense", "Vyos": "VyOS" }, diff --git a/diagrams/onprem/network.py b/diagrams/onprem/network.py index 9ea6318..ec7bb81 100644 --- a/diagrams/onprem/network.py +++ b/diagrams/onprem/network.py @@ -60,6 +60,10 @@ class OpenServiceMesh(_Network): _icon = "open-service-mesh.png" +class Opnsense(_Network): + _icon = "opnsense.png" + + class Pfsense(_Network): _icon = "pfsense.png" diff --git a/docs/nodes/onprem.md b/docs/nodes/onprem.md index 62ec53a..bc23de7 100644 --- a/docs/nodes/onprem.md +++ b/docs/nodes/onprem.md @@ -141,6 +141,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.Pfsense**, **PFSense** (alias) - **diagrams.onprem.network.Pomerium** - **diagrams.onprem.network.Tomcat** diff --git a/resources/onprem/network/opnsense.png b/resources/onprem/network/opnsense.png new file mode 100644 index 0000000000000000000000000000000000000000..952102b653e76ce9b2a2868b03b55c28cc87ac23 GIT binary patch literal 5770 zcmd^D_ct4E)K7J3m2}yoMNt{H7%^)^?5*||M1~Thwp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