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