Adding register_quotas=True argument to
resource_helper.build_resource_info() function
in order to register LBaaS resources to quotas engine
This change is actually a continuation of https://review.openstack.org/#/c/69803
change which was already approved
Change-Id: Ib75027ce4a1bea3d453f57b107d29546ec6743e5
Closes-Bug: #
1305957
resources = resource_helper.build_resource_info(plural_mappings,
RESOURCE_ATTRIBUTE_MAP,
constants.LOADBALANCER,
- action_map=action_map)
+ action_map=action_map,
+ register_quota=True)
plugin = manager.NeutronManager.get_service_plugins()[
constants.LOADBALANCER]
for collection_name in SUB_RESOURCE_ATTRIBUTE_MAP: