Merge "remove redundant methods for compatibility"
[neutron.git] / northbound-api / src / main / java / org / opendaylight / neutron / northbound / api / NeutronSubnetsNorthbound.java
index acb4a6c3070b62ffdb1c17c82438f977d7d359aa..f92478bd7b775a1a6a55030858efce6b72cd634d 100644 (file)
@@ -127,7 +127,7 @@ public class NeutronSubnetsNorthbound
             // sorting not supported
             ) {
         INeutronSubnetCRUD subnetInterface = getNeutronInterfaces(false).getSubnetInterface();
-        List<NeutronSubnet> allNetworks = subnetInterface.getAllSubnets();
+        List<NeutronSubnet> allNetworks = subnetInterface.getAll();
         List<NeutronSubnet> ans = new ArrayList<NeutronSubnet>();
         Iterator<NeutronSubnet> i = allNetworks.iterator();
         while (i.hasNext()) {