fix nxos_l2_interface tests for fretta (#37086) (#37101)

(cherry picked from commit b7bc61c7df)
pull/37119/head
Trishna Guha 7 years ago committed by GitHub
parent 4bb5f40e99
commit ee67c6c1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -45,6 +45,10 @@
that: that:
- "result.changed == true" - "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" - name: "access vlan Idempotence"
nxos_l2_interface: *acc_vl nxos_l2_interface: *acc_vl
register: result register: result

Loading…
Cancel
Save