stop using _get_collection_query from CommonDbMixin
The _get_collection_query of CommonDbMixin is available via the model_query module in neutron-lib. This patch switches over to neutron-lib's implementation rather than using it from neutron's CommonDbMixin Change-Id: Iab35080ac9f1ad49e4d8dabf44980a9c4d32bac2
This commit is contained in:
parent
ef81e5b565
commit
8782daa403
@ -422,13 +422,10 @@ class NetworkGatewayMixin(networkgw.NetworkGatewayPluginBase):
|
||||
page_reverse=None):
|
||||
marker_obj = db_utils.get_marker_obj(self,
|
||||
context, 'gateway_device', limit, marker)
|
||||
return self._get_collection_query(context,
|
||||
nsx_models.NetworkGatewayDevice,
|
||||
filters=filters,
|
||||
sorts=sorts,
|
||||
limit=limit,
|
||||
marker_obj=marker_obj,
|
||||
page_reverse=page_reverse)
|
||||
return model_query.get_collection_query(
|
||||
context, nsx_models.NetworkGatewayDevice,
|
||||
filters=filters, sorts=sorts, limit=limit,
|
||||
marker_obj=marker_obj, page_reverse=page_reverse)
|
||||
|
||||
def get_gateway_devices(self, context, filters=None, fields=None,
|
||||
sorts=None, limit=None, marker=None,
|
||||
|
Loading…
Reference in New Issue
Block a user