network.py code cleaning and minor optimizations
network.py code cleaning and minor optimizations

Change-Id: I9228c661df97552af3fbdbd6f58b2432ada7b6ef
Signed-off-by: Jonas Mårtensson <9c18489050b439bcd0a9df0d47735ceb99443dbb@ri.se>

Telecominfraproject/gnpy