Public bug reported: All L3 agent extensions should inherit from "neutron_lib.agent.l3_extension.L3AgentExtension". The "L3AgentExtensionsManager" should check, just after the extension initialization, if the loaded extensions inherit from this API. If not, the extension will raise an exception and exit.
Once this check is done, all methods ("add_router", "update_router", "delete_router" and "ha_state_change") can directly call the extension function without checking the presence or not of the related function. That is ensured by making all extension inherit by the defined API (located in neutron-lib and available for any project). ** Affects: neutron Importance: Low Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez) Status: New ** Changed in: neutron Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez) ** Changed in: neutron Importance: Undecided => Low -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1951569 Title: [L3] L3 agent extension should always inherit from "L3AgentExtension" Status in neutron: New Bug description: All L3 agent extensions should inherit from "neutron_lib.agent.l3_extension.L3AgentExtension". The "L3AgentExtensionsManager" should check, just after the extension initialization, if the loaded extensions inherit from this API. If not, the extension will raise an exception and exit. Once this check is done, all methods ("add_router", "update_router", "delete_router" and "ha_state_change") can directly call the extension function without checking the presence or not of the related function. That is ensured by making all extension inherit by the defined API (located in neutron-lib and available for any project). To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1951569/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp