Add support for the agent extension to NVP Plugin.

Of DHCP and L3 agents, NVP uses DHCP; This patch adds support
for the extension to this plugin.

This patch also moves some tests around, as a result of the
refactory done in https://review.openstack.org/#/c/35266/
Some code duplication is also removed.

Implements blueprint nvp-agent-scheduler-extension

Change-Id: I4ca1148e81fdb39bf6b58eef806536439e9f0c6f
This commit is contained in:
armando-migliaccio
2013-06-26 12:13:49 -07:00
parent a8e4cb916c
commit a1e483d049
3 changed files with 116 additions and 64 deletions

View File

@@ -144,7 +144,9 @@ class NvpPluginV2(db_base_plugin_v2.NeutronDbPluginV2,
functionality using NVP.
"""
supported_extension_aliases = ["ext_gw_mode",
supported_extension_aliases = ["agent",
"dhcp_agent_scheduler",
"ext_gw_mode",
"extraroute",
"mac-learning",
"network-gateway",