import org.opendaylight.controller.networkconfig.neutron.INeutronNetworkCRUD;\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
@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
@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
@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
@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
@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