Skip to content

Instantly share code, notes, and snippets.

@oogali
Created June 17, 2017 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oogali/e97a1b2aa14efc7f958352422adb945b to your computer and use it in GitHub Desktop.
Save oogali/e97a1b2aa14efc7f958352422adb945b to your computer and use it in GitHub Desktop.
network layers
digraph layers {
size = "8, 8"
splines = true
ranksep = 1.5
node [shape = "plaintext"]
transit -> transit_vrrp -> lb -> lb_floating -> dmz -> internal
node [shape = "rect"]
{rank = "same"; transit br1 br2; }
{rank = "same"; lb lb1 lb2; }
{rank = "same"; dmz dmzweb1 dmzweb2 dmzweb3; }
node [shape = "oval"]
{rank = "same"; transit_vrrp transit_vrrp_vlan; }
{rank = "same"; lb_floating lb_floating_ip; }
node [shape = "oval"]
{rank = "same"; internal db_master db_replica; }
br1 -> br2 [dir = "both"]
br1 -> transit_vrrp_vlan [dir = "both"]
br2 -> transit_vrrp_vlan [dir = "both"]
transit_vrrp_vlan -> lb1 [dir = "both"]
transit_vrrp_vlan -> lb2 [dir = "both"]
lb1 -> lb_floating_ip [dir = "both"]
lb2 -> lb_floating_ip [dir = "both", style = "dotted"]
lb_floating_ip -> dmzweb1 [dir = "both"]
lb_floating_ip -> dmzweb2 [dir = "both"]
lb_floating_ip -> dmzweb3 [dir = "both"]
dmzweb1 -> db_master [dir = "both"]
dmzweb1 -> db_replica [dir = "both", style = "dotted"]
dmzweb2 -> db_master [dir = "both"]
dmzweb2 -> db_replica [dir = "both", style = "dotted"]
dmzweb3 -> db_master [dir = "both"]
dmzweb3 -> db_replica [dir = "both", style = "dotted"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment