Simon Hunt | 0b05d4a | 2014-10-21 21:50:15 -0700 | [diff] [blame^] | 1 | { |
| 2 | "id": "network-v1", |
| 3 | "meta": { |
| 4 | "__comment_1__": "This is sample data for developing the ONOS UI", |
| 5 | "foo": "bar", |
| 6 | "zoo": "goo" |
| 7 | }, |
| 8 | "nodes": [ |
| 9 | { |
| 10 | "id": "switch-1", |
| 11 | "type": "opt", |
| 12 | "status": "good" |
| 13 | }, |
| 14 | { |
| 15 | "id": "switch-2", |
| 16 | "type": "opt", |
| 17 | "status": "good" |
| 18 | }, |
| 19 | { |
| 20 | "id": "switch-3", |
| 21 | "type": "opt", |
| 22 | "status": "good" |
| 23 | }, |
| 24 | { |
| 25 | "id": "switch-4", |
| 26 | "type": "opt", |
| 27 | "status": "good" |
| 28 | }, |
| 29 | { |
| 30 | "id": "switch-11", |
| 31 | "type": "pkt", |
| 32 | "status": "good" |
| 33 | }, |
| 34 | { |
| 35 | "id": "switch-12", |
| 36 | "type": "pkt", |
| 37 | "status": "good" |
| 38 | }, |
| 39 | { |
| 40 | "id": "switch-13", |
| 41 | "type": "pkt", |
| 42 | "status": "good" |
| 43 | } |
| 44 | ], |
| 45 | "links": [ |
| 46 | { "src": "switch-1", "dst": "switch-2" }, |
| 47 | { "src": "switch-1", "dst": "switch-3" }, |
| 48 | { "src": "switch-1", "dst": "switch-4" }, |
| 49 | { "src": "switch-2", "dst": "switch-3" }, |
| 50 | { "src": "switch-2", "dst": "switch-4" }, |
| 51 | { "src": "switch-3", "dst": "switch-4" }, |
| 52 | { "src": "switch-13", "dst": "switch-3" }, |
| 53 | { "src": "switch-12", "dst": "switch-2" }, |
| 54 | { "src": "switch-11", "dst": "switch-1" } |
| 55 | ] |
| 56 | } |