code: def getNetworkIDs(self):
          
  
          res = []
          i = 0
          while True:
              netid = self.getValue("net_interface.%d.connection" % i)
              if not netid:
                  return res
              res.append(netid)
              i += 1
docs: Return a list of network id of this system.