Reviewed: https://review.openstack.org/295276 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2b823de315aaca85bbafb020631f34b3fb233998 Submitter: Jenkins Branch: stable/mitaka
commit 2b823de315aaca85bbafb020631f34b3fb233998 Author: Adelina Tuvenie <email address hidden> Date: Wed Sep 23 17:59:11 2015 -0700
Ovs agent can't start on Windows because of validate_local_ip
Change I4b4527c28d0738890e33b343c9e17941e780bc24 introduced a validate_local_ip sanity check for the local_ip to see that it belongs to the host.
This method uses linux specific implementation that fails on windows.
This patch fixes this bug by adding a implementation for validate_local_ip that works on windows as well, using netifaces.
Change-Id: Ia8299512687d9d7135fe013fbb38f2b28d54125d Closes-Bug: #1497940 (cherry picked from commit 371e8aa0769086d069cc9005f1c454fb348afd46)
Reviewed: https:/ /review. openstack. org/295276 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2b823de315a aca85bbafb02063 1f34b3fb233998
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 2b823de315aaca8 5bbafb020631f34 b3fb233998
Author: Adelina Tuvenie <email address hidden>
Date: Wed Sep 23 17:59:11 2015 -0700
Ovs agent can't start on Windows because of validate_local_ip
Change I4b4527c28d0738 890e33b343c9e17 941e780bc24 introduced a local_ip sanity check for the local_ip to see that it
validate_
belongs to the host.
This method uses linux specific implementation that fails on windows.
This patch fixes this bug by adding a implementation for local_ip that works on windows as well, using netifaces.
validate_
Change-Id: Ia8299512687d9d 7135fe013fbb38f 2b28d54125d 069cc9005f1c454 fb348afd46)
Closes-Bug: #1497940
(cherry picked from commit 371e8aa0769086d