Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion netsim/providers/clab.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def add_config_filemaps(node: Box, topology: Box) -> None:
# Adjust the configuration templates based on whether the skip_config is set
#
if skip_config:
add_config = { k:v for k,v in node[kw].items() if k not in skip_config }
add_config = { k:v for k,v in node[kw].items() if k.replace('@','.') not in skip_config }
else:
add_config = node[kw]

Expand Down
3 changes: 2 additions & 1 deletion tests/platform-integration/config/05-skip-config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
message: |
This topology tests the "skip_config" functionality for daemons and devices
configured with Bash scripts (future) and Ansible
configured with Bash scripts and Ansible

defaults.sources.extra: [ ../../integration/wait_times.yml ]

Expand All @@ -19,6 +19,7 @@ nodes:
eos_nd:
device: eos
bgp.as: 65003
netlab_config_mode:
Comment thread
ipspace marked this conversation as resolved.
skip_config: [ bgp.session ]
frr_f:
device: frr
Expand Down
Loading