From 034306b0f88b80c0a5192724afabef849ee476fe Mon Sep 17 00:00:00 2001 From: sinavir Date: Thu, 5 Feb 2026 21:40:02 +0100 Subject: [PATCH] wiring diagram --- connection_diagram.d2 | 33 +++++++++++++++++++++++++++++++++ shell.nix | 1 + 2 files changed, 34 insertions(+) create mode 100644 connection_diagram.d2 diff --git a/connection_diagram.d2 b/connection_diagram.d2 new file mode 100644 index 0000000..43b27e3 --- /dev/null +++ b/connection_diagram.d2 @@ -0,0 +1,33 @@ +Linux Host: { + width: 500 +} + +Internet: { + shape: cloud +} + +Internet -- Linux Host: { + target-arrowhead.label: "enp1s0" + label: To operate the linux host testing the EX4100-F behavior +} + +EX4100-F: { + width: 500 +} + +Linux Host -- EX4100-F: { + label: "Cat 6 cable" + target-arrowhead.label: "Mgmt" + source-arrowhead.label: "enp3s0" +} + +Linux Host -- EX4100-F: { + label: "Cat 6 cable" + target-arrowhead.label: "Port 44" + source-arrowhead.label: "enp2s0" +} +Linux Host -- EX4100-F: { + label: "10G DAC" + target-arrowhead.label: "Uplink0" + source-arrowhead.label: "enp5s0d1" +} diff --git a/shell.nix b/shell.nix index c3d10c9..ef34883 100644 --- a/shell.nix +++ b/shell.nix @@ -2,6 +2,7 @@ pkgs.mkShell { name = "junos-testing"; packages = [ + d2 (pkgs.python3.withPackages (p: [ p.scapy p.tqdm