Update network.py

Added ipranges to the network api call