The following patch: 9569b2fe broke the desired functionality of
the enable_metadata_network flag, by not allowing the metadata
proxy to be spawn for 'metadata networks', which are used for
accessing the metadata service when the logical router is not
implemented through the l3 agent.
This patch enables spawning of the metadata proxy for metadata
networks when the appropriate flag is set to True.
The patch also adds rather pedant unit test coverage for the
should_enable_metadata method which previously had no unit test.
Change-Id: I8dca1fce9fbc83e75ba7e4ce948531427bf7e88b
Closes-bug: 1394020
(cherry picked from commit c45842af38da322b93d1200451a4a254abfcaed1)
Reviewed: https:/ /review. openstack. org/139617 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=6068320cbd7 6a8c70e754acdff b48e8bcf28ff09
Committed: https:/
Submitter: Jenkins
Branch: stable/juno
commit 6068320cbd76a8c 70e754acdffb48e 8bcf28ff09
Author: Aaron Rosen <email address hidden>
Date: Tue Nov 18 15:59:40 2014 -0800
Fix enable_ metadata_ network flag
The following patch: 9569b2fe broke the desired functionality of metadata_ network flag, by not allowing the metadata
the enable_
proxy to be spawn for 'metadata networks', which are used for
accessing the metadata service when the logical router is not
implemented through the l3 agent.
This patch enables spawning of the metadata proxy for metadata
networks when the appropriate flag is set to True.
The patch also adds rather pedant unit test coverage for the enable_ metadata method which previously had no unit test.
should_
Change-Id: I8dca1fce9fbc83 e75ba7e4ce94853 1427bf7e88b b93d1200451a4a2 54abfcaed1)
Closes-bug: 1394020
(cherry picked from commit c45842af38da322