ansible/test/integration
Chris Van Heuveln 7b44bc1ac9 nxos_static_route: reconcile_candidate fails to remove 'track' routes (#53806)
* * `reconcile_candidate()`
  * old code searched the ip route configs for a given prefix+nexthop and then tried to remove the route based on prefix+nexthop only; this would fail when a static route was configured with `track` values.
  * new code still looks for prefix+nexthop but uses the route config it finds on the device to remove it; e.g.
    * search for: `ip route 192.168.20.64/24 192.0.2.3`
    * find:       `ip route 192.168.20.64/24 192.0.2.3 track 1 10`
    * remove:  `no ip route 192.168.20.64/24 192.0.2.3 track 1 10`

* logic cleanups:
  * old code did a `show run` for every prefix. This can be a lot of data when there are large configs.
  * new code uses filters to only return the static route configs.
  * The filters now allow a common code path so no need for default vs vrf code paths

* `sanity` test: 100% Pass rate on N9K,N7K,N6K,N3K

- Bugfix Pull Request

`nxos_static_route`

* filter() does not return a list with python3

`filter()` was breaking pytest when it ran with python3, since it returns
an iterable instead of a list with python3.

Found that I didn't really need `filter()` anyway so just removed it

* restore var names /w/want/
2019-03-21 18:52:46 +05:30
..
host_vars
targets nxos_static_route: reconcile_candidate fails to remove 'track' routes (#53806) 2019-03-21 18:52:46 +05:30
cloud-config-aws.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-azure.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-cloudscale.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-cs.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-gcp.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-gitlab.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-hcloud.ini.template Add hcloud server module (#53062) 2019-03-05 07:30:24 +01:00
cloud-config-opennebula.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-openshift.kubeconfig.template
cloud-config-tower.ini.template Overhaul ansible-test cloud test plugins. (#53044) 2019-02-28 18:25:49 -08:00
cloud-config-vultr.ini.template
integration.cfg
integration_config.yml
inventory Overhaul ansible-test code coverage and injector. (#53510) 2019-03-13 07:14:12 -07:00
inventory.networking.template
inventory.remote.template
inventory.winrm.template
network-integration.cfg
target-prefixes.network
windows-integration.cfg