## Color coding:
#########################
##  Main FRR: #f08080  red
##  Switches: #d0e0d0  gray
##  RIP:      #19e3d9  Cyan
##  RIPng:    #fcb314  dark yellow
##  OSPFv2:   #32b835  Green
##  OSPFv3:   #19e3d9  Cyan
##  ISIS IPv4 #fcb314  dark yellow
##  ISIS IPv6 #9a81ec  purple
##  BGP IPv4  #eee3d3  beige
##  BGP IPv6  #fdff00  yellow
##### Colors (see http://www.color-hex.com/)

graph template {
  label="nhrp-topo-redundant-nhs";

  # Routers
  nhs1 [
    shape=doubleoctagon,
    label="NHS 1",
    fillcolor="#f08080",
    style=filled,
  ];
  nhs2 [
    shape=doubleoctagon
    label="NHS 2",
    fillcolor="#f08080",
    style=filled,
  ];
  nhs3 [
    shape=doubleoctagon
    label="NHS 3",
    fillcolor="#f08080",
    style=filled,
  ];
  nhc1 [
    shape=doubleoctagon
    label="NHC 1",
    fillcolor="#f08080",
    style=filled,
  ];
  nhc2 [
    shape=doubleoctagon
    label="NHC 2",
    fillcolor="#f08080",
    style=filled,
  ];
  router [
    shape=doubleoctagon
    label="router",
    fillcolor="#f08080",
    style=filled,
  ];
  host [
    shape=doubleoctagon
    label="host",
    fillcolor="#f08080",
    style=filled,
  ];

  # Switches
  sw1 [
    shape=oval,
    label="sw1\n192.168.1.0/24",
    fillcolor="#d0e0d0",
    style=filled,
  ];
  sw2 [
    shape=oval,
    label="sw2\n192.168.2.0/24",
    fillcolor="#d0e0d0",
    style=filled,
  ];
  sw3 [
    shape=oval,
    label="sw3\n10.4.4.0/24",
    fillcolor="#d0e0d0",
    style=filled,
  ];
  sw4 [
    shape=oval,
    label="sw4\n10.5.5.0/24",
    fillcolor="#d0e0d0",
    style=filled,
  ];

  # Connections
  nhs1 -- sw1 [label="eth0"];
  nhs2 -- sw1 [label="eth0"];
  nhs3 -- sw1 [label="eth0"];
  router -- sw1 [label="eth0"];

  nhc1 -- sw2 [label="eth0"];
  nhc2 -- sw2 [label="eth0"];
  router -- sw2 [label="eth1"];

  nhc1 -- sw3 [label="eth1"];
  host -- sw3 [label="eth0"];

  nhc2 -- sw4 [label="eth1"];

}
