Rehome provider_network_attribute_updates_supported to API definition

Rehomed provider_network_attribute_updates_supported to
plugins.ml2.api.MechanismDriver, in order to be inherited in other
mechanism drivers.

Change-Id: I145861b0ca356e3e27495fb2b0205f6e8339a964
Closes-Bug: #1823865
This commit is contained in:
Rodolfo Alonso Hernandez 2019-04-09 09:35:54 +00:00
parent bcb9c90072
commit 3fd0a3c4d7
2 changed files with 15 additions and 0 deletions

View File

@ -447,6 +447,17 @@ class MechanismDriver(object):
"""
return False
@staticmethod
def provider_network_attribute_updates_supported():
"""Returns the provider network attributes that can be updated
Possible values: neutron_lib.api.definitions.provider_net.ATTRIBUTES
:returns: (list) provider network attributes that can be updated in a
live network using this driver.
"""
return []
@six.add_metaclass(abc.ABCMeta)
class _TypeDriverBase(object):

View File

@ -0,0 +1,4 @@
---
features:
- The function ``provider_network_attribute_updates_supported`` is now
available in ``neutron_lib.plugins.ml2.api.MechanismDriver``.