ip_lib: ignore gre and lo devices in get_devices by default
This is the most common use pattern for the method, so it makes sense to
make it default.
(Actually, it may be that there are no usage for the arguments
whatsoever, but better safe than sorry.)
NeutronLibImpact this change potentially breaks callers of get_devices
that may want to get the automatic devices by default. Those imaginary
callers may need to set exclude_gre_devices and/or exclude_loopback to
True from now on.
Reviewed: https:/ /review. openstack. org/455431 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1ae91ce9be5 6fd6952d53ce3f8 b094a6958b2709
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1ae91ce9be56fd6 952d53ce3f8b094 a6958b2709
Author: Ihar Hrachyshka <email address hidden>
Date: Mon Apr 10 12:21:41 2017 -0700
ip_lib: ignore gre and lo devices in get_devices by default
This is the most common use pattern for the method, so it makes sense to
make it default.
(Actually, it may be that there are no usage for the arguments
whatsoever, but better safe than sorry.)
NeutronLibI mpact this change potentially breaks callers of get_devices
that may want to get the automatic devices by default. Those imaginary
callers may need to set exclude_gre_devices and/or exclude_loopback to
True from now on.
Change-Id: Ic32b8abc7f8502 b8907ae21c996e1 3cb8fd5401d
Related-Bug: #1604115