diff options
Diffstat (limited to 'util/docker-compose/roles/compass/templates/machine_list.conf.j2')
-rwxr-xr-x | util/docker-compose/roles/compass/templates/machine_list.conf.j2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/util/docker-compose/roles/compass/templates/machine_list.conf.j2 b/util/docker-compose/roles/compass/templates/machine_list.conf.j2 new file mode 100755 index 00000000..d85f74d0 --- /dev/null +++ b/util/docker-compose/roles/compass/templates/machine_list.conf.j2 @@ -0,0 +1,14 @@ +MACHINE_LIST = [ + { + '127.0.0.1': [ +{% set port_num = 200 %} +{% for mac in mac_addresses %} + { + 'port': '{{ port_num }}', + 'mac': '{{ mac }}', + 'vlan': 0 + }, +{% endfor %} + ] + } +] |