1 [% PROCESS pve_network_templates.tt %]
3 graph default_network_setup_bond {
7 edge [fontname="Helvetica" color="#FF9100"];
12 [% switch(id="tor01", title="Top of Rack Switch 1", ports=[1,2]) %]
13 [% switch(id="tor02", title="Top of Rack Switch 2", ports=[1,2]) %]
15 tor01 -- tor02 [ label="MLAG" style="bold" constraint=0 ]
17 tor01:1 -- node1_bond0:eno1
18 tor02:1 -- node1_bond0:eno2
20 tor01:2 -- node2_bond0:eno1
21 tor02:2 -- node2_bond0:eno2
23 subgraph cluster_node1 {
24 label="Node: proxmox1" labelloc=b
25 style="rounded,filled"
35 top_ports=["eno1", "eno2"]
42 subtitle="10.10.10.2/24"
48 [% server(id="vm100" title="VM 100" subtitle="10.10.10.100" top_ports='ens18') %]
50 node1_bond0 -- node1_vmbr0:bond0
52 node1_vmbr0:tap100i0 -- vm100:ens18
55 subgraph cluster_node2 {
56 label="Node: proxmox2" labelloc=b
57 style="rounded,filled"
67 top_ports=["eno1", "eno2"]
74 subtitle="10.10.10.3/24"
80 [% server(id="vm200" title="VM 200" subtitle="10.10.10.200" top_ports='ens18') %]
82 node2_bond0 -- node2_vmbr0:bond0
84 node2_vmbr0:tap100i0 -- vm200:ens18