You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to have lab topologies that are fully self-contained in a single YAML file. Instead of forking off to a template with a couple of lines of config script, these snippets could be embedded within the single lab file
The above could become:
validate:
r2_eth1_down:
description: Remove R2 from the VRRP LAN
nodes: [ r2 ]
config:
template:
variable.ifstate: 'down'
eos: |
interface {{ interfaces[0].ifname }}
{{ 'no ' if ifstate|default('down') == 'up' else '' }}shutdown
frr: |
#!/bin/bash
ip link set {{ interfaces[0].ifname }} {{ ifstate|default('down') }}
pass: R2 has been disconnected from the VRRP LAN
stop_on_error: True
The text was updated successfully, but these errors were encountered:
netlab/tests/integration/gateway/02-vrrp.yml
Line 46 in 2c10748
It would be useful to have lab topologies that are fully self-contained in a single YAML file. Instead of forking off to a template with a couple of lines of config script, these snippets could be embedded within the single lab file
The above could become:
The text was updated successfully, but these errors were encountered: