nxos_l2_interfaces: fix for integration tests failing to setup layer2 (#61887)

pull/62221/head
Chris Van Heuveln 5 years ago committed by Trishna Guha
parent c4894b512d
commit c0f3777fe2

@ -17,8 +17,10 @@
cli_config:
config: |
interface {{ test_int1 }}
switchport
switchport trunk native vlan 10
interface {{ test_int2 }}
switchport
switchport trunk allowed vlan 20
- name: Gather l2_interfaces facts

@ -11,6 +11,12 @@
ignore_errors: yes
- block:
- name: setup2
cli_config:
config: |
interface {{ test_int1 }}
switchport
- name: Merged
nxos_l2_interfaces: &merged
config:

@ -17,7 +17,10 @@
cli_config:
config: |
interface {{ test_int1 }}
switchport
switchport trunk allowed vlan 11
interface {{ test_int2 }}
switchport
- name: Gather l2_interfaces facts
nxos_facts: &facts

@ -17,8 +17,10 @@
cli_config:
config: |
interface {{ test_int1 }}
switchport
switchport access vlan 5
interface {{ test_int2 }}
switchport
switchport trunk native vlan 15
- name: Gather l2_interfaces facts

Loading…
Cancel
Save