def _get_ip_addresses_for_domain(self, domain):
        result = []

        if platform.system() != 'Linux':
            # Only Linux is supported atm
            return result

        mac_addresses = self._get_mac_addresses_for_domain(domain=domain)

        cmd = ['arp', '-an']
        child = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                                 stderr=subprocess.PIPE)
        stdout, _ = child.communicate()
        arp_table = self._parse_arp_table(arp_output=stdout)

        for mac_address in mac_addresses:
            if mac_address in arp_table:
                ip_addresses = arp_table[mac_address]
                result.extend(ip_addresses)

        return result
Returns the api version in the href.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/libvirt_driver.py/LibvirtNodeDriver._get_ip_addresses_for_domain--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/common.py/get_version_from_href