@ -103,8 +103,6 @@
ios_interface:
ios_interface:
name : "{{ test_interface }}"
name : "{{ test_interface }}"
state : up
state : up
tx_rate : ge(0)
rx_rate : ge(0)
provider : "{{ cli }}"
provider : "{{ cli }}"
register : result
register : result
@ -116,8 +114,6 @@
ios_interface:
ios_interface:
name : "{{ test_interface }}"
name : "{{ test_interface }}"
state : down
state : down
tx_rate : gt(0)
rx_rate : lt(0)
provider : "{{ cli }}"
provider : "{{ cli }}"
ignore_errors : yes
ignore_errors : yes
register : result
register : result
@ -126,8 +122,6 @@
that:
that:
- "result.failed == true"
- "result.failed == true"
- "'state eq(down)' in result.failed_conditions"
- "'state eq(down)' in result.failed_conditions"
- "'tx_rate gt(0)' in result.failed_conditions"
- "'rx_rate lt(0)' in result.failed_conditions"
- name : Config + intent
- name : Config + intent
ios_interface:
ios_interface:
@ -155,6 +149,4 @@
- "result.failed == true"
- "result.failed == true"
- "'state eq(up)' in result.failed_conditions"
- "'state eq(up)' in result.failed_conditions"
- debug : msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}"
- debug : msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}"