fix nxos_l2_interface tests for fretta (#37086)

pull/36467/merge
rahushen 6 years ago committed by Trishna Guha
parent 3fd5b0740e
commit b7bc61c7df

@ -27,6 +27,10 @@
state: absent
provider: "{{ connection }}"
- name: Sleep for 2 seconds on Fretta Platform
wait_for: timeout=2
when: platform is match("N9K-F")
- block:
- name: Configure interface for access_vlan aggregate
nxos_l2_interface: &conf_agg
@ -40,6 +44,10 @@
that:
- "result.changed == true"
- name: Sleep for 2 seconds on Fretta Platform
wait_for: timeout=2
when: platform is match("N9K-F")
- name: Configure interface for access_vlan aggregate(Idempotence)
nxos_l2_interface: *conf_agg
register: result
@ -61,6 +69,10 @@
that:
- "result.changed == true"
- name: Sleep for 2 seconds on Fretta Platform
wait_for: timeout=2
when: platform is match("N9K-F")
- name: Remove interface aggregate(Idempotence)
nxos_l2_interface: *rm_agg
register: result

@ -45,6 +45,10 @@
that:
- "result.changed == true"
- name: Sleep for 2 seconds on Fretta Platform
wait_for: timeout=2
when: platform is match("N9K-F")
- name: "access vlan Idempotence"
nxos_l2_interface: *acc_vl
register: result

Loading…
Cancel
Save