Remove superfulous class from neutron NB bundle.
[controller.git] / opendaylight / northbound / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / northbound / NeutronFloatingIPsNorthbound.java
index 14eaedd63d2829bd7b29a15a2d26f1f66fbcf00b..2b0ad45629967ac7061d8961ff54c16155a17543 100644 (file)
@@ -28,9 +28,9 @@ import org.codehaus.enunciate.jaxrs.StatusCodes;
 import org.opendaylight.controller.networkconfig.neutron.INeutronFloatingIPAware;\r
 import org.opendaylight.controller.networkconfig.neutron.INeutronFloatingIPCRUD;\r
 import org.opendaylight.controller.networkconfig.neutron.INeutronNetworkCRUD;\r
-import org.opendaylight.controller.networkconfig.neutron.INeutronPortAware;\r
 import org.opendaylight.controller.networkconfig.neutron.INeutronPortCRUD;\r
 import org.opendaylight.controller.networkconfig.neutron.INeutronSubnetCRUD;\r
+import org.opendaylight.controller.networkconfig.neutron.NeutronCRUDInterfaces;\r
 import org.opendaylight.controller.networkconfig.neutron.NeutronFloatingIP;\r
 import org.opendaylight.controller.networkconfig.neutron.NeutronNetwork;\r
 import org.opendaylight.controller.networkconfig.neutron.NeutronPort;\r
@@ -90,7 +90,7 @@ public class NeutronFloatingIPsNorthbound {
             @QueryParam("page_reverse") String pageReverse\r
             // sorting not supported\r
             ) {\r
-        INeutronFloatingIPCRUD floatingIPInterface = NeutronNBInterfaces.getIfNBFloatingIPCRUD("default",this);\r
+        INeutronFloatingIPCRUD floatingIPInterface = NeutronCRUDInterfaces.getINeutronFloatingIPCRUD(this);\r
         if (floatingIPInterface == null) {\r
             throw new ServiceUnavailableException("Floating IP CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
@@ -133,7 +133,7 @@ public class NeutronFloatingIPsNorthbound {
             @PathParam("floatingipUUID") String floatingipUUID,\r
             // return fields\r
             @QueryParam("fields") List<String> fields ) {\r
-        INeutronFloatingIPCRUD floatingIPInterface = NeutronNBInterfaces.getIfNBFloatingIPCRUD("default",this);\r
+        INeutronFloatingIPCRUD floatingIPInterface = NeutronCRUDInterfaces.getINeutronFloatingIPCRUD(this);\r
         if (floatingIPInterface == null) {\r
             throw new ServiceUnavailableException("Floating IP CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
@@ -163,22 +163,22 @@ public class NeutronFloatingIPsNorthbound {
         @ResponseCode(code = 409, condition = "Conflict"),\r
         @ResponseCode(code = 501, condition = "Not Implemented") })\r
     public Response createFloatingIPs(final NeutronFloatingIPRequest input) {\r
-        INeutronFloatingIPCRUD floatingIPInterface = NeutronNBInterfaces.getIfNBFloatingIPCRUD("default",this);\r
+        INeutronFloatingIPCRUD floatingIPInterface = NeutronCRUDInterfaces.getINeutronFloatingIPCRUD(this);\r
         if (floatingIPInterface == null) {\r
             throw new ServiceUnavailableException("Floating IP CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronNetworkCRUD networkInterface = NeutronNBInterfaces.getIfNBNetworkCRUD("default", this);\r
+        INeutronNetworkCRUD networkInterface = NeutronCRUDInterfaces.getINeutronNetworkCRUD( this);\r
         if (networkInterface == null) {\r
             throw new ServiceUnavailableException("Network CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronSubnetCRUD subnetInterface = NeutronNBInterfaces.getIfNBSubnetCRUD("default", this);\r
+        INeutronSubnetCRUD subnetInterface = NeutronCRUDInterfaces.getINeutronSubnetCRUD( this);\r
         if (subnetInterface == null) {\r
             throw new ServiceUnavailableException("Subnet CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronPortCRUD portInterface = NeutronNBInterfaces.getIfNBPortCRUD("default", this);\r
+        INeutronPortCRUD portInterface = NeutronCRUDInterfaces.getINeutronPortCRUD( this);\r
         if (portInterface == null) {\r
             throw new ServiceUnavailableException("Port CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
@@ -282,22 +282,22 @@ public class NeutronFloatingIPsNorthbound {
             @PathParam("floatingipUUID") String floatingipUUID,\r
             NeutronFloatingIPRequest input\r
             ) {\r
-        INeutronFloatingIPCRUD floatingIPInterface = NeutronNBInterfaces.getIfNBFloatingIPCRUD("default",this);\r
+        INeutronFloatingIPCRUD floatingIPInterface = NeutronCRUDInterfaces.getINeutronFloatingIPCRUD(this);\r
         if (floatingIPInterface == null) {\r
             throw new ServiceUnavailableException("Floating IP CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronNetworkCRUD networkInterface = NeutronNBInterfaces.getIfNBNetworkCRUD("default", this);\r
+        INeutronNetworkCRUD networkInterface = NeutronCRUDInterfaces.getINeutronNetworkCRUD( this);\r
         if (networkInterface == null) {\r
             throw new ServiceUnavailableException("Network CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronSubnetCRUD subnetInterface = NeutronNBInterfaces.getIfNBSubnetCRUD("default", this);\r
+        INeutronSubnetCRUD subnetInterface = NeutronCRUDInterfaces.getINeutronSubnetCRUD( this);\r
         if (subnetInterface == null) {\r
             throw new ServiceUnavailableException("Subnet CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
         }\r
-        INeutronPortCRUD portInterface = NeutronNBInterfaces.getIfNBPortCRUD("default", this);\r
+        INeutronPortCRUD portInterface = NeutronCRUDInterfaces.getINeutronPortCRUD( this);\r
         if (portInterface == null) {\r
             throw new ServiceUnavailableException("Port CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r
@@ -397,7 +397,7 @@ public class NeutronFloatingIPsNorthbound {
             @ResponseCode(code = 501, condition = "Not Implemented") })\r
     public Response deleteFloatingIP(\r
             @PathParam("floatingipUUID") String floatingipUUID) {\r
-        INeutronFloatingIPCRUD floatingIPInterface = NeutronNBInterfaces.getIfNBFloatingIPCRUD("default",this);\r
+        INeutronFloatingIPCRUD floatingIPInterface = NeutronCRUDInterfaces.getINeutronFloatingIPCRUD(this);\r
         if (floatingIPInterface == null) {\r
             throw new ServiceUnavailableException("Floating IP CRUD Interface "\r
                     + RestMessages.SERVICEUNAVAILABLE.toString());\r