Add supported method for checking the network exts

It is useful for operators to be able to check if a cloud supports
certain extensions to know whether they can perform some API actions.

Change-Id: Ie99668173d4dc6e6b3992e496560b5b7598181a2
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This commit is contained in:
Antoni Segura Puimedon 2017-12-20 16:39:31 +01:00
parent d8d0fca288
commit b4e45ff003
No known key found for this signature in database
GPG Key ID: 9B08FFD846853B9D

View File

@ -11354,6 +11354,13 @@ class OpenStackCloud(
"project {0}".format(proj.id)))
return self._get_and_munchify('quota', data)
def get_network_extensions(self):
"""Get Cloud provided network extensions
:returns: set of Neutron extension aliases
"""
return self._neutron_extensions()
def delete_network_quotas(self, name_or_id):
""" Delete network quotas for a project