'Method adds network name to list of addresses.
This method is used only for resolving attributes.'

def _extend_addresses(self, container):

    nets = self.neutron().list_networks()['networks']
    id_name_mapping_on_network = {net['id']: net['name'] for net in nets}
    addresses = copy.deepcopy(container.addresses)
    for net_uuid in (container.addresses or {}):
        addr_list = addresses[net_uuid]
        net_name = id_name_mapping_on_network.get(net_uuid)
        if (not net_name):
            continue
        addresses.setdefault(net_name, [])
        addresses[net_name] += addr_list
    return addresses
