summaryrefslogtreecommitdiffstats
path: root/util/docker-compose/roles/machines/templates
diff options
context:
space:
mode:
Diffstat (limited to 'util/docker-compose/roles/machines/templates')
-rwxr-xr-xutil/docker-compose/roles/machines/templates/switch_machines_file.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/util/docker-compose/roles/machines/templates/switch_machines_file.j2 b/util/docker-compose/roles/machines/templates/switch_machines_file.j2
new file mode 100755
index 00000000..489befc5
--- /dev/null
+++ b/util/docker-compose/roles/machines/templates/switch_machines_file.j2
@@ -0,0 +1,4 @@
+switch,1.1.1.1,huawei,2c,public,under_monitoring
+{% for mac in pxe_boot_macs %}
+machine,1.1.1.1,8,{{ mac }}
+{% endfor %}