Refactor Neutron Pagination Code to support Network, Port and Subnet 03/8503/4
authorDave Tucker <dave@dtucker.co.uk>
Tue, 1 Jul 2014 13:47:13 +0000 (14:47 +0100)
committerDave Tucker <djt@redhat.com>
Wed, 2 Jul 2014 13:49:14 +0000 (14:49 +0100)
commit6ad21cade82f6c488dff28fe298b3b5f552a7ba6
tree137633fed2c40869e844221801b850cda8a34ac4
parent072c6fde952d5a86ccdb01521eccd09b4b4c9f67
Refactor Neutron Pagination Code to support Network, Port and Subnet

- Move pagination logic to PaginatedRequestFactory
- Add INeutronObject interface to bound Generics
- Add INeutronRequest interface to enable pagination to be generic

Patchset 4:
- Fix typos in @XMLElement annotation on the 'links' attributes

Change-Id: I7fb6c800268847a36eccd2bc402580cb48c60c46
Signed-off-by: Dave Tucker <djt@redhat.com>
14 files changed:
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronObject.java [new file with mode: 0644]
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronNetwork.java
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronPort.java
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronRouter.java
opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/NeutronSubnet.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/INeutronRequest.java [new file with mode: 0644]
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronNetworkRequest.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronNetworksNorthbound.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronPortRequest.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronPortsNorthbound.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronSubnetRequest.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronSubnetsNorthbound.java
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/PaginatedNeutronNetworkRequest.java [deleted file]
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/PaginatedRequestFactory.java [new file with mode: 0644]