Fix get_free_namespace_port to actually avoid used ports
ss output is a string. It needs to be converted to int before a set
operation. The function seems to have been broken from the beginning
(commit e3fa0112).
Change-Id: I0d10360ae8807b3688d36912b42fa2a140c45e04
Closes-Bug: #1551288
(cherry picked from commit 9319b1a8366e00ec2ea9a763b5c3558649758f51)
Reviewed: https:/ /review. openstack. org/325767 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=adc7418c3eb 253ca4bb9731b97 ab69b4e14550ad
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit adc7418c3eb253c a4bb9731b97ab69 b4e14550ad
Author: IWAMOTO Toshihiro <email address hidden>
Date: Wed Jun 1 20:17:34 2016 +0900
Fix get_free_ namespace_ port to actually avoid used ports
ss output is a string. It needs to be converted to int before a set
operation. The function seems to have been broken from the beginning
(commit e3fa0112).
Change-Id: I0d10360ae8807b 3688d36912b42fa 2a140c45e04 c2ea9a763b5c355 8649758f51)
Closes-Bug: #1551288
(cherry picked from commit 9319b1a8366e00e