summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml
diff options
context:
space:
mode:
authorGomathiselviS <gomathiselvi@gmail.com>2020-02-04 15:14:04 -0500
committerGitHub <noreply@github.com>2020-02-04 15:14:04 -0500
commit4ac89b8ac7120f553c78eafb294c045f3baa8792 (patch)
tree477bbb5e8c6ae6d18a6b86206c023699804169dd /test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml
parentfd954a9c5c05c7149eb23271529ff070f2b1f9dc (diff)
downloadansible-4ac89b8ac7120f553c78eafb294c045f3baa8792.tar.gz
Added Fix - Allow nxos_l2_interfaces to append the allowed vlans list (#66517)
* Added Integration tests * Corrected lint errors * Added fix for bug # 54400 * Revert "Added fix for bug # 54400" This reverts commit bf42db42697d64abbfea4e546f890637d4a5175b. * Revert "Adding files for RM static_routes" This reverts commit dafdd92d4327cfc6dfcebb1e977454b2f77a1daa. * Revert "Added Integration tests" This reverts commit 129dc87682bba9292105fc3b642fdf3930ce79fd. * Bug Fix 65332 * Added testcase for #66517 * Removed unnecessary commit * fixing conflicts * fixing conflicts * addressed mikeweibe's comments * Corrected lint errors * Added idempotent tc for add vlans * Added replaced and overridded tcs for trunk vlan add
Diffstat (limited to 'test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml')
-rw-r--r--test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml b/test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml
index 63f0d327e7..af8a18ec45 100644
--- a/test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml
+++ b/test/integration/targets/nxos_l2_interfaces/tests/cli/overridden.yaml
@@ -35,6 +35,8 @@
- name: "{{ test_int2 }}"
access:
vlan: 6
+ trunk:
+ allowed_vlans: "10-12"
state: overridden
register: result
@@ -46,6 +48,7 @@
- "'no switchport trunk allowed vlan' in result.commands"
- "'interface {{ test_int2 }}' in result.commands"
- "'switchport access vlan 6' in result.commands"
+ - "'switchport trunk allowed vlan 10,11,12' in result.commands"
- name: Gather l2_interfaces post facts
nxos_facts: *facts