'Send an event when volume is attached to host.'

@proxy._trace_time
def _event_volume_attached(self):

    LOG.debug('send    event    VOLUME_ATTACHED')
    compute_host_name = socket.getfqdn()
    vol_attach_evnt_prop = {'openstack_version': self.meta['openstack_version'], 'pool_name': self.storage_info[storage.FLAG_KEYS['storage_pool']], 'compute_hostname': compute_host_name}
    ev_mgr = events.EventsManager(self.ibm_storage_cli, OPENSTACK_PRODUCT_NAME, self.full_version)
    ev_mgr.send_event('VOLUME_ATTACHED', vol_attach_evnt_prop)
