Commit 7a72a538 authored by DELABROYE Dimitri's avatar DELABROYE Dimitri

[lille] add erb for kavlan record

parent 3eee8ca0
nodes:
<% (1..20).each { |i| %>
chimint-<%= i %>:
kavlan:
eth0:
kavlan-1: 192.168.192.<%= i %>
kavlan-2: 192.168.208.<%= i %>
kavlan-3: 192.168.224.<%= i %>
kavlan-4: 10.8.0.<%= i %>
kavlan-5: 10.8.64.<%= i %>
kavlan-6: 10.8.128.<%= i %>
kavlan-7: 10.8.192.<%= i %>
kavlan-8: 10.9.0.<%= i %>
kavlan-9: 10.9.64.<%= i %>
kavlan-11: 10.7.196.<%= i %>
kavlan-12: 10.11.196.<%= i %>
kavlan-13: 10.15.196.<%= i %>
kavlan-14: 10.19.196.<%= i %>
kavlan-16: 10.27.196.<%= i %>
kavlan-18: 10.35.196.<%= i %>
kavlan-19: 10.39.196.<%= i %>
kavlan-20: 10.43.196.<%= i %>
kavlan-21: 10.47.196.<%= i %>
<% i110 = i+110 %>
eth1:
kavlan-1: 192.168.193.<%= i %>
kavlan-2: 192.168.209.<%= i %>
kavlan-3: 192.168.225.<%= i %>
kavlan-4: 10.8.0.<%= i110 %>
kavlan-5: 10.8.64.<%= i110 %>
kavlan-6: 10.8.128.<%= i110 %>
kavlan-7: 10.8.192.<%= i110 %>
kavlan-8: 10.9.0.<%= i110 %>
kavlan-9: 10.9.64.<%= i110 %>
kavlan-11: 10.7.196.<%= i110 %>
kavlan-12: 10.11.196.<%= i110 %>
kavlan-13: 10.15.196.<%= i110 %>
kavlan-14: 10.19.196.<%= i110 %>
kavlan-16: 10.27.196.<%= i110 %>
kavlan-18: 10.35.196.<%= i110 %>
kavlan-19: 10.39.196.<%= i110 %>
kavlan-20: 10.43.196.<%= i110 %>
kavlan-21: 10.47.196.<%= i110 %>
<% } %>
......@@ -7,4 +7,25 @@ nodes:
myri0:
ip: 172.18.47.<%= i + 100 %>
network_address: chinqchint-<%= i %>-myri0.lille.grid5000.fr
<% i46 = i+46 %>
kavlan:
eth1:
kavlan-1: 192.168.192.<%= i46 %>
kavlan-2: 192.168.208.<%= i46 %>
kavlan-3: 192.168.224.<%= i46 %>
kavlan-4: 10.8.0.<%= i46 %>
kavlan-5: 10.8.64.<%= i46 %>
kavlan-6: 10.8.128.<%= i46 %>
kavlan-7: 10.8.192.<%= i46 %>
kavlan-8: 10.9.0.<%= i46 %>
kavlan-9: 10.9.64.<%= i46 %>
kavlan-11: 10.7.196.<%= i46 %>
kavlan-12: 10.11.196.<%= i46 %>
kavlan-13: 10.15.196.<%= i46 %>
kavlan-14: 10.19.196.<%= i46 %>
kavlan-16: 10.27.196.<%= i46 %>
kavlan-18: 10.35.196.<%= i46 %>
kavlan-19: 10.39.196.<%= i46 %>
kavlan-20: 10.43.196.<%= i46 %>
kavlan-21: 10.47.196.<%= i46 %>
<% } %>
nodes:
<% (1..8).each { |i| %>
chirloute-<%= i %>:
<% i92 = i+92 %>
kavlan:
eth1:
kavlan-1: 192.168.192.<%= i92 %>
kavlan-2: 192.168.208.<%= i92 %>
kavlan-3: 192.168.224.<%= i92 %>
kavlan-4: 10.8.0.<%= i92 %>
kavlan-5: 10.8.64.<%= i92 %>
kavlan-6: 10.8.128.<%= i92 %>
kavlan-7: 10.8.192.<%= i92 %>
kavlan-8: 10.9.0.<%= i92 %>
kavlan-9: 10.9.64.<%= i92 %>
kavlan-11: 10.7.196.<%= i92 %>
kavlan-12: 10.11.196.<%= i92 %>
kavlan-13: 10.15.196.<%= i92 %>
kavlan-14: 10.19.196.<%= i92 %>
kavlan-16: 10.27.196.<%= i92 %>
kavlan-18: 10.35.196.<%= i92 %>
kavlan-19: 10.39.196.<%= i92 %>
kavlan-20: 10.43.196.<%= i92 %>
kavlan-21: 10.47.196.<%= i92 %>
<% i192 = i+192 %>
eth0:
kavlan-1: 192.168.194.<%= i %>
kavlan-2: 192.168.211.<%= i %>
kavlan-3: 192.168.227.<%= i %>
kavlan-4: 10.8.0.<%= i192 %>
kavlan-5: 10.8.64.<%= i192 %>
kavlan-6: 10.8.128.<%= i192 %>
kavlan-7: 10.8.192.<%= i192 %>
kavlan-8: 10.9.0.<%= i192 %>
kavlan-9: 10.9.64.<%= i192 %>
kavlan-11: 10.7.196.<%= i192 %>
kavlan-12: 10.11.196.<%= i192 %>
kavlan-13: 10.15.196.<%= i192 %>
kavlan-14: 10.19.196.<%= i192 %>
kavlan-16: 10.27.196.<%= i192 %>
kavlan-18: 10.35.196.<%= i192 %>
kavlan-19: 10.39.196.<%= i192 %>
kavlan-20: 10.43.196.<%= i192 %>
kavlan-21: 10.47.196.<%= i192 %>
<% } %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment