nxos_vxlan_vtep: sanity.yaml test needs cast for httpapi tcam check (#53531)

This check was working for network_cli (returns value as int) but
failing for httpapi (returns value as str). Casting to int fixes the problem.
This commit is contained in:
Chris Van Heuveln 2019-03-12 09:49:27 -04:00 committed by Trishna Guha
parent c87efe1447
commit 15303b05ef

View file

@ -31,7 +31,7 @@
- block:
- set_fact: global_suppress_arp="true"
- set_fact: def_global_suppress_arp="false"
when: tcam_state.stdout[0] != 0
when: "tcam_state.stdout[0]|int > 0"
when: platform is search('N9K') and (major_version is version('9.2', 'ge'))