We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c366bd2 commit 7f46098Copy full SHA for 7f46098
templates/clab_topology.j2
@@ -22,6 +22,7 @@ topology:
22
23
nodes:
24
{% for device in topology.node.devices.edges %}
25
+ {% if device.node.platform.node.containerlab_os.value == "arista_ceos" %}
26
{{ device.node.name.value }}:
27
kind: {{ device.node.platform.node.containerlab_os.value }}
28
type: {{ device.node.device_type.node.name.value }}
@@ -32,10 +33,9 @@ topology:
32
33
{% set mgmt_ip = device.node.primary_address.node.address.value.split('/') %}
34
mgmt-ipv4: {{ mgmt_ip[0] }}
35
{% endif %}
- {% endfor %}
36
- {% if networkos == "arista_ceos" %}
37
startup-config: generated-configs/devices/{{ device.node.name.value }}.cfg
38
+ {% endfor %}
39
40
links:
41
{% set processed_endpoints = [] %}
0 commit comments