Skip to content

[FEATURE] - Add support to discover and download cEOS images from Containerlab topology #153

@titom73

Description

@titom73

Feature Description

Add support to download cEOS images from a containerlab topology file

Problem or Use Case

cEOS images are not available via a docker pull command. Being able to download images from the topology might be helpful

Proposed Solution

Considering a topology like this:

topology:
  kinds:
    ceos:
      image: arista/ceos:4.33.1F
  nodes:
  # -------------------------------- #
  # Core P routers
    s1-p01:
      kind: ceos
      mgmt-ipv4: 192.168.2.111
      startup-config: config-builder/intended/configs/s1-p01.cfg
      image: arista/ceos:4.34.1F
      env:
        TMODE: lacp

the following command should be able to download the 2 images defined here:

ardl get eos --containerlab-topology my-topology-file.clab.yaml --format cEOSarm

And images would be installed locally in docker:

docker pull

docker images
REPOSITORY                              TAG         IMAGE ID       CREATED       SIZE
arista/ceos                             4.34.1F     7af5c1d364e6   4 days ago    2.84GB
arista/ceos                             4.33.1F     7af5c1d364e5   4 days ago    2.84GB

Alternative Solutions

Can be done manually when provisioning the topology.

Additional Context

  • Would this be a breaking change? No
  • Are you willing to contribute to the implementation? Yes

Implementation Ideas

N/A

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions