Skip to content

Commit 7e2b0a7

Browse files
committed
fix ceos in j2
1 parent 6915110 commit 7e2b0a7

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

objects/bootstrap/05_platforms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
napalm_driver: eos
3838
netmiko_device_type: arista_eos
3939
ansible_network_os: eos
40-
containerlab_os: ceos
40+
containerlab_os: arista_ceos
4141

4242
- name: Sonic OS
4343
nornir_platform: sonic

templates/clab_topology.j2

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set default_images = {
2-
"ceos": "registry.opsmill.io/external/ceos-image:4.29.0.2F"
2+
"arista_ceos": "registry.opsmill.io/external/ceos-image:4.29.0.2F"
33
} %}
44
{% for topology in data.TopologyDeployment.edges %}
55
---
@@ -13,14 +13,12 @@ mgmt:
1313
{% if topology.node.devices.edges is defined %}
1414
topology:
1515
kinds:
16-
ceos:
17-
image: "{{ default_images.ceos }}"
16+
arista_ceos:
17+
image: "{{ default_images.arista_ceos }}"
1818
exec:
1919
- sleep 10
2020
- FastCli -p 15 -c 'security pki key generate rsa 4096 eAPI.key'
2121
- FastCli -p 15 -c 'security pki certificate generate self-signed eAPI.crt key eAPI.key generate rsa 4096 validity 30000 parameters common-name eAPI'
22-
linux:
23-
image: "{{ default_images.linux }}"
2422

2523
nodes:
2624
{% for device in topology.node.devices.edges %}
@@ -35,7 +33,7 @@ topology:
3533
mgmt-ipv4: {{ mgmt_ip[0] }}
3634
{% endif %}
3735
{% endfor %}
38-
{% if networkos == "ceos" %}
36+
{% if networkos == "arista_ceos" %}
3937
startup-config: generated-configs/devices/{{ device.node.name.value }}.cfg
4038
{% endif %}
4139

tests/integration/data/bootstrap/05_platforms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
napalm_driver: eos
3838
netmiko_device_type: arista_eos
3939
ansible_network_os: eos
40-
containerlab_os: ceos
40+
containerlab_os: arista_ceos
4141

4242
- name: Sonic OS
4343
nornir_platform: sonic

tests/unit/simulators/output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mgmt:
88

99
topology:
1010
kinds:
11-
ceos:
11+
arista_ceos:
1212
image: "registry.opsmill.io/external/ceos-image:4.29.0.2F"
1313
exec:
1414
- sleep 10

0 commit comments

Comments
 (0)