nfv/nfv/nfv-vim/nfv_vim/events
Al Bailey 7ca02243d1 Adding details to VIM API Conflict responses
When the VIM Stragegy API returns a 409 Conflict for a create,
it is much more useful to know details about the conflict.
ie:  what type of strategy already exists.

This fix required:
 - the strategy creation rpc message adds an error string
 - pecan.abort 'conflict' must include the error string
 - the nfv_client code must extract the error string
 - the strategy types must return knowledge of an existing
strategy type
 - the director class must include details of the existing
strategy type in its failure messages.

Test Plan:
  PASS: Create two patch strategies and view the error.
  PASS: Create two different strategies and view the error.
  PASS: View errors when creating multiple strategies
       from horizon.

Closes-Bug: #1989485
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ic79eab03b70b8bc7fbe2876f95eea3f2f34ab791
2022-09-14 00:21:46 +00:00
..
__init__.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_events_module.py Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
_vim_api_events.py Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
_vim_image_api_events.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
_vim_instance_api_events.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
_vim_network_api_events.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00
_vim_nfvi_events.py Implement kube_rootca_update orchestration 2021-08-19 08:38:18 -05:00
_vim_sw_update_api_events.py Adding details to VIM API Conflict responses 2022-09-14 00:21:46 +00:00
_vim_volume_api_events.py py3: nfv wrap dict.values() in list() 2021-07-26 13:13:05 -04:00