Luca Prete | 084caaf | 2016-10-18 15:55:10 +0200 | [diff] [blame] | 1 | { |
| 2 | "devices": { |
| 3 | "of:0000000000000001": { "basic": { "name": "s1", "latitude": 37.7576793, "longitude": -122.5076405 }}, |
| 4 | "of:0000000000000002": { "basic": { "name": "s2", "latitude": 34.0502337, "longitude": -118.3263353 }}, |
| 5 | "of:0000000000000003": { "basic": { "name": "s3", "latitude": 38.9082909, "longitude": -77.0886051 }}, |
| 6 | "of:0000000000000004": { "basic": { "name": "s4", "latitude": 30.2787717, "longitude": -82.3069047 }} |
| 7 | }, |
| 8 | "hosts": { |
| 9 | "00:00:00:00:00:01/100": { "basic": { "location": "of:0000000000000001/1", "ips": [ "10.0.0.1" ], "name": "v100h1", "latitude": 37.7576793, "longitude": -125.0076405 }}, |
| 10 | "00:00:00:00:00:02/200": { "basic": { "location": "of:0000000000000002/1", "ips": [ "10.0.0.2" ], "name": "v200h1", "latitude": 34.0502337, "longitude": -120.8263353 }}, |
| 11 | "00:00:00:00:00:03/300": { "basic": { "location": "of:0000000000000003/1", "ips": [ "10.0.0.3" ], "name": "v300h1", "latitude": 38.9082909, "longitude": -74.5886051 }}, |
| 12 | "00:00:00:00:00:04/400": { "basic": { "location": "of:0000000000000004/1", "ips": [ "10.0.0.4" ], "name": "v400h1", "latitude": 30.2787717, "longitude": -79.8069047 }} |
| 13 | }, |
| 14 | "ports": { |
| 15 | "of:0000000000000001/1": { |
| 16 | "interfaces": [ |
| 17 | { |
| 18 | "name": "vlan100H1", |
| 19 | "vlan": "100" |
| 20 | } |
| 21 | ] |
| 22 | }, |
| 23 | "of:0000000000000002/1": { |
| 24 | "interfaces": [ |
| 25 | { |
| 26 | "name": "vlan200H1", |
| 27 | "vlan": "200" |
| 28 | } |
| 29 | ] |
| 30 | }, |
| 31 | "of:0000000000000003/1": { |
| 32 | "interfaces": [ |
| 33 | { |
| 34 | "name": "vlan300H1", |
| 35 | "vlan": "300" |
| 36 | } |
| 37 | ] |
| 38 | }, |
| 39 | "of:0000000000000004/1": { |
| 40 | "interfaces": [ |
| 41 | { |
| 42 | "name": "vlan400H1", |
| 43 | "vlan": "400" |
| 44 | } |
| 45 | ] |
| 46 | } |
| 47 | }, |
| 48 | "apps" : { |
| 49 | "org.onosproject.vpls" : { |
| 50 | "vpls" : { |
| 51 | "vplsNetworks" : [ |
| 52 | { |
| 53 | "name" : "net1", |
| 54 | "interfaces" : ["vlan100H1", "vlan200H1"] |
| 55 | }, |
| 56 | { |
| 57 | "name" : "net2", |
| 58 | "interfaces" : [] |
| 59 | } |
| 60 | ] |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | } |