From a0593c77f846463bb7e1cc0136036a00d3abd34a Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 20 Nov 2024 08:49:29 +0000 Subject: [PATCH] Change the default FRR docker image repository This patch changes the default reporitory (hub.docker.com) to quay.io, in order to avoid the limitations implemented in the website, reducing the download request. The base image is the same: Ubuntu 22.04 NOTE: it could be possible that quay.io implements the same limitations. Closes-Bug: #2089140 Change-Id: If2aa7a58de35f14066d3e95058407af343b97f44 --- neutron_tempest_plugin/scenario/test_multiple_gws.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron_tempest_plugin/scenario/test_multiple_gws.py b/neutron_tempest_plugin/scenario/test_multiple_gws.py index 686457d4..0a540f6b 100644 --- a/neutron_tempest_plugin/scenario/test_multiple_gws.py +++ b/neutron_tempest_plugin/scenario/test_multiple_gws.py @@ -38,6 +38,7 @@ from tempest.lib import exceptions as lib_exc CONF = config.CONF LOG = log.getLogger(__name__) +FRR_BASE_IMAGE = 'quay.io/nf-core/ubuntu:22.04' class FRROCIImage(ctn_base.DockerImage): @@ -47,7 +48,7 @@ class FRROCIImage(ctn_base.DockerImage): baseimage: typing.Optional[str] = None, use_existing: bool = False, ): - super().__init__(baseimage=baseimage or 'ubuntu:22.04') + super().__init__(baseimage=baseimage or FRR_BASE_IMAGE) self.daemons = daemons self.tagname = 'frr-' + '-'.join(daemons) if use_existing and self.exist(self.tagname):