diff options
| -rw-r--r-- | kolla/common/config.py | 4 | ||||
| -rw-r--r-- | kolla/tests/test_build.py | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/kolla/common/config.py b/kolla/common/config.py index cbdc31b06..467781468 100644 --- a/kolla/common/config.py +++ b/kolla/common/config.py @@ -270,6 +270,10 @@ SOURCES = { 'type': 'url', 'location': ('http://tarballs.openstack.org/networking-sfc/' 'networking-sfc-master.tar.gz')}, + 'neutron-server-plugin-vpnaas-agent': { + 'type': 'url', + 'location': ('http://tarballs.openstack.org/neutron-vpnaas/' + 'neutron-vpnaas-master.tar.gz')}, 'neutron-vpnaas-agent': { 'type': 'url', 'location': ('http://tarballs.openstack.org/neutron-vpnaas/' diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py index 62e107972..fccf7f41b 100644 --- a/kolla/tests/test_build.py +++ b/kolla/tests/test_build.py @@ -189,11 +189,16 @@ class KollaWorkerTest(base.TestCase): 'source': 'https://git.openstack.org/openstack/networking-arista', 'type': 'git' } + + found = False for image in kolla.images: if image.name == 'neutron-server': - self.assertEqual(image.plugins[0], expected_plugin) + for plugin in image.plugins: + if plugin == expected_plugin: + found = True + break break - else: + if not found: self.fail('Can not find the expected neutron arista plugin') def test_build_image_list_plugin_parsing(self): |
