opennetworkinglab / flowvisor

FlowVisor - A network hypervisor
Other
164 stars 67 forks source link

JSON API Documentation is incorrect for 'list-links' #245

Closed nikr closed 11 years ago

nikr commented 11 years ago

In the JSON API Documentation, the response for list-links has fields called src-dpid, src-port, dst-dpid and dst-port, but the actual fields that are returned are called srcDPID and srcPort, dstDPID and dstPort.

This should be either fixed in the code (I believe it's in org.flowvisor.api.LinkAdvertisement toMap() and fromMap() ) or in the API documentation.

alshabib commented 11 years ago

fixed in documentation. Thanks for reporting.