'Return running bandwidth counter for each interface on each
running VM.'

def get_all_bw_counters(self):

    counters = vm_utils.fetch_bandwidth(self._session)
    bw = {}
    for (vm_ref, vm_rec) in vm_utils.list_vms(self._session):
        vif_map = self._get_vif_device_map(vm_rec)
        name = vm_rec['name_label']
        if ('nova_uuid' not in vm_rec['other_config']):
            continue
        dom = vm_rec.get('domid')
        if ((dom is None) or (dom not in counters)):
            continue
        vifs_bw = bw.setdefault(name, {})
        for (vif_num, vif_data) in counters[dom].items():
            mac = vif_map[vif_num]
            vif_data['mac_address'] = mac
            vifs_bw[mac] = vif_data
    return bw
