blob: 26f8de87e9e2512ba10c810bb8e0216741a97789 [file] [log] [blame]
Ryan Tidwell9b9be442016-02-18 17:34:43 +08001# Copyright 2016 Hewlett Packard Enterprise Development Company LP
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Chandan Kumarc125fd12017-11-15 19:41:01 +053015from tempest.common import utils
Hynek Mlnarikc5106762016-09-01 11:47:31 +020016from tempest.lib.common.utils import data_utils
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000017from tempest.lib import decorators
Ryan Tidwell9b9be442016-02-18 17:34:43 +080018from tempest.lib import exceptions as lib_exc
Ryan Tidwell9b9be442016-02-18 17:34:43 +080019
Chandan Kumar667d3d32017-09-22 12:24:06 +053020from neutron_tempest_plugin.api import base
21from neutron_tempest_plugin import config
Ryan Tidwell9b9be442016-02-18 17:34:43 +080022
23
Federico Ressic9f5ec52018-07-05 13:10:42 +020024CONF = config.CONF
Armando Migliacciod26a2742016-07-13 08:57:50 -070025
26
Ryan Tidwell9b9be442016-02-18 17:34:43 +080027class TrunkTestJSONBase(base.BaseAdminNetworkTest):
28
Jakub Libosvar1982aa12017-05-30 11:15:33 +000029 required_extensions = ['trunk']
Armando Migliacciod26a2742016-07-13 08:57:50 -070030
31 def setUp(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020032 base.BaseAdminNetworkTest.setUp(self)
33 # This avoids problems due to user quotas
34 self.resource_setup()
Armando Migliacciod26a2742016-07-13 08:57:50 -070035 self.addCleanup(self.resource_cleanup)
Armando Migliacciod26a2742016-07-13 08:57:50 -070036
Jakub Libosvar73520542017-12-19 17:46:42 +000037 @classmethod
38 def is_type_driver_enabled(cls, type_driver):
39 return (type_driver in
Federico Ressic9f5ec52018-07-05 13:10:42 +020040 CONF.neutron_plugin_options.available_type_drivers)
Jakub Libosvar73520542017-12-19 17:46:42 +000041
Federico Ressic9f5ec52018-07-05 13:10:42 +020042 @classmethod
43 def _create_trunk_with_network_and_parent(cls, subports=None,
44 parent_network_type=None,
45 **kwargs):
Jakub Libosvar73520542017-12-19 17:46:42 +000046 client = None
47 network_kwargs = {}
48 if parent_network_type:
Federico Ressic9f5ec52018-07-05 13:10:42 +020049 client = cls.admin_client
Jakub Libosvar73520542017-12-19 17:46:42 +000050 network_kwargs = {"provider:network_type": parent_network_type,
Federico Ressic9f5ec52018-07-05 13:10:42 +020051 "tenant_id": cls.client.tenant_id}
52 network = cls.create_network(client=client, **network_kwargs)
53 parent_port = cls.create_port(network)
54 return cls.create_trunk(parent_port, subports, **kwargs)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080055
Federico Ressic9f5ec52018-07-05 13:10:42 +020056 @classmethod
57 def _show_trunk(cls, trunk):
58 client = trunk.get('client') or cls.client
59 return client.show_trunk(trunk['id'])['trunk']
Armando Migliaccio71d34702016-08-29 22:50:44 -070060
Federico Ressic9f5ec52018-07-05 13:10:42 +020061 @classmethod
62 def _update_trunk(cls, trunk, **kwargs):
63 client = trunk.get('client') or cls.client
64 return client.update_trunk(trunk['id'], **kwargs)['trunk']
65
66 @classmethod
67 def _list_trunks(cls):
68 return cls.client.list_trunks()['trunks']
Armando Migliaccio71d34702016-08-29 22:50:44 -070069
Ryan Tidwell9b9be442016-02-18 17:34:43 +080070
71class TrunkTestJSON(TrunkTestJSONBase):
72
Armando Migliaccio71d34702016-08-29 22:50:44 -070073 def _test_create_trunk(self, subports):
74 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +020075 observed_trunk = self._show_trunk(trunk)
76 self.assertEqual(trunk, dict(observed_trunk, client=trunk['client']))
Armando Migliaccio71d34702016-08-29 22:50:44 -070077
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000078 @decorators.idempotent_id('e1a6355c-4768-41f3-9bf8-0f1d192bd501')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080079 def test_create_trunk_empty_subports_list(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070080 self._test_create_trunk([])
Ryan Tidwell9b9be442016-02-18 17:34:43 +080081
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000082 @decorators.idempotent_id('382dfa39-ca03-4bd3-9a1c-91e36d2e3796')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080083 def test_create_trunk_subports_not_specified(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070084 self._test_create_trunk(None)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080085
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000086 @decorators.idempotent_id('7de46c22-e2b6-4959-ac5a-0e624632ab32')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080087 def test_create_show_delete_trunk(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020088 trunk = self._create_trunk_with_network_and_parent()
89 observed_trunk = self._show_trunk(trunk)
90 self.assertEqual(trunk, dict(observed_trunk, client=trunk['client']))
91 self.delete_trunk(trunk)
92 self.assertRaises(lib_exc.NotFound, self._show_trunk, trunk)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080093
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000094 @decorators.idempotent_id('8d83a6ca-662d-45b8-8062-d513077296aa')
Chandan Kumarc125fd12017-11-15 19:41:01 +053095 @utils.requires_ext(extension="project-id", service="network")
Henry Gessaufa6c78d2016-10-09 19:56:09 -040096 def test_show_trunk_has_project_id(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020097 trunk = self._create_trunk_with_network_and_parent()
98 observed_trunk = self._show_trunk(trunk)
99 for key in ['project_id', 'tenant_id']:
100 self.assertIn(key, observed_trunk)
101 self.assertEqual(self.client.tenant_id, observed_trunk[key])
Henry Gessaufa6c78d2016-10-09 19:56:09 -0400102
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000103 @decorators.idempotent_id('4ce46c22-a2b6-4659-bc5a-0ef2463cab32')
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700104 def test_create_update_trunk(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200105 trunk = self._create_trunk_with_network_and_parent()
106 observed_trunk = self._show_trunk(trunk)
107 self.assertTrue(observed_trunk['admin_state_up'])
108 self.assertEqual(trunk['revision_number'],
109 observed_trunk['revision_number'])
110 self.assertEqual("", observed_trunk['name'])
111 self.assertEqual("", observed_trunk['description'])
112 updated_trunk = self._update_trunk(trunk, name='foo',
113 admin_state_up=False)
114 self.assertFalse(updated_trunk['admin_state_up'])
115 self.assertEqual("foo", updated_trunk['name'])
116 self.assertGreater(updated_trunk['revision_number'],
117 trunk['revision_number'])
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700118
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000119 @decorators.idempotent_id('5ff46c22-a2b6-5559-bc5a-0ef2463cab32')
Armando Migliaccio42738312016-08-29 22:04:21 -0700120 def test_create_update_trunk_with_description(self):
121 trunk = self._create_trunk_with_network_and_parent(
Federico Ressic9f5ec52018-07-05 13:10:42 +0200122 description="foo description")
123 self.assertEqual("foo description", trunk['description'])
124 updated_trunk = self._update_trunk(trunk, description='')
125 self.assertEqual('', updated_trunk['description'])
Armando Migliaccio42738312016-08-29 22:04:21 -0700126
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000127 @decorators.idempotent_id('73365f73-bed6-42cd-960b-ec04e0c99d85')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800128 def test_list_trunks(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200129 trunk1 = self._create_trunk_with_network_and_parent()
130 trunk2 = self._create_trunk_with_network_and_parent()
131 expected_trunks = {trunk1['id']: trunk1,
132 trunk2['id']: trunk2}
133 observed_trunks = {trunk['id']: dict(trunk, client=self.client)
134 for trunk in self._list_trunks()
135 if trunk['id'] in expected_trunks}
136 self.assertEqual(expected_trunks, observed_trunks)
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800137
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000138 @decorators.idempotent_id('bb5fcead-09b5-484a-bbe6-46d1e06d6cc0')
Federico Ressic9f5ec52018-07-05 13:10:42 +0200139 def test_add_subports(self):
140 trunk = self._create_trunk_with_network_and_parent()
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800141 network = self.create_network()
142 port = self.create_port(network)
143 subports = [{'port_id': port['id'],
144 'segmentation_type': 'vlan',
145 'segmentation_id': 2}]
Federico Ressic9f5ec52018-07-05 13:10:42 +0200146 added_subports = self.client.add_subports(trunk['id'],
147 subports)['sub_ports']
148 self.assertEqual(subports, added_subports)
149 observed_trunk = self._show_trunk(trunk)
150 self.assertEqual(subports, observed_trunk['sub_ports'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800151
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000152 @decorators.idempotent_id('ee5fcead-1abf-483a-bce6-43d1e06d6aa0')
Armando Migliaccio232642c2016-07-20 16:28:24 -0700153 def test_delete_trunk_with_subport_is_allowed(self):
154 network = self.create_network()
155 port = self.create_port(network)
156 subports = [{'port_id': port['id'],
157 'segmentation_type': 'vlan',
158 'segmentation_id': 2}]
159 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200160 self.client.delete_trunk(trunk['id'])
Armando Migliaccio232642c2016-07-20 16:28:24 -0700161
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000162 @decorators.idempotent_id('96eea398-a03c-4c3e-a99e-864392c2ca53')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800163 def test_remove_subport(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200164 subport1 = {'port_id': self.create_port(self.create_network())['id'],
165 'segmentation_type': 'vlan',
166 'segmentation_id': 2}
167 subport2 = {'port_id': self.create_port(self.create_network())['id'],
168 'segmentation_type': 'vlan',
169 'segmentation_id': 4}
170 trunk = self._create_trunk_with_network_and_parent([subport1,
171 subport2])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800172
173 # Remove the subport and validate PUT response
Federico Ressic9f5ec52018-07-05 13:10:42 +0200174 subports_after_remove = self.client.remove_subports(
175 trunk['id'], [subport2])['sub_ports']
176 self.assertEqual([subport1], subports_after_remove)
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800177
178 # Validate the results of a subport list
Federico Ressic9f5ec52018-07-05 13:10:42 +0200179 observed_trunk = self._show_trunk(trunk)
180 self.assertEqual([subport1], observed_trunk['sub_ports'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800181
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000182 @decorators.idempotent_id('bb5fcaad-09b5-484a-dde6-4cd1ea6d6ff0')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800183 def test_get_subports(self):
184 network = self.create_network()
185 port = self.create_port(network)
186 subports = [{'port_id': port['id'],
187 'segmentation_type': 'vlan',
188 'segmentation_id': 2}]
189 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200190 observed_subports = self.client.get_subports(trunk['id'])['sub_ports']
191 self.assertEqual(subports, observed_subports)
Armando Migliaccio57581c62016-07-01 10:13:19 -0700192
193
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800194class TrunkTestInheritJSONBase(TrunkTestJSONBase):
195
196 required_extensions = ['provider', 'trunk']
197
198 @classmethod
199 def skip_checks(cls):
200 super(TrunkTestInheritJSONBase, cls).skip_checks()
lianghaob7380842017-04-18 15:07:01 +0800201 if ("vlan" not in
Federico Ressic9f5ec52018-07-05 13:10:42 +0200202 CONF.neutron_plugin_options.available_type_drivers):
lianghaob7380842017-04-18 15:07:01 +0800203 raise cls.skipException("VLAN type_driver is not enabled")
Federico Ressic9f5ec52018-07-05 13:10:42 +0200204 if not CONF.neutron_plugin_options.provider_vlans:
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800205 raise cls.skipException("No provider VLAN networks available")
206
207 def create_provider_network(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200208 foo_net = CONF.neutron_plugin_options.provider_vlans[0]
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200209 return self.create_network(name=data_utils.rand_name('vlan-net'),
210 provider_network_type='vlan',
211 provider_physical_network=foo_net)
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800212
213 @decorators.idempotent_id('0f05d98e-41f5-4629-dada-9aee269c9602')
214 def test_add_subport(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200215 parent_network = self.create_provider_network()
216 parent_port = self.create_port(parent_network)
217 subport_network1 = self.create_provider_network()
218 segmentation_id1 = subport_network1['provider:segmentation_id']
219 subport_network2 = self.create_provider_network()
220 segmentation_id2 = subport_network2['provider:segmentation_id']
221 subport1 = self.create_port(subport_network1)
222 subport2 = self.create_port(subport_network2)
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800223 subports = [{'port_id': subport1['id'],
Federico Ressic9f5ec52018-07-05 13:10:42 +0200224 'segmentation_type': 'inherit'},
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800225 {'port_id': subport2['id'],
Federico Ressic9f5ec52018-07-05 13:10:42 +0200226 'segmentation_type': 'inherit'}]
227
228 trunk = self.create_trunk(parent_port, subports)
229
230 expected_subports = [{'port_id': subport1['id'],
231 'segmentation_type': 'vlan',
232 'segmentation_id': segmentation_id1},
233 {'port_id': subport2['id'],
234 'segmentation_type': 'vlan',
235 'segmentation_id': segmentation_id2}]
236
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800237 # Validate that subport got segmentation details from the network
Cédric Ollivier167a5782020-02-18 07:42:30 +0100238 self.assertEqual(
239 sorted(expected_subports, key=lambda subport: subport['port_id']),
240 sorted(trunk['sub_ports'], key=lambda subport: subport['port_id']))
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800241
242
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200243class TrunkTestMtusJSONBase(TrunkTestJSONBase):
244
245 required_extensions = ['provider', 'trunk']
246
247 @classmethod
248 def skip_checks(cls):
249 super(TrunkTestMtusJSONBase, cls).skip_checks()
Rodolfo Alonso Hernandez3c0ef4e2021-05-26 16:26:51 +0000250 if not all(cls.is_type_driver_enabled(t) for t in ['vlan', 'vxlan']):
251 msg = "Either vxlan or vlan type driver not enabled."
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200252 raise cls.skipException(msg)
253
254 def setUp(self):
255 super(TrunkTestMtusJSONBase, self).setUp()
Rodolfo Alonso Hernandez3c0ef4e2021-05-26 16:26:51 +0000256 physnet_name = CONF.neutron_plugin_options.provider_vlans[0]
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200257
Rodolfo Alonso Hernandez3c0ef4e2021-05-26 16:26:51 +0000258 # VXLAN autocomputed MTU (1450) is smaller than that of VLAN (1480)
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200259 self.smaller_mtu_net = self.create_network(
260 name=data_utils.rand_name('vxlan-net'),
261 provider_network_type='vxlan')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200262
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200263 self.larger_mtu_net = self.create_network(
Rodolfo Alonso Hernandez3c0ef4e2021-05-26 16:26:51 +0000264 name=data_utils.rand_name('vlan-net'),
265 provider_network_type='vlan',
266 provider_physical_network=physnet_name)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200267
268 self.smaller_mtu_port = self.create_port(self.smaller_mtu_net)
269 self.smaller_mtu_port_2 = self.create_port(self.smaller_mtu_net)
270 self.larger_mtu_port = self.create_port(self.larger_mtu_net)
271
272
273class TrunkTestMtusJSON(TrunkTestMtusJSONBase):
274
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000275 @decorators.idempotent_id('0f05d98e-41f5-4629-ac29-9aee269c9602')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200276 def test_create_trunk_with_mtu_greater_than_subport(self):
277 subports = [{'port_id': self.smaller_mtu_port['id'],
278 'segmentation_type': 'vlan',
279 'segmentation_id': 2}]
280
Federico Ressic9f5ec52018-07-05 13:10:42 +0200281 self.create_trunk(self.larger_mtu_port, subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200282
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000283 @decorators.idempotent_id('2004c5c6-e557-4c43-8100-c820ad4953e8')
Federico Ressic9f5ec52018-07-05 13:10:42 +0200284 def test_add_subport_with_mtu_greater_than_subport(self):
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200285 subports = [{'port_id': self.smaller_mtu_port['id'],
286 'segmentation_type': 'vlan',
287 'segmentation_id': 2}]
288
Federico Ressic9f5ec52018-07-05 13:10:42 +0200289 trunk = self.create_trunk(self.larger_mtu_port)
290 self.client.add_subports(trunk['id'], subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200291
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000292 @decorators.idempotent_id('22725101-f4bc-4e00-84ec-4e02cd7e0500')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200293 def test_create_trunk_with_mtu_equal_to_subport(self):
294 subports = [{'port_id': self.smaller_mtu_port['id'],
295 'segmentation_type': 'vlan',
296 'segmentation_id': 2}]
297
Federico Ressic9f5ec52018-07-05 13:10:42 +0200298 self.create_trunk(self.smaller_mtu_port_2, subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200299
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000300 @decorators.idempotent_id('175b05ae-66ad-44c7-857a-a12d16f1058f')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200301 def test_add_subport_with_mtu_equal_to_trunk(self):
302 subports = [{'port_id': self.smaller_mtu_port['id'],
303 'segmentation_type': 'vlan',
304 'segmentation_id': 2}]
305
Federico Ressic9f5ec52018-07-05 13:10:42 +0200306 trunk = self.create_trunk(self.smaller_mtu_port_2)
307 self.client.add_subports(trunk['id'], subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200308
309
Armando Migliaccio57581c62016-07-01 10:13:19 -0700310class TrunksSearchCriteriaTest(base.BaseSearchCriteriaTest):
311
Jakub Libosvar1982aa12017-05-30 11:15:33 +0000312 required_extensions = ['trunk']
Armando Migliaccio57581c62016-07-01 10:13:19 -0700313 resource = 'trunk'
Armando Migliaccio57581c62016-07-01 10:13:19 -0700314
315 @classmethod
316 def resource_setup(cls):
317 super(TrunksSearchCriteriaTest, cls).resource_setup()
318 net = cls.create_network(network_name='trunk-search-test-net')
319 for name in cls.resource_names:
320 parent_port = cls.create_port(net)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200321 cls.create_trunk(parent_port, name=name)
Armando Migliaccio57581c62016-07-01 10:13:19 -0700322
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000323 @decorators.idempotent_id('fab73df4-960a-4ae3-87d3-60992b8d3e2d')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700324 def test_list_sorts_asc(self):
325 self._test_list_sorts_asc()
326
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000327 @decorators.idempotent_id('a426671d-7270-430f-82ff-8f33eec93010')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700328 def test_list_sorts_desc(self):
329 self._test_list_sorts_desc()
330
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000331 @decorators.idempotent_id('b202fdc8-6616-45df-b6a0-463932de6f94')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700332 def test_list_pagination(self):
333 self._test_list_pagination()
334
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000335 @decorators.idempotent_id('c4723b8e-8186-4b9a-bf9e-57519967e048')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700336 def test_list_pagination_with_marker(self):
337 self._test_list_pagination_with_marker()
338
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000339 @decorators.idempotent_id('dcd02a7a-f07e-4d5e-b0ca-b58e48927a9b')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700340 def test_list_pagination_with_href_links(self):
341 self._test_list_pagination_with_href_links()
342
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000343 @decorators.idempotent_id('eafe7024-77ab-4cfe-824b-0b2bf4217727')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700344 def test_list_no_pagination_limit_0(self):
345 self._test_list_no_pagination_limit_0()
346
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000347 @decorators.idempotent_id('f8857391-dc44-40cc-89b7-2800402e03ce')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700348 def test_list_pagination_page_reverse_asc(self):
349 self._test_list_pagination_page_reverse_asc()
350
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000351 @decorators.idempotent_id('ae51e9c9-ceae-4ec0-afd4-147569247699')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700352 def test_list_pagination_page_reverse_desc(self):
353 self._test_list_pagination_page_reverse_desc()
354
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000355 @decorators.idempotent_id('b4293e59-d794-4a93-be09-38667199ef68')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700356 def test_list_pagination_page_reverse_with_href_links(self):
357 self._test_list_pagination_page_reverse_with_href_links()