Skip to content

Commit

Permalink
fixed failing integration test (#965)
Browse files Browse the repository at this point in the history
* fixed failing integration test

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update _remove_config.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
PadminiSivaraj and pre-commit-ci[bot] authored Nov 16, 2023
1 parent 7ec3d7d commit 79a733d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/fix_ios_evpn_evi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- Fixed ios_evpn_evi resource module integration test failure - code to remove VLAN config.
1 change: 0 additions & 1 deletion plugins/modules/ios_evpn_evi.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@
# - evi: 102
# encapsulation: vxlan
# replication_type: ingress
"""

RETURN = """
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
---
- name: Remove VLAN config
ansible.netcommon.cli_config:
config: |
no vlan configuration 101
no vlan configuration 102
no vlan configuration 201
no vlan configuration 202
no vlan configuration 901
no vlan configuration 902
- name: Remove all configuration evpn_evi
cisco.ios.ios_evpn_evi:
config:
Expand Down

0 comments on commit 79a733d

Please sign in to comment.