ansible/test
Chris Van Heuveln a85461e569 nxos_acl: some platforms/versions raise when no ACLs are present (#55609)
* `nxos_acl` may fail with `IndexError: list index out of range` while attempting to delete a non-existent ACL.

The failure occurs when the `acl` var is an empty list.

* nxos_acl: catch 501 'Structured output unsupported' when no ACLs present

With some older image versions, `show ip access-list | json` will raise a 501 error indicating `'Structured output unsupported'` when there are no access-lists configured. This change turns off the `check_rc` and then looks for the failure condition.

* Fix kwarg

* Fix lint issues

(cherry picked from commit 869fdcd7d4)
2019-05-21 07:56:55 -07:00
..
cache
env
integration nxos_acl: some platforms/versions raise when no ACLs are present (#55609) 2019-05-21 07:56:55 -07:00
legacy Migrate Scaleway tests to integration tests 2019-04-09 15:41:30 -07:00
results
runner Add missing selectors2 requirement for network-integration tests 2019-05-09 12:40:30 -07:00
sanity [stable-2.8] Use LooseVersion instead of StrictVersion as StrictVersion doesn't understand "rc1" 2019-04-25 10:57:58 -06:00
units [stable-2.8] Changing the license to Apache 2 2019-05-20 12:21:28 -07:00
utils Add Hetzner Cloud to CI integration tests. 2019-04-09 15:41:50 -07:00