Ahmed Medhat (a.medhat.h@gmail.com) is using SFC for his doctorate and found that the shortest-path algorithm causes a failure when creating a Rendered Service Path.
This problem should be fixed in both beryllium master and in stable/lithium.
Creating a simple RSP with the following simplified config:
SFC [TcpProxy, TcpProxy]
SFP [transport=mac]
SFs [2SFs]
SFFs [2 SFFs, 1 SF each]
When creating the RSP via RCP, I get the following errors in the log:
2015-05-22 12:52:08,911 | INFO | qtp873483290-642 | SfcProviderRenderedPathAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | Selected SF Schdedule Type: class org.opendaylight.yang.gen.v1.urn.intel.params.xml.ns.yang.sfc.sfst.rev150312.ShortestPath
2015-05-22 12:52:08,932 | ERROR | SFC-9 | SfcProviderAbstractAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | Invocation exception createRenderedServicePathEntry, message: null
2015-05-22 12:52:08,933 | ERROR | qtp873483290-642 | SfcProviderRenderedPathAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | Could not create RSP. System state inconsistent. Deleting and add SFP sfc-path1 back
2015-05-22 12:52:08,936 | ERROR | SFC-13 | SfcProviderServiceForwarderAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | org.opendaylight.sfc.provider.api.SfcProviderServiceForwarderAPI.deletePathFromServiceForwarderState(SfcProviderServiceForwarderAPI.java:712): Rendered Service Path sfc-path1 does not exist
2015-05-22 12:52:08,939 | ERROR | SFC-14 | SfcProviderServiceFunctionAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | org.opendaylight.sfc.provider.api.SfcProviderServiceFunctionAPI.deleteServicePathFromServiceFunctionState(SfcProviderServiceFunctionAPI.java:942): Rendered Service Path sfc-path1 does not exist
2015-05-22 12:52:08,940 | ERROR | SFC-15 | SfcProviderServiceForwarderAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | org.opendaylight.sfc.provider.api.SfcProviderServiceForwarderAPI.deletePathFromServiceForwarderState(SfcProviderServiceForwarderAPI.java:712): Rendered Service Path sfc-path1 does not exist
2015-05-22 12:52:08,940 | ERROR | qtp873483290-642 | SfcProviderRenderedPathAPI | 284 - org.opendaylight.sfc.provider - 0.1.0.SNAPSHOT | Failed to create RSP for SFP sfc-path1