def _AllMACs(self):
    result = []
    for instance in self._ConfigData().instances.values():
      for nic in instance.nics:
        result.append(nic.mac)

    return result
Resolves a DataCollection to dict mapping.
dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter._AllMACs--crossover with--dataset/ETHPy150Open impactlab/eemeter/eemeter/meter/base.py/MeterBase._dict_from_data_collection