The following changes in the OpenDaylight Fluorine release require application code changes:
- The config subsystem, which was deprecated in Oxygen, has been removed in Fluorine. Any components that have not already migrated to Aries Blueprint will need to do so in order to run on Fluorine.
- The following dependency no longer exists and should be removed:
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>sal-binding-config</artifactId>
</dependency> - If you have a provider yang directory (e.g. provider/src/main/yang), it needs to be removed.
- The following dependency no longer exists and should be removed:
- The DataChangeListener interface, which was deprecated in Oxygen, has been removed in Fluorine. Any code using DataChangeListener must be rewritten to use DataTreeChangeListener interface instead.
- The controller EntityOwnershipService interface, deprecated in Oxygen, has been removed in Fluorine. Any code using the controller EntityOwnershipService interface must migrate to the mdsal EntityOwnershipService instead.
- The controller liblldp module has been moved to the openflowplugin project.
- The 2010-09-24 revision of the ietf-inet-types Yang model is no longer provided in Fluorine. Also, the dependency for ietf-net-types has changed. This requires the following code changes:
- Yang models that import ietf-inet-types revision 2010-09-24 should replace the revision with 2013-07-15
- In imports, package name
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924
must be rewritten to:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715 - The dependency to include this model should be:
<dependency>
<groupId>org.opendaylight.mdsal.model</groupId>
<artifactId>ietf-inet-types-2013-07-15</artifactId>
</dependency> The IpAddress and IpPrefix interfaces no longer have a getValue() method. The stringValue() method must be used instead to return the value as a String.
- The dependency for the ietf-yang-types yang classes has changed. The new dependency to include this model is:
<dependency>
<groupId>org.opendaylight.mdsal.model</groupId>
<artifactId>ietf-yang-types-20130715</artifactId>
</dependency> - RPCs no longer Future<> (from java.util.concurrent), but instead return ListenableFuture<> (from com.google.common.util.concurrent).
- The name of the method used to retrieve the value of a key from a Yang-generated data object representing a list changed from "getKey()" to "key()".