Add "update_network" implementation to "L3AgentExtension" child classes

Added "update_network" method implementation to all "L3AgentExtension"
child classes. This new method will be added as a new abstract method
in future neutron-lib releases.

Needed-By: https://review.opendev.org/c/openstack/neutron-lib/+/818536
Related-Bug: #1950454
Change-Id: Ib50d37d57c3d6a69a68876ae04f468325516d4eb
This commit is contained in:
Rodolfo Alonso Hernandez 2021-12-02 09:42:09 +00:00
parent bd8e78401c
commit b1ecde9122
5 changed files with 15 additions and 0 deletions

View File

@ -278,3 +278,6 @@ class ConntrackHelperAgentExtension(l3_extension.L3AgentExtension):
def ha_state_change(self, context, data):
pass
def update_network(self, context, data):
pass

View File

@ -470,3 +470,6 @@ class PortForwardingAgentExtension(l3_extension.L3AgentExtension):
def ha_state_change(self, context, data):
pass
def update_network(self, context, data):
pass

View File

@ -346,3 +346,6 @@ class FipQosAgentExtension(qos_base.L3QosAgentExtensionBase,
def ha_state_change(self, context, data):
pass
def update_network(self, context, data):
pass

View File

@ -99,6 +99,9 @@ class RouterGatewayIPQosAgentExtension(qos_base.L3QosAgentExtensionBase,
def ha_state_change(self, context, data):
pass
def update_network(self, context, data):
pass
def process_gateway_rate_limit(self, context, router_info):
is_distributed_router = router_info.router.get('distributed')
agent_mode = router_info.agent_conf.agent_mode

View File

@ -106,3 +106,6 @@ class L3LoggingExtensionBase(object):
def ha_state_change(self, context, data):
pass
def update_network(self, context, data):
pass