def METHOD_NAME(self):
    ipre = re.compile(r'^(\d+\.\d+\.\d+\.\d+)')
    def parse(key, value):
        for _, ip in json.loads(value).get('networks', {}).items():
            match = ipre.search(ip)
            if not match:
                continue
            self.ips.append(match.group(1))
    self.etcd.get_prefix(self.workload_status_prefix, parse)