commit b6fd5b9613203819d24a452df982a76c5e7d1daf
Author: John Schwarz <email address hidden>
Date: Thu Aug 20 17:05:02 2015 +0300
Only validate local_ip if using tunneling
Change I4b4527c28d0738890e33b343c9e17941e780bc24 introduced a new
validation to make sure that local_ip holds a valid IP that is present
in one of the interfaces on the machine. However, this test is not
relevant if tunneling is not enabled, since the value is ignored anyway.
This patch changes validate_local_ip to not check local_ip in case
tunneling is not enabled (if no value was put in the 'tunnel_types'
option).
Reviewed: https:/ /review. openstack. org/215142 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b6fd5b96132 03819d24a452df9 82a76c5e7d1daf
Committed: https:/
Submitter: Jenkins
Branch: master
commit b6fd5b961320381 9d24a452df982a7 6c5e7d1daf
Author: John Schwarz <email address hidden>
Date: Thu Aug 20 17:05:02 2015 +0300
Only validate local_ip if using tunneling
Change I4b4527c28d0738 890e33b343c9e17 941e780bc24 introduced a new
validation to make sure that local_ip holds a valid IP that is present
in one of the interfaces on the machine. However, this test is not
relevant if tunneling is not enabled, since the value is ignored anyway.
This patch changes validate_local_ip to not check local_ip in case
tunneling is not enabled (if no value was put in the 'tunnel_types'
option).
Change-Id: I07119341076573 a4226b5ad998bdf f09c021ae30
Closes-Bug: #1487053
Related-Bug: #1408603