Exemple #1
0
 def instance_deleted(self, context, **kwargs):
     LOG.info(_('Instance Deleted Message received\n'))
     LOG.info(_('msg received is %s\n'), str(kwargs))
     LOG.info(_('context token id= %s\n'), str(context.to_dict()))
     self.com.delete_vm(kwargs.get('instance_id'))
Exemple #2
0
 def config_update(self, context, **kwargs):
     LOG.info(_('Config Update Message received\n'))
     LOG.info(_('msg received is %s\n'), str(kwargs))
     LOG.info(_('context token id= %s\n'), str(context.to_dict()))
     self.com.send_data_to_vm(kwargs.get('instance_id'),
                              str(kwargs.get('config_request')))