Commit a1de4456 authored by Lucas Nussbaum's avatar Lucas Nussbaum Committed by Simon Delamare

Move information about VLANs to input/

parent 7832e089
---
vlans:
# VLANs base address and type (from https://www.grid5000.fr/w/Grid5000:Network )
base:
1:
address: 192.168.192.0
type: local
2:
address: 192.168.208.0
type: local
3:
address: 192.168.224.0
type: local
4:
address: 10.0.0.0
type: routed
5:
address: 10.0.64.0
type: routed
6:
address: 10.0.128.0
type: routed
7:
address: 10.0.192.0
type: routed
8:
address: 10.1.0.0
type: routed
9:
address: 10.1.64.0
type: routed
11:
address: 10.7.192.0
type: global
12:
address: 10.11.192.0
type: global
13:
address: 10.15.192.0
type: global
14:
address: 10.19.192.0
type: global
16:
address: 10.27.192.0
type: global
18:
address: 10.35.192.0
type: global
20:
address: 10.43.192.0
type: global
21:
address: 10.47.192.0
type: global
# Allocation of VLAN offsets (relative to VLAN IPs above)
# Please keep this sorted. After modification, use: ruby -Ilib -rrefrepo/input_loader -e sorted_vlan_offsets
# Max addresses are:
# local: 15.255 (/20 network) -- overlap between sites is OK
# global: 63.255 (/18 network)
# routed: SITEID.63.255 (/18 network per site)
offsets: |-
local grenoble yeti eth0 0 0 2 110
local grenoble dahu eth0 0 0 2 120
local lille chetemi eth0 0 0 0 0
local lille chetemi eth1 0 0 0 15
local lille chifflet eth0 0 0 1 0
local lille chifflet eth1 0 0 1 8
local lille chifflot eth0 0 0 2 0
local lille chifflot eth1 0 0 2 8
local lille chiclet eth0 0 0 3 0
local lille chiclet eth1 0 0 3 8
local luxembourg granduc eth0 0 0 1 0
local luxembourg granduc eth1 0 0 2 0
local luxembourg petitprince eth0 0 0 3 0
local luxembourg petitprince eth1 0 0 4 0
local lyon sagittaire eth1 0 0 0 0
local lyon taurus eth0 0 0 0 79
local lyon orion eth0 0 0 0 95
local lyon hercule eth1 0 0 0 99
local lyon nova eth0 0 0 0 111
local nancy griffon eth0 0 0 1 0
local nancy graphene eth0 0 0 2 0
local nancy grcinq eth0 0 0 3 0
local nancy grvingt eth0 0 0 3 48
local nancy graphite eth0 0 0 4 0
local nancy graphique eth0 0 0 8 0
local nancy graoully eth0 0 0 9 0
local nancy graoully eth0 0 0 10 0
local nancy grimoire eth0 0 0 10 0
local nancy grisou eth0 0 0 11 0
local nancy grisou eth1 0 0 11 60
local nancy grisou eth2 0 0 11 120
local nancy grisou eth3 0 0 11 180
local nancy grimani eth0 0 0 12 0
local nancy grisou eth4 0 0 12 6
local nancy grele eth0 0 0 12 57
local nantes econome eth0 0 0 0 0
local nantes ecotype eth0 0 0 1 0
local nantes ecotype eth1 0 0 1 48
local rennes parapide eth0 0 0 3 0
local rennes parapluie eth1 0 0 4 0
local rennes paranoia eth0 0 0 5 0
local rennes paranoia eth2 0 0 6 0
local rennes paranoia eth1 0 0 7 0
local rennes paravance eth0 0 0 8 0
local rennes paravance eth1 0 0 9 0
local rennes parasilo eth0 0 0 12 0
local rennes parasilo eth1 0 0 13 0
local sophia suno eth0 0 0 3 0
local sophia uvb eth0 0 0 5 0
global grenoble yeti eth0 0 0 2 110
global grenoble dahu eth0 0 0 2 120
global lille chetemi eth0 0 0 4 0
global lille chetemi eth1 0 0 4 15
global lille chifflet eth0 0 0 4 30
global lille chifflet eth1 0 0 4 38
global lille chifflot eth0 0 0 4 46
global lille chifflot eth1 0 0 4 54
global lille chiclet eth0 0 0 4 62
global lille chiclet eth1 0 0 4 70
global lyon sagittaire eth1 0 0 6 0
global lyon taurus eth0 0 0 6 79
global lyon orion eth0 0 0 6 95
global lyon hercule eth1 0 0 6 99
global lyon nova eth0 0 0 6 111
global nancy grele eth0 0 0 8 0
global nancy griffon eth0 0 0 8 0
global nancy graphene eth0 0 0 8 92
global nancy graphite eth0 0 0 8 236
global nancy grcinq eth0 0 0 9 0
global nancy grvingt eth0 0 0 9 48
global nancy graphique eth0 0 0 9 142
global nancy graoully eth0 0 0 9 148
global nancy grimoire eth0 0 0 9 165
global nancy grisou eth0 0 0 9 174
global nancy grimani eth0 0 0 9 225
global rennes paravance eth0 0 0 12 1
global rennes paravance eth1 0 0 12 73
global rennes parasilo eth0 0 0 12 145
global rennes parasilo eth1 0 0 12 173
global rennes paranoia eth0 0 0 12 201
global rennes paranoia eth1 0 0 12 209
global rennes paranoia eth2 0 0 12 217
global rennes parapide eth0 0 0 12 225
global rennes parapluie eth1 0 0 13 1
global sophia uvb eth0 0 0 16 0
global sophia suno eth0 0 0 16 106
global luxembourg granduc eth0 0 0 20 0
global luxembourg granduc eth1 0 0 20 22
global luxembourg petitprince eth0 0 0 21 0
global luxembourg petitprince eth1 0 0 21 16
global nantes econome eth0 0 0 22 0
global nantes ecotype eth0 0 0 22 22
global nantes ecotype eth1 0 0 22 70
routed grenoble yeti eth0 0 4 2 110
routed grenoble dahu eth0 0 4 2 120
routed lille chetemi eth0 0 8 0 0
routed lille chetemi eth1 0 8 0 15
routed lille chifflet eth0 0 8 1 0
routed lille chifflet eth1 0 8 1 8
routed lille chifflot eth0 0 8 2 0
routed lille chifflot eth1 0 8 2 8
routed lille chiclet eth0 0 8 3 0
routed lille chiclet eth1 0 8 3 8
routed lyon sagittaire eth1 0 12 0 0
routed lyon taurus eth0 0 12 0 79
routed lyon orion eth0 0 12 0 95
routed lyon hercule eth1 0 12 0 99
routed lyon nova eth0 0 12 0 111
routed nancy griffon eth0 0 16 1 0
routed nancy graphene eth0 0 16 2 0
routed nancy grcinq eth0 0 16 3 0
routed nancy grvingt eth0 0 16 3 48
routed nancy graphite eth0 0 16 4 0
routed nancy graphique eth0 0 16 9 0
routed nancy graoully eth0 0 16 10 0
routed nancy grimoire eth0 0 16 11 0
routed nancy grisou eth0 0 16 12 0
routed nancy grisou eth1 0 16 12 60
routed nancy grisou eth2 0 16 12 120
routed nancy grisou eth3 0 16 12 180
routed nancy grimani eth0 0 16 13 0
routed nancy grisou eth4 0 16 13 6
routed nancy grele eth0 0 16 13 57
routed rennes parapide eth0 0 24 3 0
routed rennes parapluie eth1 0 24 4 0
routed rennes paranoia eth0 0 24 5 0
routed rennes paranoia eth2 0 24 6 0
routed rennes paranoia eth1 0 24 7 0
routed rennes paravance eth0 0 24 8 0
routed rennes paravance eth1 0 24 9 0
routed rennes parasilo eth0 0 24 12 0
routed rennes parasilo eth1 0 24 13 0
routed sophia suno eth0 0 32 3 0
routed sophia uvb eth0 0 32 5 0
routed luxembourg granduc eth0 0 40 1 0
routed luxembourg granduc eth1 0 40 2 0
routed luxembourg petitprince eth0 0 40 3 0
routed luxembourg petitprince eth1 0 40 4 0
routed nantes econome eth0 0 44 0 0
routed nantes ecotype eth0 0 44 1 0
routed nantes ecotype eth1 0 44 1 48
......@@ -88,6 +88,10 @@ def generate_reference_api
if global_hash['uid']
global_hash["type"] = "grid"
# remove kavlan information for now
global_hash.delete('vlans')
grid_path = Pathname.new(refapi_path)
grid_path.mkpath()
......
This diff is collapsed.
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