- Augment FlowRuleCodec to encode FlowRule
- Add unit test for encode method of FlowRuleCodec
- Add getFlowByAppId and removeFlowByAppId methods in FlowsWebResource
- Add more unit tests for FlowWebResource
- Add FlowRules.json swagger doc
- Rename Flows.json to FlowEntries.json, correct FlowEntries.json
Change-Id: Ic3ec390c13a349e51ae4208adbc478564b6724ba
Current implementation of SwaggerMojo does not support the data type
other than string, int, long and boolean.
This commit temporarily fix the issue on generating swagger doc.
Eventually, we need to augment SwaggerMojo to support more data type
including other primitive types and even Object data types.
Change-Id: I5cb69ea6af7faecfc19660c4bbf619c3d85508f3
- Implementation of a Behavior OpticalDevice has the knowledge of
translating annotations into optical specific port.
- OpticalDeviceServiceView checks if the Device is a OpticalDevice
and translate all the Ports to optical specific port before returning.
- This commit contains feedbacks, issues, and fixes by Michele Santuari.
- Note: 3 more Port types to go (OduClt, Oms, Otu)
Change-Id: I4cbda8bc1922fbdd4dac8de8d02294bad74b8058
The original value overflows the 16-bits allowed by OpenFlow so that
example doesn't work very well for OpenFlow devices.
Change-Id: I0b61404ff7ae6c542f92787c9e8ab5c7a2e058f1
This commit resolves some issues on generating REST API request,
such as incorrect content-type generation for http DELETE request.
Change-Id: I70bf18247f95ccf22b1fd77bc48ce9977ff57212
Grizzly2 test framework does not produce the same test results
compare to production REST API test through jetty web server.
By default Jersey 2.x uses the Grizzly2 test framework, this
commit tries to replace this test framework to Jetty based
http test framework.
Change-Id: I7bcb19bf73801cc66036487fd5a964e32ce1ba61
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo
Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
Hosts without a VLAN are now represented as /None rather than /-1
Flow ID in location returned by POST operation was hex rather than decimal
Change-Id: Ibb403f696399012b2b90f2954112265a6e230815
If a group has a reference count of zero for more than
a configurable timeout, it is garbage collected.
This feature can be deactivated by component config.
Change-Id: I254d62a90ef7ac8d2ce2f406b67957455a5bf4d0
Currently uses the OpenFlow device provider to change portState.
Also fixes a bug in PortNumberCompleter.
Adds completion options to portstats for deviceId and portNumber.
Change-Id: Idcce775fe8bc5484fdd0e630bcb5026b85125478
Move all REST test case classes under org.onosproject.rest.resources
package in a way to improve naming consistency.
Change-Id: I0a154fe492b90aa426e6af38a3c08d7c1ee8d031