code: func (n *Networking) Teardown(flavor string, debug bool) {
  
  	stderr = log.New(os.Stderr, "networking", debug)
  	debuglog = debug
  
  	// Teardown everything in reverse order of setup.
  	// This should be idempotent -- be tolerant of missing stuff
  
  	if flavor == "kvm" {
  		n.kvmTeardown()
  		return
  	}
  
  	if err := n.teardownForwarding(); err != nil {
  		stderr.PrintE("error removing forwarded ports", err)
  	}
  
  	err := n.podNSLoad()
  	if err != nil {
  		stderr.PrintE("error loading podNS", err)
  	}
  
  	n.teardownNets(n.nets)
  	n.podNSDestroy()
  }
docs: // Teardown cleans up a produced Networking object.