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. Related-Bug: #1823865 Change-Id: I9be175aa2334111a17d8fec874d2331e23923837
This commit is contained in:
parent
749b33e41b
commit
cfaf5cc1e1
|
@ -363,14 +363,3 @@ class SimpleAgentMechanismDriverBase(AgentMechanismDriverBase):
|
|||
return False
|
||||
|
||||
return True
|
||||
|
||||
@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 []
|
||||
|
|
|
@ -140,7 +140,3 @@ class LoggerMechanismDriver(api.MechanismDriver):
|
|||
"%(segments)s, candidate hosts %(hosts)s ",
|
||||
{'segments': segments, 'hosts': candidate_hosts})
|
||||
return set()
|
||||
|
||||
@staticmethod
|
||||
def provider_network_attribute_updates_supported():
|
||||
return []
|
||||
|
|
|
@ -267,11 +267,6 @@ class TestMechanismDriver(api.MechanismDriver):
|
|||
def get_standard_device_mappings(self, agent):
|
||||
return {}
|
||||
|
||||
# NOTE(ralonsoh): to be removed with neutron-lib >= 1.26.0
|
||||
@staticmethod
|
||||
def provider_network_attribute_updates_supported():
|
||||
return []
|
||||
|
||||
|
||||
class TestMechanismDriverWithAgent(mech_agent.AgentMechanismDriverBase,
|
||||
TestMechanismDriver):
|
||||
|
|
Loading…
Reference in New Issue