Committed by
Gerrit Code Review
Adding a basic mininet-based test to STC scenarios.
Change-Id: I193013608e8fcdaede8987536e754da6d1a185bf
Showing
10 changed files
with
112 additions
and
297 deletions
... | @@ -100,12 +100,12 @@ function cell { | ... | @@ -100,12 +100,12 @@ function cell { |
100 | if [ -n "$1" ]; then | 100 | if [ -n "$1" ]; then |
101 | [ ! -f $ONOS_ROOT/tools/test/cells/$1 ] && \ | 101 | [ ! -f $ONOS_ROOT/tools/test/cells/$1 ] && \ |
102 | echo "No such cell: $1" >&2 && return 1 | 102 | echo "No such cell: $1" >&2 && return 1 |
103 | - unset ONOS_CELL ONOS_NIC ONOS_IP ONOS_APPS ONOS_BOOT_FEATURES ONOS_USER ONOS_GROUP | 103 | + unset ONOS_CELL ONOS_NIC ONOS_IP ONOS_APPS ONOS_BOOT_FEATURES |
104 | - unset OCI OCN OCT | 104 | + unset OCI OCN OCT ONOS_INSTANCES ONOS_USER ONOS_GROUP ONOS_FEATURES |
105 | - unset ONOS_FEATURES # deprecated | ||
106 | unset $(env | sed -n 's:\(^OC[0-9]\{1,\}\)=.*:\1 :g p') | 105 | unset $(env | sed -n 's:\(^OC[0-9]\{1,\}\)=.*:\1 :g p') |
107 | export ONOS_CELL=$1 | 106 | export ONOS_CELL=$1 |
108 | . $ONOS_ROOT/tools/test/cells/$1 | 107 | . $ONOS_ROOT/tools/test/cells/$1 |
108 | + export ONOS_INSTANCES=$(env | grep 'OC[0-9]*=' | sort | cut -d= -f2) | ||
109 | setPrimaryInstance 1 >/dev/null | 109 | setPrimaryInstance 1 >/dev/null |
110 | cell | 110 | cell |
111 | else | 111 | else |
... | @@ -113,7 +113,7 @@ function cell { | ... | @@ -113,7 +113,7 @@ function cell { |
113 | env | egrep "OCI" | 113 | env | egrep "OCI" |
114 | env | egrep "OC[0-9]+" | sort | 114 | env | egrep "OC[0-9]+" | sort |
115 | env | egrep "OC[NT]" | 115 | env | egrep "OC[NT]" |
116 | - env | egrep "ONOS_" | egrep -v 'ONOS_ROOT|ONOS_CELL' | 116 | + env | egrep "ONOS_" | egrep -v 'ONOS_ROOT|ONOS_CELL|ONOS_INSTANCES' |
117 | fi | 117 | fi |
118 | } | 118 | } |
119 | 119 | ... | ... |
tools/test/bin/onos-mininet
0 → 100755
1 | +#!/bin/bash | ||
2 | +# ----------------------------------------------------------------------------- | ||
3 | +# Starts or interacts with mininet in a remote screen session. | ||
4 | +# ----------------------------------------------------------------------------- | ||
5 | + | ||
6 | +[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | ||
7 | +. $ONOS_ROOT/tools/build/envDefaults | ||
8 | + | ||
9 | +cmd="$1" && shift | ||
10 | +log="screenlog.0" | ||
11 | +remote="$ONOS_USER@$OCN" | ||
12 | +mininet="ssh -t -t $remote screen -L -S mininet" | ||
13 | + | ||
14 | +case $cmd in | ||
15 | +send) | ||
16 | + $mininet -X "stuff \"$@\\n\"" 2>/dev/null | ||
17 | + ;; | ||
18 | + | ||
19 | +sendAndExpect) | ||
20 | + $mininet -X "stuff \"$1\\n\"" 2>/dev/null | ||
21 | + shift | ||
22 | + onos-mininet expect "$@" | ||
23 | + ;; | ||
24 | + | ||
25 | +wait) | ||
26 | + ssh $remote " | ||
27 | + sleep 1 && while test ! -f $log; do sleep 1; done | ||
28 | + while ! (tail -n1 $log | egrep -q '^mininet>'); do sleep 1; done | ||
29 | + sleep ${1-:1} | ||
30 | + " | ||
31 | + ;; | ||
32 | + | ||
33 | +expect) | ||
34 | + aux=/tmp/mininet.$$.log | ||
35 | + ssh $remote " | ||
36 | + sleep 1 && while ! (tail -n1 $log | egrep -q '^mininet>'); do sleep 1; done | ||
37 | + tac $log | awk '{ print \$0; } /^mininet>/ { if (on) { exit 0; } on=1; }' | tac > $aux | ||
38 | + cat $aux | ||
39 | + set -x | ||
40 | + egrep \"$@\" $aux | ||
41 | + " | ||
42 | + ;; | ||
43 | + | ||
44 | +start) | ||
45 | + ssh $remote rm -f $log | ||
46 | + $mininet "$@" | ||
47 | + scp $remote:$log /tmp/mininet.log | ||
48 | + ssh $remote rm -f $log | ||
49 | + ;; | ||
50 | + | ||
51 | +stop) | ||
52 | + $mininet -X "stuff \"^C\\n\"" 2>/dev/null && \ | ||
53 | + $mininet -X "stuff \"^C\\n\"" 2>/dev/null && \ | ||
54 | + $mininet -X "stuff \"exit\\n\"" 2>/dev/null | ||
55 | + ;; | ||
56 | +esac |
tools/test/bin/onos-push-topos
0 → 100755
1 | +#!/bin/bash | ||
2 | +# ----------------------------------------------------------------------------- | ||
3 | +# Remotely pushes test topologies a remote mininet test machine. | ||
4 | +# ----------------------------------------------------------------------------- | ||
5 | + | ||
6 | +[ ! -d "$ONOS_ROOT" ] && echo "ONOS_ROOT is not defined" >&2 && exit 1 | ||
7 | +. $ONOS_ROOT/tools/build/envDefaults | ||
8 | + | ||
9 | +node=${1:-$OCN} | ||
10 | + | ||
11 | +scp -qr $ONOS_ROOT/tools/test/topos $ONOS_USER@$node: |
... | @@ -15,17 +15,41 @@ | ... | @@ -15,17 +15,41 @@ |
15 | --> | 15 | --> |
16 | <scenario name="basic-net" description="Basic network functionality test"> | 16 | <scenario name="basic-net" description="Basic network functionality test"> |
17 | <group name="Basic-Net"> | 17 | <group name="Basic-Net"> |
18 | + <step name="Push-Topos" exec="onos-push-topos ${OCN}"/> | ||
19 | + | ||
18 | <step name="Install-Apps" | 20 | <step name="Install-Apps" |
19 | - exec="onos ${OC1} app activate org.onosproject.proxyarp org.onosproject.fwd"/> | 21 | + exec="onos ${OC1} app activate org.onosproject.openflow org.onosproject.proxyarp org.onosproject.fwd"/> |
20 | <step name="Check-Apps" requires="Install-Apps" | 22 | <step name="Check-Apps" requires="Install-Apps" |
21 | exec="onos-check-apps ${OC1} drivers,openflow,proxyarp,fwd"/> | 23 | exec="onos-check-apps ${OC1} drivers,openflow,proxyarp,fwd"/> |
22 | 24 | ||
23 | - <step name="Config-Topo" | 25 | + <step name="Wipe-Out-Data" requires="~Check-Apps" |
26 | + exec="onos ${OC1} wipe-out please"/> | ||
27 | + | ||
28 | + <step name="Check-Summary" requires="~Wipe-Out-Data" | ||
29 | + exec="onos-check-summary ${OC1} [0-9]* 0 0 0"/> | ||
30 | + | ||
31 | + <step name="Start-Mininet" requires="Install-Apps,Check-Summary,Push-Topos" | ||
32 | + exec="onos-mininet start topos/att-onos ${ONOS_INSTANCES}"/> | ||
33 | + | ||
34 | + <step name="Wait-For-Mininet" requires="Install-Apps,Check-Summary" | ||
35 | + exec="onos-mininet wait 15"/> | ||
36 | + | ||
37 | + <step name="Check-Summary-Again" requires="Wait-For-Mininet" | ||
38 | + exec="onos-check-summary ${OC1} [0-9]* 25 112 0"/> | ||
39 | + | ||
40 | + <step name="Config-Topo" requires="Check-Summary-Again" | ||
24 | exec="onos-topo-cfg ${OC1} ${ONOS_ROOT}/tools/test/topos/attmpls.json"/> | 41 | exec="onos-topo-cfg ${OC1} ${ONOS_ROOT}/tools/test/topos/attmpls.json"/> |
25 | - <step name="Check-Summary" requires="Config-Topo" | ||
26 | - exec="onos-check-summary ${OC1} [0-9]* 25 0 25"/> | ||
27 | 42 | ||
28 | - <step name="Start-Mininet" requires="Install-Apps,Check-Summary" | 43 | + <step name="Check-Summary-Yet-Again" requires="~Config-Topo" |
29 | - exec="echo onos-start-mininet not implemented yet"/> | 44 | + exec="onos-check-summary ${OC1} [0-9]* 25 112 25"/> |
45 | + | ||
46 | + <step name="Ping-All" requires="Wait-For-Mininet,~Check-Summary-Again" | ||
47 | + exec="onos-mininet send py net.pingAll(1)"/> | ||
48 | + | ||
49 | + <step name="Verify-Ping-All" requires="~Ping-All" | ||
50 | + exec="onos-mininet expect Results: .* dropped"/> | ||
51 | + | ||
52 | + <step name="Stop-Mininet" requires="~Verify-Ping-All" | ||
53 | + exec="onos-mininet stop"/> | ||
30 | </group> | 54 | </group> |
31 | </scenario> | 55 | </scenario> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -19,9 +19,12 @@ | ... | @@ -19,9 +19,12 @@ |
19 | <import file="${ONOS_ROOT}/tools/test/scenarios/setup.xml"/> | 19 | <import file="${ONOS_ROOT}/tools/test/scenarios/setup.xml"/> |
20 | <dependency name="Setup" requires="Prerequisites"/> | 20 | <dependency name="Setup" requires="Prerequisites"/> |
21 | 21 | ||
22 | + <import file="${ONOS_ROOT}/tools/test/scenarios/basic-net.xml"/> | ||
23 | + <dependency name="Basic-Net" requires="Setup"/> | ||
24 | + | ||
22 | <import file="${ONOS_ROOT}/tools/test/scenarios/archetypes.xml"/> | 25 | <import file="${ONOS_ROOT}/tools/test/scenarios/archetypes.xml"/> |
23 | - <dependency name="Archetypes" requires="Setup"/> | 26 | + <dependency name="Archetypes" requires="~Basic-Net,Setup"/> |
24 | 27 | ||
25 | <import file="${ONOS_ROOT}/tools/test/scenarios/wrapup.xml"/> | 28 | <import file="${ONOS_ROOT}/tools/test/scenarios/wrapup.xml"/> |
26 | - <dependency name="Wrapup" requires="~Archetypes,~Setup"/> | 29 | + <dependency name="Wrapup" requires="~Archetypes,~Setup,~Basic-Net"/> |
27 | </scenario> | 30 | </scenario> | ... | ... |
tools/test/topos/att-onos
0 → 100755
tools/test/topos/attmpls
deleted
100755 → 0
tools/test/topos/attmpls-sim.json
deleted
100644 → 0
1 | -{ | ||
2 | - "devices": [ | ||
3 | - { "alias": "s1", "uri": "null:0000000000000001", "mac": "000000000001", "annotations": { "name": "CMBR", "latitude": 42.373730, "longitude": -71.109734 }, "type": "SWITCH" }, | ||
4 | - { "alias": "s2", "uri": "null:0000000000000002", "mac": "000000000002", "annotations": { "name": "CHCG", "latitude": 41.877461, "longitude": -87.642892 }, "type": "SWITCH" }, | ||
5 | - { "alias": "s3", "uri": "null:0000000000000003", "mac": "000000000003", "annotations": { "name": "CLEV", "latitude": 41.498928, "longitude": -81.695217 }, "type": "SWITCH" }, | ||
6 | - { "alias": "s4", "uri": "null:0000000000000004", "mac": "000000000004", "annotations": { "name": "RLGH", "latitude": 35.780150, "longitude": -78.644026 }, "type": "SWITCH" }, | ||
7 | - { "alias": "s5", "uri": "null:0000000000000005", "mac": "000000000005", "annotations": { "name": "ATLN", "latitude": 33.749017, "longitude": -84.394168 }, "type": "SWITCH" }, | ||
8 | - { "alias": "s6", "uri": "null:0000000000000006", "mac": "000000000006", "annotations": { "name": "PHLA", "latitude": 39.952906, "longitude": -75.172278 }, "type": "SWITCH" }, | ||
9 | - { "alias": "s7", "uri": "null:0000000000000007", "mac": "000000000007", "annotations": { "name": "WASH", "latitude": 38.906696, "longitude": -77.035509 }, "type": "SWITCH" }, | ||
10 | - { "alias": "s8", "uri": "null:0000000000000008", "mac": "000000000008", "annotations": { "name": "NSVL", "latitude": 36.166410, "longitude": -86.787305 }, "type": "SWITCH" }, | ||
11 | - { "alias": "s9", "uri": "null:0000000000000009", "mac": "000000000009", "annotations": { "name": "STLS", "latitude": 38.626418, "longitude": -90.198143 }, "type": "SWITCH" }, | ||
12 | - { "alias": "s10", "uri": "null:000000000000000a", "mac": "00000000000a", "annotations": { "name": "NWOR", "latitude": 29.951475, "longitude": -90.078434 }, "type": "SWITCH" }, | ||
13 | - { "alias": "s11", "uri": "null:000000000000000b", "mac": "00000000000b", "annotations": { "name": "HSTN", "latitude": 29.763249, "longitude": -95.368332 }, "type": "SWITCH" }, | ||
14 | - { "alias": "s12", "uri": "null:000000000000000c", "mac": "00000000000c", "annotations": { "name": "SNAN", "latitude": 29.424331, "longitude": -98.491745 }, "type": "SWITCH" }, | ||
15 | - { "alias": "s13", "uri": "null:000000000000000d", "mac": "00000000000d", "annotations": { "name": "DLLS", "latitude": 32.777665, "longitude": -96.802064 }, "type": "SWITCH" }, | ||
16 | - { "alias": "s14", "uri": "null:000000000000000e", "mac": "00000000000e", "annotations": { "name": "ORLD", "latitude": 28.538641, "longitude": -81.381110 }, "type": "SWITCH" }, | ||
17 | - { "alias": "s15", "uri": "null:000000000000000f", "mac": "00000000000f", "annotations": { "name": "DNVR", "latitude": 39.736623, "longitude": -104.984887 }, "type": "SWITCH" }, | ||
18 | - { "alias": "s16", "uri": "null:0000000000000010", "mac": "000000000010", "annotations": { "name": "KSCY", "latitude": 39.100725, "longitude": -94.581228 }, "type": "SWITCH" }, | ||
19 | - { "alias": "s17", "uri": "null:0000000000000011", "mac": "000000000011", "annotations": { "name": "SNFN", "latitude": 37.779751, "longitude": -122.409791 }, "type": "SWITCH" }, | ||
20 | - { "alias": "s18", "uri": "null:0000000000000012", "mac": "000000000012", "annotations": { "name": "SCRM", "latitude": 38.581001, "longitude": -121.497844 }, "type": "SWITCH" }, | ||
21 | - { "alias": "s19", "uri": "null:0000000000000013", "mac": "000000000013", "annotations": { "name": "PTLD", "latitude": 45.523317, "longitude": -122.677768 }, "type": "SWITCH" }, | ||
22 | - { "alias": "s20", "uri": "null:0000000000000014", "mac": "000000000014", "annotations": { "name": "STTL", "latitude": 47.607326, "longitude": -122.331786 }, "type": "SWITCH" }, | ||
23 | - { "alias": "s21", "uri": "null:0000000000000015", "mac": "000000000015", "annotations": { "name": "SLKC", "latitude": 40.759577, "longitude": -111.895079 }, "type": "SWITCH" }, | ||
24 | - { "alias": "s22", "uri": "null:0000000000000016", "mac": "000000000016", "annotations": { "name": "LA03", "latitude": 34.056346, "longitude": -118.235951 }, "type": "SWITCH" }, | ||
25 | - { "alias": "s23", "uri": "null:0000000000000017", "mac": "000000000017", "annotations": { "name": "SNDG", "latitude": 32.714564, "longitude": -117.153528 }, "type": "SWITCH" }, | ||
26 | - { "alias": "s24", "uri": "null:0000000000000018", "mac": "000000000018", "annotations": { "name": "PHNX", "latitude": 33.448289, "longitude": -112.076299 }, "type": "SWITCH" }, | ||
27 | - { "alias": "s25", "uri": "null:0000000000000019", "mac": "000000000019", "annotations": { "name": "NY54", "latitude": 40.728270, "longitude": -73.994483 }, "type": "SWITCH" } | ||
28 | - ], | ||
29 | - | ||
30 | - "hosts": [ | ||
31 | - { "alias": "h1", "mac": "00:00:00:00:00:01", "vlan": -1, "location": "null:0000000000000001/1", "ip": "10.0.0.1", "annotations": { "name": "CMBR", "latitude": 43.355715, "longitude": -69.528243 } }, | ||
32 | - { "alias": "h2", "mac": "00:00:00:00:00:02", "vlan": -1, "location": "null:0000000000000002/1", "ip": "10.0.0.2", "annotations": { "name": "CHCG", "latitude": 43.632679, "longitude": -88.772526 } }, | ||
33 | - { "alias": "h3", "mac": "00:00:00:00:00:03", "vlan": -1, "location": "null:0000000000000003/1", "ip": "10.0.0.3", "annotations": { "name": "CLEV", "latitude": 42.756945, "longitude": -79.831317 } }, | ||
34 | - { "alias": "h4", "mac": "00:00:00:00:00:04", "vlan": -1, "location": "null:0000000000000004/1", "ip": "10.0.0.4", "annotations": { "name": "RLGH", "latitude": 36.972249, "longitude": -76.667163 } }, | ||
35 | - { "alias": "h5", "mac": "00:00:00:00:00:05", "vlan": -1, "location": "null:0000000000000005/1", "ip": "10.0.0.5", "annotations": { "name": "ATLN", "latitude": 35.427493, "longitude": -83.885831 } }, | ||
36 | - { "alias": "h6", "mac": "00:00:00:00:00:06", "vlan": -1, "location": "null:0000000000000006/1", "ip": "10.0.0.6", "annotations": { "name": "PHLA", "latitude": 39.208113, "longitude": -73.421341 } }, | ||
37 | - { "alias": "h7", "mac": "00:00:00:00:00:07", "vlan": -1, "location": "null:0000000000000007/1", "ip": "10.0.0.7", "annotations": { "name": "WASH", "latitude": 40.133860, "longitude": -79.238299 } }, | ||
38 | - { "alias": "h8", "mac": "00:00:00:00:00:08", "vlan": -1, "location": "null:0000000000000008/1", "ip": "10.0.0.8", "annotations": { "name": "NSVL", "latitude": 37.407589, "longitude": -84.415068 } }, | ||
39 | - { "alias": "h9", "mac": "00:00:00:00:00:09", "vlan": -1, "location": "null:0000000000000009/1", "ip": "10.0.0.9", "annotations": { "name": "STLS", "latitude": 40.066810, "longitude": -90.932405 } }, | ||
40 | - { "alias": "h10", "mac": "00:00:00:00:00:0a", "vlan": -1, "location": "null:000000000000000a/1", "ip": "10.0.0.10", "annotations": { "name": "NWOR", "latitude": 31.470982, "longitude": -88.779353 } }, | ||
41 | - { "alias": "h11", "mac": "00:00:00:00:00:0b", "vlan": -1, "location": "null:000000000000000b/1", "ip": "10.0.0.11", "annotations": { "name": "HSTN", "latitude": 31.136858, "longitude": -94.351656 } }, | ||
42 | - { "alias": "h12", "mac": "00:00:00:00:00:0c", "vlan": -1, "location": "null:000000000000000c/1", "ip": "10.0.0.12", "annotations": { "name": "SNAN", "latitude": 28.040975, "longitude": -99.169527 } }, | ||
43 | - { "alias": "h13", "mac": "00:00:00:00:00:0d", "vlan": -1, "location": "null:000000000000000d/1", "ip": "10.0.0.13", "annotations": { "name": "DLLS", "latitude": 31.899825, "longitude": -99.287263 } }, | ||
44 | - { "alias": "h14", "mac": "00:00:00:00:00:0e", "vlan": -1, "location": "null:000000000000000e/1", "ip": "10.0.0.14", "annotations": { "name": "ORLD", "latitude": 26.670509, "longitude": -81.291920 } }, | ||
45 | - { "alias": "h15", "mac": "00:00:00:00:00:0f", "vlan": -1, "location": "null:000000000000000f/1", "ip": "10.0.0.15", "annotations": { "name": "DNVR", "latitude": 40.888148, "longitude": -103.459878 } }, | ||
46 | - { "alias": "h16", "mac": "00:00:00:00:00:10", "vlan": -1, "location": "null:0000000000000010/1", "ip": "10.0.0.16", "annotations": { "name": "KSCY", "latitude": 40.545088, "longitude": -93.734002 } }, | ||
47 | - { "alias": "h17", "mac": "00:00:00:00:00:11", "vlan": -1, "location": "null:0000000000000011/1", "ip": "10.0.0.17", "annotations": { "name": "SNFN", "latitude": 39.081743, "longitude": -124.330172 } }, | ||
48 | - { "alias": "h18", "mac": "00:00:00:00:00:12", "vlan": -1, "location": "null:0000000000000012/1", "ip": "10.0.0.18", "annotations": { "name": "SCRM", "latitude": 40.107468, "longitude": -120.424689 } }, | ||
49 | - { "alias": "h19", "mac": "00:00:00:00:00:13", "vlan": -1, "location": "null:0000000000000013/1", "ip": "10.0.0.19", "annotations": { "name": "PTLD", "latitude": 44.383051, "longitude": -124.767594 } }, | ||
50 | - { "alias": "h20", "mac": "00:00:00:00:00:14", "vlan": -1, "location": "null:0000000000000014/1", "ip": "10.0.0.20", "annotations": { "name": "STTL", "latitude": 48.832627, "longitude": -120.298441 } }, | ||
51 | - { "alias": "h21", "mac": "00:00:00:00:00:15", "vlan": -1, "location": "null:0000000000000015/1", "ip": "10.0.0.21", "annotations": { "name": "SLKC", "latitude": 42.301734, "longitude": -111.217297 } }, | ||
52 | - { "alias": "h22", "mac": "00:00:00:00:00:16", "vlan": -1, "location": "null:0000000000000016/1", "ip": "10.0.0.22", "annotations": { "name": "LA03", "latitude": 33.224634, "longitude": -121.532943 } }, | ||
53 | - { "alias": "h23", "mac": "00:00:00:00:00:17", "vlan": -1, "location": "null:0000000000000017/1", "ip": "10.0.0.23", "annotations": { "name": "SNDG", "latitude": 31.834607, "longitude": -118.847982 } }, | ||
54 | - { "alias": "h24", "mac": "00:00:00:00:00:18", "vlan": -1, "location": "null:0000000000000018/1", "ip": "10.0.0.24", "annotations": { "name": "PHNX", "latitude": 34.662290, "longitude": -110.946662 } }, | ||
55 | - { "alias": "h25", "mac": "00:00:00:00:00:19", "vlan": -1, "location": "null:0000000000000019/1", "ip": "10.0.0.25", "annotations": { "name": "NY54", "latitude": 42.395459, "longitude": -75.293563 } } | ||
56 | - ], | ||
57 | - | ||
58 | - "links": [ | ||
59 | - { "src": "null:0000000000000019/2", "dst": "null:0000000000000001/2", "annotations": { "durable": "true" }}, | ||
60 | - { "src": "null:0000000000000019/3", "dst": "null:0000000000000002/10", "annotations": { "durable": "true" }}, | ||
61 | - { "src": "null:0000000000000019/4", "dst": "null:0000000000000006/3", "annotations": { "durable": "true" }}, | ||
62 | - { "src": "null:0000000000000019/5", "dst": "null:0000000000000007/2", "annotations": { "durable": "true" }}, | ||
63 | - { "src": "null:0000000000000001/2", "dst": "null:0000000000000006/4", "annotations": { "durable": "true" }}, | ||
64 | - { "src": "null:0000000000000002/2", "dst": "null:0000000000000003/5", "annotations": { "durable": "true" }}, | ||
65 | - { "src": "null:0000000000000002/3", "dst": "null:0000000000000006/5", "annotations": { "durable": "true" }}, | ||
66 | - { "src": "null:0000000000000002/4", "dst": "null:0000000000000009/2", "annotations": { "durable": "true" }}, | ||
67 | - { "src": "null:0000000000000002/5", "dst": "null:000000000000000f/5", "annotations": { "durable": "true" }}, | ||
68 | - { "src": "null:0000000000000002/6", "dst": "null:0000000000000010/3", "annotations": { "durable": "true" }}, | ||
69 | - { "src": "null:0000000000000002/7", "dst": "null:0000000000000011/7", "annotations": { "durable": "true" }}, | ||
70 | - { "src": "null:0000000000000002/8", "dst": "null:0000000000000014/2", "annotations": { "durable": "true" }}, | ||
71 | - { "src": "null:0000000000000002/9", "dst": "null:0000000000000015/3", "annotations": { "durable": "true" }}, | ||
72 | - { "src": "null:0000000000000003/2", "dst": "null:0000000000000008/4", "annotations": { "durable": "true" }}, | ||
73 | - { "src": "null:0000000000000003/3", "dst": "null:0000000000000009/5", "annotations": { "durable": "true" }}, | ||
74 | - { "src": "null:0000000000000003/4", "dst": "null:0000000000000006/6", "annotations": { "durable": "true" }}, | ||
75 | - { "src": "null:0000000000000004/2", "dst": "null:0000000000000005/7", "annotations": { "durable": "true" }}, | ||
76 | - { "src": "null:0000000000000004/3", "dst": "null:0000000000000007/3", "annotations": { "durable": "true" }}, | ||
77 | - { "src": "null:0000000000000005/2", "dst": "null:0000000000000007/4", "annotations": { "durable": "true" }}, | ||
78 | - { "src": "null:0000000000000005/3", "dst": "null:0000000000000008/5", "annotations": { "durable": "true" }}, | ||
79 | - { "src": "null:0000000000000005/4", "dst": "null:0000000000000009/3", "annotations": { "durable": "true" }}, | ||
80 | - { "src": "null:0000000000000005/5", "dst": "null:000000000000000d/6", "annotations": { "durable": "true" }}, | ||
81 | - { "src": "null:0000000000000005/6", "dst": "null:000000000000000e/2", "annotations": { "durable": "true" }}, | ||
82 | - { "src": "null:0000000000000006/2", "dst": "null:0000000000000007/4", "annotations": { "durable": "true" }}, | ||
83 | - { "src": "null:0000000000000008/2", "dst": "null:0000000000000009/6", "annotations": { "durable": "true" }}, | ||
84 | - { "src": "null:0000000000000008/3", "dst": "null:000000000000000d/7", "annotations": { "durable": "true" }}, | ||
85 | - { "src": "null:0000000000000009/2", "dst": "null:000000000000000d/8", "annotations": { "durable": "true" }}, | ||
86 | - { "src": "null:0000000000000009/3", "dst": "null:0000000000000010/4", "annotations": { "durable": "true" }}, | ||
87 | - { "src": "null:0000000000000009/4", "dst": "null:0000000000000016/5", "annotations": { "durable": "true" }}, | ||
88 | - { "src": "null:000000000000000a/2", "dst": "null:000000000000000b/5", "annotations": { "durable": "true" }}, | ||
89 | - { "src": "null:000000000000000a/3", "dst": "null:000000000000000d/9", "annotations": { "durable": "true" }}, | ||
90 | - { "src": "null:000000000000000a/4", "dst": "null:000000000000000e/3", "annotations": { "durable": "true" }}, | ||
91 | - { "src": "null:000000000000000b/2", "dst": "null:000000000000000c/4", "annotations": { "durable": "true" }}, | ||
92 | - { "src": "null:000000000000000b/3", "dst": "null:000000000000000d/10", "annotations": { "durable": "true" }}, | ||
93 | - { "src": "null:000000000000000b/4", "dst": "null:000000000000000e/4", "annotations": { "durable": "true" }}, | ||
94 | - { "src": "null:000000000000000c/2", "dst": "null:0000000000000018/2", "annotations": { "durable": "true" }}, | ||
95 | - { "src": "null:000000000000000c/3", "dst": "null:000000000000000d/6", "annotations": { "durable": "true" }}, | ||
96 | - { "src": "null:000000000000000d/2", "dst": "null:000000000000000f/5", "annotations": { "durable": "true" }}, | ||
97 | - { "src": "null:000000000000000d/3", "dst": "null:0000000000000010/5", "annotations": { "durable": "true" }}, | ||
98 | - { "src": "null:000000000000000d/4", "dst": "null:0000000000000011/8", "annotations": { "durable": "true" }}, | ||
99 | - { "src": "null:000000000000000d/5", "dst": "null:0000000000000016/6", "annotations": { "durable": "true" }}, | ||
100 | - { "src": "null:000000000000000f/2", "dst": "null:0000000000000010/6", "annotations": { "durable": "true" }}, | ||
101 | - { "src": "null:000000000000000f/3", "dst": "null:0000000000000011/9", "annotations": { "durable": "true" }}, | ||
102 | - { "src": "null:000000000000000f/4", "dst": "null:0000000000000015/4", "annotations": { "durable": "true" }}, | ||
103 | - { "src": "null:0000000000000010/2", "dst": "null:0000000000000011/10", "annotations": { "durable": "true" }}, | ||
104 | - { "src": "null:0000000000000011/2", "dst": "null:0000000000000012/3", "annotations": { "durable": "true" }}, | ||
105 | - { "src": "null:0000000000000011/3", "dst": "null:0000000000000013/3", "annotations": { "durable": "true" }}, | ||
106 | - { "src": "null:0000000000000011/4", "dst": "null:0000000000000014/3", "annotations": { "durable": "true" }}, | ||
107 | - { "src": "null:0000000000000011/5", "dst": "null:0000000000000015/4", "annotations": { "durable": "true" }}, | ||
108 | - { "src": "null:0000000000000011/6", "dst": "null:0000000000000016/7", "annotations": { "durable": "true" }}, | ||
109 | - { "src": "null:0000000000000012/2", "dst": "null:0000000000000015/5", "annotations": { "durable": "true" }}, | ||
110 | - { "src": "null:0000000000000013/2", "dst": "null:0000000000000014/4", "annotations": { "durable": "true" }}, | ||
111 | - { "src": "null:0000000000000015/2", "dst": "null:0000000000000016/8", "annotations": { "durable": "true" }}, | ||
112 | - { "src": "null:0000000000000016/2", "dst": "null:0000000000000017/3", "annotations": { "durable": "true" }}, | ||
113 | - { "src": "null:0000000000000016/3", "dst": "null:0000000000000018/3", "annotations": { "durable": "true" }}, | ||
114 | - { "src": "null:0000000000000017/2", "dst": "null:0000000000000018/5", "annotations": { "durable": "true" }} | ||
115 | - ] | ||
116 | -} |
tools/test/topos/attmplsopt.json
deleted
100644 → 0
1 | -{ | ||
2 | - "hosts": [ | ||
3 | - { "alias": "h1", "mac": "00:00:00:00:00:01", "vlan": -1, "location": "of:0000000000000001/1", "ip": "10.0.0.1", "annotations": { "name": "CMBR", "latitude": 43.355715, "longitude": -69.528243 } }, | ||
4 | - { "alias": "h2", "mac": "00:00:00:00:00:02", "vlan": -1, "location": "of:0000000000000002/1", "ip": "10.0.0.2", "annotations": { "name": "CHCG", "latitude": 43.632679, "longitude": -88.772526 } }, | ||
5 | - { "alias": "h3", "mac": "00:00:00:00:00:03", "vlan": -1, "location": "of:0000000000000003/1", "ip": "10.0.0.3", "annotations": { "name": "CLEV", "latitude": 42.756945, "longitude": -79.831317 } }, | ||
6 | - { "alias": "h4", "mac": "00:00:00:00:00:04", "vlan": -1, "location": "of:0000000000000004/1", "ip": "10.0.0.4", "annotations": { "name": "RLGH", "latitude": 36.972249, "longitude": -76.667163 } }, | ||
7 | - { "alias": "h5", "mac": "00:00:00:00:00:05", "vlan": -1, "location": "of:0000000000000005/1", "ip": "10.0.0.5", "annotations": { "name": "ATLN", "latitude": 35.427493, "longitude": -83.885831 } }, | ||
8 | - { "alias": "h6", "mac": "00:00:00:00:00:06", "vlan": -1, "location": "of:0000000000000006/1", "ip": "10.0.0.6", "annotations": { "name": "PHLA", "latitude": 39.208113, "longitude": -73.421341 } }, | ||
9 | - { "alias": "h7", "mac": "00:00:00:00:00:07", "vlan": -1, "location": "of:0000000000000007/1", "ip": "10.0.0.7", "annotations": { "name": "WASH", "latitude": 40.133860, "longitude": -79.238299 } }, | ||
10 | - { "alias": "h8", "mac": "00:00:00:00:00:08", "vlan": -1, "location": "of:0000000000000008/1", "ip": "10.0.0.8", "annotations": { "name": "NSVL", "latitude": 37.407589, "longitude": -84.415068 } }, | ||
11 | - { "alias": "h9", "mac": "00:00:00:00:00:09", "vlan": -1, "location": "of:0000000000000009/1", "ip": "10.0.0.9", "annotations": { "name": "STLS", "latitude": 40.066810, "longitude": -90.932405 } }, | ||
12 | - { "alias": "h10", "mac": "00:00:00:00:00:0a", "vlan": -1, "location": "of:000000000000000a/1", "ip": "10.0.0.10", "annotations": { "name": "NWOR", "latitude": 31.470982, "longitude": -88.779353 } }, | ||
13 | - { "alias": "h11", "mac": "00:00:00:00:00:0b", "vlan": -1, "location": "of:000000000000000b/1", "ip": "10.0.0.11", "annotations": { "name": "HSTN", "latitude": 31.136858, "longitude": -94.351656 } }, | ||
14 | - { "alias": "h12", "mac": "00:00:00:00:00:0c", "vlan": -1, "location": "of:000000000000000c/1", "ip": "10.0.0.12", "annotations": { "name": "SNAN", "latitude": 28.040975, "longitude": -99.169527 } }, | ||
15 | - { "alias": "h13", "mac": "00:00:00:00:00:0d", "vlan": -1, "location": "of:000000000000000d/1", "ip": "10.0.0.13", "annotations": { "name": "DLLS", "latitude": 31.899825, "longitude": -99.287263 } }, | ||
16 | - { "alias": "h14", "mac": "00:00:00:00:00:0e", "vlan": -1, "location": "of:000000000000000e/1", "ip": "10.0.0.14", "annotations": { "name": "ORLD", "latitude": 26.670509, "longitude": -81.291920 } }, | ||
17 | - { "alias": "h15", "mac": "00:00:00:00:00:0f", "vlan": -1, "location": "of:000000000000000f/1", "ip": "10.0.0.15", "annotations": { "name": "DNVR", "latitude": 40.888148, "longitude": -103.459878 } }, | ||
18 | - { "alias": "h16", "mac": "00:00:00:00:00:10", "vlan": -1, "location": "of:0000000000000010/1", "ip": "10.0.0.16", "annotations": { "name": "KSCY", "latitude": 40.545088, "longitude": -93.734002 } }, | ||
19 | - { "alias": "h17", "mac": "00:00:00:00:00:11", "vlan": -1, "location": "of:0000000000000011/1", "ip": "10.0.0.17", "annotations": { "name": "SNFN", "latitude": 39.081743, "longitude": -124.330172 } }, | ||
20 | - { "alias": "h18", "mac": "00:00:00:00:00:12", "vlan": -1, "location": "of:0000000000000012/1", "ip": "10.0.0.18", "annotations": { "name": "SCRM", "latitude": 40.107468, "longitude": -120.424689 } }, | ||
21 | - { "alias": "h19", "mac": "00:00:00:00:00:13", "vlan": -1, "location": "of:0000000000000013/1", "ip": "10.0.0.19", "annotations": { "name": "PTLD", "latitude": 44.383051, "longitude": -124.767594 } }, | ||
22 | - { "alias": "h20", "mac": "00:00:00:00:00:14", "vlan": -1, "location": "of:0000000000000014/1", "ip": "10.0.0.20", "annotations": { "name": "STTL", "latitude": 48.832627, "longitude": -120.298441 } }, | ||
23 | - { "alias": "h21", "mac": "00:00:00:00:00:15", "vlan": -1, "location": "of:0000000000000015/1", "ip": "10.0.0.21", "annotations": { "name": "SLKC", "latitude": 42.301734, "longitude": -111.217297 } }, | ||
24 | - { "alias": "h22", "mac": "00:00:00:00:00:16", "vlan": -1, "location": "of:0000000000000016/1", "ip": "10.0.0.22", "annotations": { "name": "LA03", "latitude": 33.224634, "longitude": -121.532943 } }, | ||
25 | - { "alias": "h23", "mac": "00:00:00:00:00:17", "vlan": -1, "location": "of:0000000000000017/1", "ip": "10.0.0.23", "annotations": { "name": "SNDG", "latitude": 31.834607, "longitude": -118.847982 } }, | ||
26 | - { "alias": "h24", "mac": "00:00:00:00:00:18", "vlan": -1, "location": "of:0000000000000018/1", "ip": "10.0.0.24", "annotations": { "name": "PHNX", "latitude": 34.662290, "longitude": -110.946662 } }, | ||
27 | - { "alias": "h25", "mac": "00:00:00:00:00:19", "vlan": -1, "location": "of:0000000000000019/1", "ip": "10.0.0.25", "annotations": { "name": "NY54", "latitude": 42.395459, "longitude": -75.293563 } } | ||
28 | - ], | ||
29 | - | ||
30 | - "devices" : [ | ||
31 | - { | ||
32 | - "uri": "of:0000ffffffffff01", "mac": "ffffffffffff01", "type": "ROADM", | ||
33 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
34 | - "annotations": { "name": "SFO", "latitude": 37.779751, "longitude": -122.409791, "optical.regens": 0 }, | ||
35 | - "ports": [ { "port": 10, "speed": 100000, "type": "FIBER" }, | ||
36 | - { "port": 20, "speed": 0, "type": "FIBER" }, | ||
37 | - { "port": 50, "speed":100000, "type": "FIBER" } ] | ||
38 | - }, | ||
39 | - { | ||
40 | - "uri": "of:0000ffffffffff02", "mac": "ffffffffffff02", "type": "ROADM", | ||
41 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
42 | - "annotations": { "name": "SAC", "latitude": 38.581001, "longitude": -121.497844, "optical.regens": 0 }, | ||
43 | - "ports": [ { "port": 20, "speed": 100000, "type": "FIBER" }, | ||
44 | - { "port": 30, "speed": 0, "type": "FIBER" }, | ||
45 | - { "port": 50, "speed": 0, "type": "FIBER" } ] | ||
46 | - }, | ||
47 | - { | ||
48 | - "uri": "of:0000ffffffffff03", "mac": "ffffffffffff03", "type": "ROADM", | ||
49 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
50 | - "annotations": { "name": "LAX", "latitude": 34.056346, "longitude": -118.235951, "optical.regens": 0 }, | ||
51 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, | ||
52 | - { "port": 50, "speed": 0, "type": "FIBER" }, | ||
53 | - { "port": 20, "speed": 0, "type": "FIBER" } ] | ||
54 | - }, | ||
55 | - { | ||
56 | - "uri": "of:0000ffffffffff04", "mac": "ffffffffffff04", "type": "ROADM", | ||
57 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
58 | - "annotations": { "name": "SDG", "latitude": 32.714564, "longitude": -117.153528, "optical.regens": 3 }, | ||
59 | - "ports": [ { "port": 30, "speed": 0, "type": "FIBER" }, | ||
60 | - { "port":50, "speed": 0, "type": "FIBER" }, | ||
61 | - { "port":20, "speed": 0, "type": "FIBER" }] | ||
62 | - }, | ||
63 | - { | ||
64 | - "uri": "of:0000ffffffffff05", "mac": "ffffffffffff05", "type": "ROADM", | ||
65 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
66 | - "annotations": { "name": "MSP", "latitude": 44.8, "longitude": -93.1, "optical.regens": 3 }, | ||
67 | - "ports": [ { "port": 20, "speed": 0, "type": "FIBER" }, | ||
68 | - { "port": 30, "speed": 0, "type": "FIBER" }, | ||
69 | - { "port": 40, "speed": 0, "type": "FIBER" }, | ||
70 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
71 | - }, | ||
72 | - { | ||
73 | - "uri": "of:0000ffffffffff06", "mac": "ffffffffffff06", "type": "ROADM", | ||
74 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
75 | - "annotations": { "name": "DFW", "latitude": 32.777665, "longitude": -96.802064, "optical.regens": 3 }, | ||
76 | - "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, | ||
77 | - { "port": 20, "speed": 0, "type": "FIBER" }, | ||
78 | - { "port": 30, "speed": 0, "type": "FIBER" }, | ||
79 | - { "port": 40, "speed": 0, "type": "FIBER" }, | ||
80 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
81 | - }, | ||
82 | - { | ||
83 | - "uri": "of:0000ffffffffff07", "mac": "ffffffffffff07", "type": "ROADM", | ||
84 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
85 | - "annotations": { "name": "CHG", "latitude": 41.877461, "longitude": -87.642892, "optical.regens": 3 }, | ||
86 | - "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, | ||
87 | - { "port": 20, "speed": 0, "type": "FIBER" }, | ||
88 | - { "port": 30, "speed": 0, "type": "FIBER" }, | ||
89 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
90 | - }, | ||
91 | - { | ||
92 | - "uri": "of:0000ffffffffff08", "mac": "ffffffffffff08", "type": "ROADM", | ||
93 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
94 | - "annotations": { "name": "IAD", "latitude": 38.8, "longitude": -77.1, "optical.regens": 3 }, | ||
95 | - "ports": [ { "port": 20, "speed": 0, "type": "FIBER" }, | ||
96 | - { "port": 30, "speed": 0, "type": "FIBER" }, | ||
97 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
98 | - }, | ||
99 | - { | ||
100 | - "uri": "of:0000ffffffffff09", "mac": "ffffffffffff09", "type": "ROADM", | ||
101 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
102 | - "annotations": { "name": "JFK", "latitude": 40.728270, "longitude": -73.994483, "optical.regens": 0 }, | ||
103 | - "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, | ||
104 | - { "port": 20, "speed": 0, "type": "FIBER" }, | ||
105 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
106 | - }, | ||
107 | - { | ||
108 | - "uri": "of:0000ffffffffff0a", "mac": "ffffffffffff0a", "type": "ROADM", | ||
109 | - "mfr": "Linc", "hw": "OE", "sw": "?", "serial": "?", | ||
110 | - "annotations": { "name": "ATL", "latitude": 33.749017, "longitude": -84.394168, "optical.regens": 0 }, | ||
111 | - "ports": [ { "port": 10, "speed": 0, "type": "FIBER" }, | ||
112 | - { "port": 20, "speed": 0, "type": "FIBER" }, | ||
113 | - { "port": 50, "speed": 0, "type": "FIBER" }] | ||
114 | - }, | ||
115 | - | ||
116 | - { "alias": "s1", "uri": "of:0000000000000001", "mac": "000000000001", "annotations": { "name": "CMBR", "latitude": 42.373730, "longitude": -71.109734 }, "type": "SWITCH" }, | ||
117 | - { "alias": "s2", "uri": "of:0000000000000002", "mac": "000000000002", "annotations": { "name": "CHCG", "latitude": 41.877461, "longitude": -87.642892 }, "type": "SWITCH" }, | ||
118 | - { "alias": "s3", "uri": "of:0000000000000003", "mac": "000000000003", "annotations": { "name": "CLEV", "latitude": 41.498928, "longitude": -81.695217 }, "type": "SWITCH" }, | ||
119 | - { "alias": "s4", "uri": "of:0000000000000004", "mac": "000000000004", "annotations": { "name": "RLGH", "latitude": 35.780150, "longitude": -78.644026 }, "type": "SWITCH" }, | ||
120 | - { "alias": "s5", "uri": "of:0000000000000005", "mac": "000000000005", "annotations": { "name": "ATLN", "latitude": 33.749017, "longitude": -84.394168 }, "type": "SWITCH" }, | ||
121 | - { "alias": "s6", "uri": "of:0000000000000006", "mac": "000000000006", "annotations": { "name": "PHLA", "latitude": 39.952906, "longitude": -75.172278 }, "type": "SWITCH" }, | ||
122 | - { "alias": "s7", "uri": "of:0000000000000007", "mac": "000000000007", "annotations": { "name": "WASH", "latitude": 38.906696, "longitude": -77.035509 }, "type": "SWITCH" }, | ||
123 | - { "alias": "s8", "uri": "of:0000000000000008", "mac": "000000000008", "annotations": { "name": "NSVL", "latitude": 36.166410, "longitude": -86.787305 }, "type": "SWITCH" }, | ||
124 | - { "alias": "s9", "uri": "of:0000000000000009", "mac": "000000000009", "annotations": { "name": "STLS", "latitude": 38.626418, "longitude": -90.198143 }, "type": "SWITCH" }, | ||
125 | - { "alias": "s10", "uri": "of:000000000000000a", "mac": "00000000000a", "annotations": { "name": "NWOR", "latitude": 29.951475, "longitude": -90.078434 }, "type": "SWITCH" }, | ||
126 | - { "alias": "s11", "uri": "of:000000000000000b", "mac": "00000000000b", "annotations": { "name": "HSTN", "latitude": 29.763249, "longitude": -95.368332 }, "type": "SWITCH" }, | ||
127 | - { "alias": "s12", "uri": "of:000000000000000c", "mac": "00000000000c", "annotations": { "name": "SNAN", "latitude": 29.424331, "longitude": -98.491745 }, "type": "SWITCH" }, | ||
128 | - { "alias": "s13", "uri": "of:000000000000000d", "mac": "00000000000d", "annotations": { "name": "DLLS", "latitude": 32.777665, "longitude": -96.802064 }, "type": "SWITCH" }, | ||
129 | - { "alias": "s14", "uri": "of:000000000000000e", "mac": "00000000000e", "annotations": { "name": "ORLD", "latitude": 28.538641, "longitude": -81.381110 }, "type": "SWITCH" }, | ||
130 | - { "alias": "s15", "uri": "of:000000000000000f", "mac": "00000000000f", "annotations": { "name": "DNVR", "latitude": 39.736623, "longitude": -104.984887 }, "type": "SWITCH" }, | ||
131 | - { "alias": "s16", "uri": "of:0000000000000010", "mac": "000000000010", "annotations": { "name": "KSCY", "latitude": 39.100725, "longitude": -94.581228 }, "type": "SWITCH" }, | ||
132 | - { "alias": "s17", "uri": "of:0000000000000011", "mac": "000000000011", "annotations": { "name": "SNFN", "latitude": 37.779751, "longitude": -122.409791 }, "type": "SWITCH" }, | ||
133 | - { "alias": "s18", "uri": "of:0000000000000012", "mac": "000000000012", "annotations": { "name": "SCRM", "latitude": 38.581001, "longitude": -121.497844 }, "type": "SWITCH" }, | ||
134 | - { "alias": "s19", "uri": "of:0000000000000013", "mac": "000000000013", "annotations": { "name": "PTLD", "latitude": 45.523317, "longitude": -122.677768 }, "type": "SWITCH" }, | ||
135 | - { "alias": "s20", "uri": "of:0000000000000014", "mac": "000000000014", "annotations": { "name": "STTL", "latitude": 47.607326, "longitude": -122.331786 }, "type": "SWITCH" }, | ||
136 | - { "alias": "s21", "uri": "of:0000000000000015", "mac": "000000000015", "annotations": { "name": "SLKC", "latitude": 40.759577, "longitude": -111.895079 }, "type": "SWITCH" }, | ||
137 | - { "alias": "s22", "uri": "of:0000000000000016", "mac": "000000000016", "annotations": { "name": "LA03", "latitude": 34.056346, "longitude": -118.235951 }, "type": "SWITCH" }, | ||
138 | - { "alias": "s23", "uri": "of:0000000000000017", "mac": "000000000017", "annotations": { "name": "SNDG", "latitude": 32.714564, "longitude": -117.153528 }, "type": "SWITCH" }, | ||
139 | - { "alias": "s24", "uri": "of:0000000000000018", "mac": "000000000018", "annotations": { "name": "PHNX", "latitude": 33.448289, "longitude": -112.076299 }, "type": "SWITCH" }, | ||
140 | - { "alias": "s25", "uri": "of:0000000000000019", "mac": "000000000019", "annotations": { "name": "NY54", "latitude": 40.728270, "longitude": -73.994483 }, "type": "SWITCH" } | ||
141 | - ], | ||
142 | - | ||
143 | - "links" : [ | ||
144 | - { "src": "of:0000ffffffffff01/50", "dst": "of:0000ffffffffff02/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 48, "durable": "true" } }, | ||
145 | - { "src": "of:0000ffffffffff02/50", "dst": "of:0000ffffffffff03/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 493, "durable": "true" } }, | ||
146 | - { "src": "of:0000ffffffffff03/50", "dst": "of:0000ffffffffff04/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 171, "durable": "true" } }, | ||
147 | - { "src": "of:0000ffffffffff01/20", "dst": "of:0000ffffffffff05/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 2555, "durable": "true" } }, | ||
148 | - { "src": "of:0000ffffffffff02/20", "dst": "of:0000ffffffffff05/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 2539, "durable": "true" } }, | ||
149 | - { "src": "of:0000ffffffffff03/20", "dst": "of:0000ffffffffff06/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1979, "durable": "true" } }, | ||
150 | - { "src": "of:0000ffffffffff04/20", "dst": "of:0000ffffffffff06/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1867, "durable": "true" } }, | ||
151 | - { "src": "of:0000ffffffffff05/30", "dst": "of:0000ffffffffff06/40", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1378, "durable": "true" } }, | ||
152 | - { "src": "of:0000ffffffffff05/40", "dst": "of:0000ffffffffff07/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 2200, "durable": "true" } }, | ||
153 | - { "src": "of:0000ffffffffff06/30", "dst": "of:0000ffffffffff08/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1918, "durable": "true" } }, | ||
154 | - { "src": "of:0000ffffffffff07/20", "dst": "of:0000ffffffffff08/30", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 3625, "durable": "true" } }, | ||
155 | - { "src": "of:0000ffffffffff07/30", "dst": "of:0000ffffffffff09/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 3880, "durable": "true" } }, | ||
156 | - { "src": "of:0000ffffffffff08/20", "dst": "of:0000ffffffffff0a/50", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 838, "durable": "true" } }, | ||
157 | - { "src": "of:0000ffffffffff09/20", "dst": "of:0000ffffffffff0a/20", "type": "OPTICAL", "annotations": { "optical.waves": 80, "optical.type": "WDM", "optical.kms": 1245, "durable": "true" } }, | ||
158 | - | ||
159 | - { "src": "of:0000000000000011/52", "dst": "of:0000ffffffffff01/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }, | ||
160 | - { "src": "of:0000000000000016/52", "dst": "of:0000ffffffffff04/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }, | ||
161 | - { "src": "of:000000000000000d/52", "dst": "of:0000ffffffffff06/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }, | ||
162 | - { "src": "of:0000000000000002/52", "dst": "of:0000ffffffffff07/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }, | ||
163 | - { "src": "of:0000000000000019/52", "dst": "of:0000ffffffffff09/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } }, | ||
164 | - { "src": "of:0000000000000005/52", "dst": "of:0000ffffffffff0a/10", "type": "OPTICAL", "annotations": { "bandwidth": 100000, "optical.type": "cross-connect", "durable": "true" } } | ||
165 | - ] | ||
166 | -} |
-
Please register or login to post a comment