Server external event notify response expection
1. What is the problem? when create vm, neutron notify to nova about network-vif-unplugged event. trio2o response list to neutron rather than dict. 2. What is the solution to the problem? The response data is returned in server external event post processing using {' events' : event_list} Change-Id: Id6b4c5447cd1408c6f8e9d2fffbedd8c8a584d5d Signed-off-by: zhang xiaohan <zhangxiaohan@szzt.com.cn> Co-Authored-By: tangzhuo <ztang@hnu.edu.cn>
This commit is contained in:
parent
fdc50d86d9
commit
87993cd26a
@ -49,4 +49,5 @@ class ServerExternalEventController(rest.RestController):
|
||||
|
||||
pod = mappings[0][0]
|
||||
client = self._get_client(pod['pod_name'])
|
||||
return client.create_server_external_events(context, events)
|
||||
return {'events': client.create_server_external_events(
|
||||
context, events)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user