]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
isolated network metadata does not work with nvp plugin
authorAaron Rosen <arosen@nicira.com>
Wed, 6 Mar 2013 23:02:12 +0000 (15:02 -0800)
committerAaron Rosen <arosen@nicira.com>
Thu, 7 Mar 2013 00:20:24 +0000 (16:20 -0800)
commit0285379aece40e6650480cffc8a757f21a5aa52d
tree3603d3e1a3589a0311d37eeee9038f3154758d51
parent4673c9376ede249a9354cdc2fe187c28415198a4
isolated network metadata does not work with nvp plugin

This patch removes the not self.conf.enable_metadata_network
check before adding METADATA_DEFAULT_IP to ip_cidrs. This result
of this is that the dhcp agent interface will have
169.254.169.254/16 on it even if the network is
enable_metadata_network=True which doesn't matter and happens anyway if one
sets enable_meta_network=False. This change only effects the nvp plugin
as this is the only one that uses the enable_metadata_network flag.

Change-Id: Ifb3b28daed9e3bfc61bb0d8a48c40d027d0e2a51
quantum/agent/dhcp_agent.py
quantum/tests/unit/test_dhcp_agent.py