Change the default image in the NDR tests
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. This patch is also changing the default image used (Ubuntu 22.04) to Ubuntu 20.04 because the package "quagga-bgpd" is present only in the older version. NOTE: it will be needed to upgrade these tests in order to use a newer OS release; it will be probably needed to use FRR instead of Quagga. This patch has the same approach as [1] [1]https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/935743 Related-Bug: #2089140 Change-Id: I3b314fc818606d60e2acd00d0e8284f740a687e0
This commit is contained in:
parent
a0593c77f8
commit
20e6666c81
@ -40,6 +40,7 @@ CHECKTIME = 180
|
||||
CHECKTIME_INFO = 60
|
||||
CHECKTIME_INT = 1
|
||||
BRIDGE_TYPE = ctn_base.BRIDGE_TYPE_DOCKER
|
||||
BASE_NDR_IMAGE = 'quay.io/nf-core/ubuntu:20.04'
|
||||
|
||||
|
||||
def _setup_client_args(auth_provider):
|
||||
|
@ -84,7 +84,7 @@ class BgpSpeakerBasicTestJSONBase(base.BgpSpeakerScenarioTestJSONBase):
|
||||
router_id=cls.L_AS.router_id)
|
||||
cls.dr.set_addr_info(bridge='br-docker-basic', ipv4=cls.public_gw)
|
||||
# quagga container
|
||||
cls.dockerimg = ctn_base.DockerImage()
|
||||
cls.dockerimg = ctn_base.DockerImage(baseimage=base.BASE_NDR_IMAGE)
|
||||
cls.q_img = cls.dockerimg.create_quagga(check_exist=True)
|
||||
cls.images.append(cls.q_img)
|
||||
for i in range(cls.RAS_MAX):
|
||||
|
@ -91,7 +91,7 @@ class BgpSpeaker4byteASNTest(test_base.BgpSpeakerProtoTestBase):
|
||||
router_id=cls.L_AS.router_id)
|
||||
cls.dr.set_addr_info(bridge='br-docker-4byte-asn', ipv4=cls.public_gw)
|
||||
# quagga container
|
||||
cls.dockerimg = ctn_base.DockerImage()
|
||||
cls.dockerimg = ctn_base.DockerImage(baseimage=base.BASE_NDR_IMAGE)
|
||||
cls.q_img = cls.dockerimg.create_quagga(check_exist=True)
|
||||
cls.images.append(cls.q_img)
|
||||
for i in range(cls.RAS_MAX):
|
||||
|
@ -91,7 +91,7 @@ class BgpSpeakerIpv4Test(test_base.BgpSpeakerProtoTestBase):
|
||||
router_id=cls.L_AS.router_id)
|
||||
cls.dr.set_addr_info(bridge='br-docker-ipv4', ipv4=cls.public_gw)
|
||||
# quagga container
|
||||
cls.dockerimg = ctn_base.DockerImage()
|
||||
cls.dockerimg = ctn_base.DockerImage(baseimage=base.BASE_NDR_IMAGE)
|
||||
cls.q_img = cls.dockerimg.create_quagga(check_exist=True)
|
||||
cls.images.append(cls.q_img)
|
||||
for i in range(cls.RAS_MAX):
|
||||
|
@ -91,7 +91,7 @@ class BgpSpeakerIpv6Test(test_base.BgpSpeakerProtoTestBase):
|
||||
router_id=cls.L_AS.router_id)
|
||||
cls.dr.set_addr_info(bridge='br-docker-ipv6', ipv6=cls.public_gw)
|
||||
# quagga container
|
||||
cls.dockerimg = ctn_base.DockerImage()
|
||||
cls.dockerimg = ctn_base.DockerImage(baseimage=base.BASE_NDR_IMAGE)
|
||||
cls.q_img = cls.dockerimg.create_quagga(check_exist=True)
|
||||
cls.images.append(cls.q_img)
|
||||
for i in range(cls.RAS_MAX):
|
||||
|
Loading…
Reference in New Issue
Block a user