Skip to content

Instantly share code, notes, and snippets.

@panagiks
Last active January 23, 2018 11:09
Show Gist options
  • Save panagiks/3471a05cfb45649fe96013a6cef3dd5b to your computer and use it in GitHub Desktop.
Save panagiks/3471a05cfb45649fe96013a6cef3dd5b to your computer and use it in GitHub Desktop.
A diagram of Lambdaspace's network setup. (Produce diagram at http://go.drawthe.net)
#1:48
diagram:
fill: "#3d3935"
columns: 5
rows: 6
gridLines: true
title:
color: lightgrey
heightPercentage: 6
logoFill: lightgrey
stroke: lightgrey
subText: "A diagram of Lambdaspace's network setup."
text: "Lambdaspace Network"
type: "bar"
author: "Kolokotronis Panagiotis"
company: "Lambdaspace"
version: "1.00"
defaults: &defaults
color: "white"
fill: "#555555"
iconFamily: "azureEnterprise"
iconFill: "white"
iconStroke: "none"
stroke: "none"
cisco: &cisco
color: "#004BAF"
fill: "white"
iconFamily: "cisco"
iconFill: "#004BAF"
iconStrokeWidth: .25
stroke: "#004BAF"
preserveWhite: true
servers: &servers
<<: *defaults
fill: "#58585B"
icon: "webserver"
icons:
Cyta: {<<: *cisco, x: 0, y: 5, icon: "router"}
pfSense: {<<: *cisco, x: 2, y: 4, icon: "router_firewall", iconFill: "darkred"}
dhcp: {<<: *cisco, x: 2, y: 3, icon: "services", iconFill: "red"}
sw_main_table: {<<: *cisco, x: 2, y: 2, icon: "mau", iconFill: "green"}
sw_speaker: {<<: *cisco, x: 0, y: 1, icon: "mau", iconFill: "green"}
sw_rack: {<<: *cisco, x: 0, y: 2, icon: "layer3switch", iconFill: "green"}
ap: {<<: *cisco, x: 1, y: 0, icon: "wirelesstransport", iconFill: "green"}
mtd: {<<: *cisco, x: 4, y: 5, icon: "sattelitedish"}
connection: &connection
color: "red"
stroke: "white"
strokeDashArray: "10,2"
connections:
- { <<: *connection, endpoints: ["mtd:eth0", "pfSense:eth1"] }
- { <<: *connection, endpoints: ["Cyta:eth5(192.168.10.254)", "pfSense:eth0(192.168.10.250)"] }
- { <<: *connection, endpoints: ["pfSense", "dhcp"] }
- { <<: *connection, endpoints: ["dhcp:eth2(192.168.1.0/24)", "sw_rack"] }
- { <<: *connection, endpoints: ["sw_rack", "sw_main_table:eth0"] }
- { <<: *connection, endpoints: ["sw_rack", "sw_speaker:eth0"] }
- { <<: *connection, curve: curveStepBefore, endpoints: ["sw_speaker:eth4", "ap:eth0"] }
group: &group
- { color: "white", stroke: "lightgrey", fill: "rgba(0, 0, 0, 0.3)" }
groups:
- { <<: *group, name: "ProxMox", textLocation: "topMiddle", members: ["pfSense", "dhcp"] }
- { <<: *group, name: "Upstreams", textLocation: "leftMiddle", members: ["Cyta", "mtd"] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment