Skip to content
Snippets Groups Projects
Commit 3ac0fb59 authored by Randall Sharo's avatar Randall Sharo
Browse files

Changed DeviceResource to return a JSON object instead of simply returning a list.

Many REST ingest schemes (e.g. Graylog "JSON path from HTTP") expect servers to return well-formed JSON objects.  Floodlight is sometimes returning values that lack root objects.

Was:
   [ <list-of-device-objects>]

Now:
   { 'devices' : <list-of-device-objects> }
parent 0af050a2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment