diagram:
  fill: "snow"
  columns: 5
  rows: 4
  gridLines: false
  gridPaddingInner: .25
  groupPadding: .75
title:
  author: "Engyak.net"
  company: "Engyak.net"
  version: "1.1"
  color: black
  heightPercentage: 6
  logoFill: none
  stroke: lightgrey
  subText: "Spine-and-Leaf OSPF Topology"
  text: "OSPFv3 Clos Fabric"
  type: "bar"
cisco: &cisco
  stroke: "none"
  color: "black"
  iconFill: "darkslategrey"
  iconStroke: "lightgrey"
  iconStrokeWidth: .25
  iconFamily: "cisco"
  fill: "none"
  preserveWhite: "true"

l3sw: &l3sw {<<: *cisco, x: "-1", y: "+1", icon: "nexus5000"}

icons:
  s0: {<<: *l3sw, x: 1, y: 3, textLocation: topMiddle, text: "ospf-s0: fd00:6::240/64"}
  s1: {<<: *l3sw, x: 3, y: 3, textLocation: topMiddle, text: "ospf-s1: fd00:6::241/64"}
  l0: {<<: *l3sw, x: 0, y: 1, textLocation: bottomMiddle, text: "ospf-l0: fd00:6::0/128"}
  l1: {<<: *l3sw, x: 4, y: 1, textLocation: bottomMiddle, text: "ospf-l1: fd00:6::1/128"}

connection: &connection
  color: "black"
  stroke: "darkslategrey"
  strokeWidth: 3

connections:
  - { <<: *connection, endpoints: [s0:f0/24-fd00;6;240;;1/126, l0:f1/0/24-fd00;6;240;;2/126] }
  - { <<: *connection, endpoints: [s0:f0/22-fd00;6;240;;5/126, l1:f0/22-fd00;6;240;;6/126] }
  - { <<: *connection, endpoints: [s1:f0/21-fd00;6;241;;1/126, l0:f1/0/21-fd00;6;241;;2/126] }
  - { <<: *connection, endpoints: [s1:f0/23-fd00;6;241;;5/126, l1:f0/23-fd00;6;241;;6/126] }


group: &group
  - { color: "black", stroke: "black", fill: "#EEEEEE", strokeWidth: .5, textLocation: leftMiddle }
zone: &zone { <<: *group, fill: "#DDDDDD", strokeDashArray: [3,3] }
hiddenGroup: &hiddenGroup
  - { color: "none", stroke: "none", fill: "none" }
groups:
  fabric: { <<: *group, name: "Lab Fabric", members: [s0, s1, l0, l1] }