Fix entity in search devices based on iprange. references #2732
Add unit test for task / network inventory
Fix ip range in network inventory. references #2732