Add Pagination to Neutron Networks Northbound API 05/6005/4
authorDave <dave.j.tucker@hp.com>
Wed, 9 Apr 2014 15:28:19 +0000 (16:28 +0100)
committerEd Warnicke <eaw@cisco.com>
Wed, 7 May 2014 16:00:00 +0000 (16:00 +0000)
commit098c421100787f81d851bbfcf7257e3224a31ee9
tree507497c3754ee1c01b134fc8b516de4c41637107
parentd7992a5c497b98387469ec24f99f3570f517b44f
Add Pagination to Neutron Networks Northbound API

This commit adds pagination to the neutron network northbound API.
It is based on the information at the following link.
http://docs.openstack.org/api/openstack-network/2.0/content/pagination.html

In addition to not providing a "next" link on the last page of results this
implementation does not have a "previous" link on the first page.

Change-Id: I2c048c9cdc907d759e62fb8850b76cfa293b7fd2
Signed-off-by: Dave Tucker <dave.j.tucker@hp.com>
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/NeutronPageLink.java [new file with mode: 0644]
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/PaginatedNeutronNetworkRequest.java [new file with mode: 0644]