blob: 6f4137d39a9bab7b398a1ebf83db39e12af0ad11 [file] [log] [blame]
Simon Hunt56d51852014-11-09 13:03:35 -08001{
2 "event": "addDevice",
3 "payload": {
4 "id": "of:0000ffffffff0008",
5 "type": "switch",
6 "online": false,
Simon Hunt45c9fe52015-02-02 19:06:29 -08007 "master": "myInstA",
Thomas Vachuska0f6baee2014-11-11 15:02:32 -08008 "location": {
Simon Huntfd7106c2016-02-09 15:05:26 -08009 "type": "lnglat",
Paul Greyson6cb8ca02014-11-12 18:09:02 -080010 "lat": 37.7833,
11 "lng": -122.4167
Thomas Vachuska0f6baee2014-11-11 15:02:32 -080012 },
Simon Hunt56d51852014-11-09 13:03:35 -080013 "labels": [
Simon Hunt434cf142014-11-24 11:10:28 -080014 "",
Simon Hunt7cd48f32014-11-09 23:42:50 -080015 "sw-8",
Simon Hunt434cf142014-11-24 11:10:28 -080016 "0000ffffffff0008"
17 ],
18 "metaUi": {
19 "x": 520,
20 "y": 350
21 }
Simon Hunt56d51852014-11-09 13:03:35 -080022 }
23}