Rewrite the service funtions scheduling API 62/16062/2
authorJohnson Li <[email protected]>
Wed, 11 Mar 2015 05:24:05 +0000 (13:24 +0800)
committerJohnson Li <[email protected]>
Wed, 11 Mar 2015 05:24:05 +0000 (13:24 +0800)
commitf2fb8963adcdbae5e55fb1181ecf78425f7aa62f
treebc101a686b538423eccbbf19f0c0c84c496d89a9
parent03ff164fc6d224731e9c20ad99cca7bc0bf6e7d9
Rewrite the service funtions scheduling API

This patch rewrites the service funtion scheduling API.
The origin version of API is defined in:
https://git.opendaylight.org/gerrit/#/c/14118/
It defines an API for scheduling a single service function.
Some algorithms may schdule service functions for the whole
chain. New API schedules SFs for the whole chain.

Change log:
Add Unit Test cases for the new scheduling API.
Rename SfcServiceFunctionRandomSchedulerAPI caused by mistypo.

Change log:
Solve the conflicts with commit:
https://git.opendaylight.org/gerrit/#/c/16016/1
SFF locator name is filled in corresponding RSP leaf

Signed-off-by: Johnson Li <[email protected]>
sfc-provider/src/main/java/org/opendaylight/sfc/provider/api/SfcProviderRenderedPathAPI.java
sfc-provider/src/main/java/org/opendaylight/sfc/provider/api/SfcServiceFunctionRandomSchedulerAPI.java [new file with mode: 0644]
sfc-provider/src/main/java/org/opendaylight/sfc/provider/api/SfcServiceFunctionRoundRobinSchedulerAPI.java [new file with mode: 0644]
sfc-provider/src/main/java/org/opendaylight/sfc/provider/api/SfcServiceFunctionSchedulerAPI.java [new file with mode: 0644]
sfc-provider/src/test/java/org/opendaylight/sfc/provider/api/SfcServiceFuntionSchedulerAPITest.java [new file with mode: 0644]