more unittest work, first pass at subnet support, parse external interface from JSON graph into NetworkX graph