blob: b1d2fd3aa7983bf611acc994d86e60d728dc54cc [file] [log] [blame]
Thomas Vachuskaeec8b192016-12-14 16:58:08 -08001#!/bin/bash
2# -----------------------------------------------------------------------------
3# Creates a replica of the GEANT topology using ONOS null provider
4# -----------------------------------------------------------------------------
5
6onos ${1:-localhost} <<-EOF
7
8null-simulation start custom
9
10null-create-device switch ATH 24 37.984149 23.7279843
11null-create-device switch LIS 24 38.707792 -9.1365069
12null-create-device switch LON 24 51.507321 -0.1276473
13null-create-device switch BRU 24 50.846556 4.351697
14null-create-device switch PAR 24 48.856610 2.3514992
15null-create-device switch DUB 24 53.349764 -8.2602731
16null-create-device switch MAD 24 40.416704 -3.7035824
17null-create-device switch GEN 24 46.201755 6.1466014
18null-create-device switch MIL 24 45.466797 9.1904984
19null-create-device switch SOF 24 42.697721 23.3225964
20null-create-device switch BUC 24 44.436141 26.1027443
21null-create-device switch VIE 24 48.208353 15.3725042
22null-create-device switch FRA 24 50.110652 8.6820934
23null-create-device switch COP 24 55.686724 9.5700724
24null-create-device switch TLN 24 59.437215 24.7453688
25null-create-device switch RIG 24 56.949397 24.1051846
26null-create-device switch KAU 24 54.898106 23.9117515
27null-create-device switch POZ 24 52.408266 16.9335199
28null-create-device switch PRA 24 50.087465 14.4212503
29null-create-device switch BRA 24 48.135908 18.1597440
30null-create-device switch ZAG 24 45.813154 15.9770298
31null-create-device switch LJU 24 46.049865 14.5068921
32null-create-device switch BUD 24 47.498381 19.0404707
33null-create-device switch MLT 24 35.898754 14.5134889
34null-create-device switch LUX 24 49.815868 6.1296751
35null-create-device switch MAR 24 43.296174 5.3699525
36null-create-device switch HAM 24 50.699641 10.6301627
37null-create-device switch AMS 24 50.828525 -4.546936
38null-create-device switch STO 24 43.296174 5.3699525
39null-create-device switch OSL 24 53.550341 10.000654
40null-create-device switch HEL 24 52.374436 4.89799560
41
42null-create-link direct ATH MIL
43null-create-link direct MIL ATH
44null-create-link direct MIL VIE
45null-create-link direct MIL MAR
46null-create-link direct MIL GEN
47null-create-link direct GEN MIL
48null-create-link direct MIL MLT
49null-create-link direct GEN FRA
50null-create-link direct FRA GEN
51null-create-link direct GEN PAR
52null-create-link direct PAR GEN
53null-create-link direct GEN PAR
54null-create-link direct FRA POZ
55null-create-link direct GEN MAR
56null-create-link direct MAR MAD
57null-create-link direct MAD PAR
58null-create-link direct MAD LIS
59null-create-link direct LIS LON
60null-create-link direct LON LIS
61null-create-link direct LON PAR
62null-create-link direct LON DUB
63null-create-link direct DUB LON
64null-create-link direct LON BRU
65null-create-link direct BRU AMS
66null-create-link direct AMS LUX
67null-create-link direct LUX FRA
68null-create-link direct AMS HAM
69null-create-link direct HAM FRA
70null-create-link direct HAM COP
71null-create-link direct COP AMS
72null-create-link direct FRA POZ
73null-create-link direct FRA PRA
74null-create-link direct FRA BUD
75null-create-link direct FRA VIE
76null-create-link direct POZ PRA
77null-create-link direct POZ KAU
78null-create-link direct KAU RIG
79null-create-link direct ZAG VIE
80null-create-link direct ZAG BUD
81null-create-link direct BUD PRA
82null-create-link direct BUD BRA
83null-create-link direct BUD BUC
84null-create-link direct BUD SOF
85null-create-link direct BUD LJU
86null-create-link direct BUC SOF
87null-create-link direct BUC VIE
88null-create-link direct VIE BRA
89null-create-link direct RIG TLN
90null-create-link direct TLN HAM
91null-create-link direct OSL STO
92null-create-link direct STO HEL
93null-create-link direct STO COP
94null-create-link direct OSL COP
95null-create-link direct TLN HEL
96
97null-create-host ATH 192.168.1.1 34.984149 24.7279843
98null-create-host LIS 192.168.1.2 37.707792 -7.1365069
99null-create-host LON 192.168.1.3 53.507321 -1.1276473
100null-create-host BRU 192.168.1.4 49.046556 4.351697
101null-create-host PAR 192.168.1.5 46.856610 2.3514992
102null-create-host DUB 192.168.1.6 54.349764 -8.2602731
103null-create-host MAD 192.168.1.7 37.416704 -3.7035824
104null-create-host GEN 192.168.1.8 45.001755 4.1466014
105null-create-host MIL 192.168.1.9 45.466797 6.6904984
106null-create-host SOF 192.168.1.10 42.697721 27.9225964
107null-create-host BUC 192.168.1.11 47.436141 26.1027443
108null-create-host VIE 192.168.1.12 48.208353 13.3725042
109null-create-host FRA 192.168.1.13 48.110652 9.2820934
110null-create-host COP 192.168.1.14 57.186724 9.5700724
111null-create-host TLN 192.168.1.15 59.437215 26.7453688
112null-create-host RIG 192.168.1.16 56.949397 26.1051846
113null-create-host KAU 192.168.1.17 52.898106 24.9117515
114null-create-host POZ 192.168.1.18 50.408266 19.3335199
115null-create-host PRA 192.168.1.19 50.087465 16.4212503
116null-create-host BRA 192.168.1.20 48.835908 19.1597440
117null-create-host ZAG 192.168.1.21 43.213154 16.4770298
118null-create-host LJU 192.168.1.22 46.049865 13.2068921
119null-create-host BUD 192.168.1.23 47.898381 20.2404707
120null-create-host MLT 192.168.1.24 32.898754 14.5134889
121null-create-host LUX 192.168.1.25 48.815868 6.5296751
122null-create-host MAR 192.168.1.26 43.296174 5.3699525
123null-create-host HAM 192.168.1.27 50.828525 -4.546936
124null-create-host AMS 192.168.1.28 43.374436 3.3699525
125null-create-host STO 192.168.1.29 52.699641 11.6301627
126null-create-host OSL 192.168.1.30 51.374436 7.39799560
127null-create-host HEL 192.168.1.31 61.325117 16.0710935
128
129EOF