fix minor bugs related with dhcp 74/1874/2
authormirabal <leonardo.mirabal@altran.com>
Thu, 25 May 2017 12:51:15 +0000 (14:51 +0200)
committermirabal <leonardo.mirabal@altran.com>
Thu, 25 May 2017 13:58:06 +0000 (15:58 +0200)
commite3cf1f716be59fe0f3271a44589c1f31b10567ec
tree77189debbfe9ba837cd6f941088d39dd36aa842c
parent47fa483a5a13bbfaf1dd5461b08a4402c4d3df03
fix minor bugs related with  dhcp

- get_free_ip_from_range() was calculating wrong the free ip for if first and last ip is given and the range is lower than the CIDR
- Namespace loopback up must be forced.
- is_dhcp_port_free() mysql query fix

Change-Id: I1bbf9ed2c23945accc16c75d4e75da4b62ce745c
Signed-off-by: mirabal <leonardo.mirabal@altran.com>
osm_openvim/host_thread.py
osm_openvim/vim_db.py