Skip to content

Instantly share code, notes, and snippets.

@Landrash
Last active February 7, 2018 15:55
Show Gist options
  • Select an option

  • Save Landrash/cf528b46374a286190935a1abd3cde93 to your computer and use it in GitHub Desktop.

Select an option

Save Landrash/cf528b46374a286190935a1abd3cde93 to your computer and use it in GitHub Desktop.
ICND1Discovery10.yaml
diagram:
fill: "white"
rows: 7
columns: 7
title:
author: Fredrik Lindqvist
company: ICND1
color: black
logoFill: white
logoUrl: https://upload.wikimedia.org/wikipedia/commons/b/b3/Wikipedia-logo-v2-en.svg
text: ICND1 Discovery 10
subText: Networkmap for Discover 10
type: bar
stroke: black
# Set defaults for icons, groups, connections
iconDefaults: &iconDefaults
color: black
fill: white
stroke: black
iconFamily: cisco
groupDefaults: &groupDefaults
fill: "none"
color: black
stroke: black
connectionDefaults: &connectionDefaults
color: "black"
stroke: "black"
noteDefaults: &noteDefaults
color: black
fill: white
stroke: black
xAlign: center
yAlign: center
icons:
pc1: {<<: *iconDefaults, icon: pc, x: 0, y: 3}
sw1: {<<: *iconDefaults, icon: workgroupswitch, x: "+1" }
r1: {<<: *iconDefaults, icon: router, x: "+1" }
pc2: {<<: *iconDefaults, icon: pc, x: 0, y: 1}
sw2: {<<: *iconDefaults, icon: workgroupswitch, x: "+1" }
r2: {<<: *iconDefaults, icon: router, x: "+1" }
srv1: {<<: *iconDefaults, icon: pc, x: 6, y: 2}
sw3: {<<: *iconDefaults, icon: workgroupswitch, x: "-1" }
r3: {<<: *iconDefaults, icon: router, x: "-1" }
groups:
10.10.1.0: { <<: *groupDefaults, name: 10.10.1.0/24, members: [pc1, sw1, r1] }
10.10.2.0: { <<: *groupDefaults, name: 10.10.2.0/24, members: [pc2, sw2, r2] }
10.10.3.0: { <<: *groupDefaults, name: 10.10.3.0/24, members: [srv1, sw3, r3] }
connections:
- { <<: *connectionDefaults, endpoints: [pc1, sw1] }
- { <<: *connectionDefaults, endpoints: [sw1, r1] }
- { <<: *connectionDefaults, endpoints: [pc2,sw2] }
- { <<: *connectionDefaults, endpoints: [sw2,r2] }
- { <<: *connectionDefaults, endpoints: [srv1,sw3] }
- { <<: *connectionDefaults, endpoints: [sw3,r3] }
- { <<: *connectionDefaults, endpoints: [r1,r2] }
- { <<: *connectionDefaults, endpoints: [r2,r3] }
- { <<: *connectionDefaults, endpoints: [r3,r1] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment