Cristian Mondo cac1971229 Add default value to snapshot parameter in VIM sw create strategy API
Currently the VIM API does not have a default value for the snapshot
parameter in the sw update strategy create operation, causing that if
the VIM client does not provide it, the VIM API raises an error.
That is a side-effect produced by a previously merged commit, which was
created to support the sw strategy for N-1 use cases.

https://review.opendev.org/c/starlingx/nfv/+/962203

This commit add the default value None to the snapshot parameter
in the VIM API, covering the case when the client does not provide
it and allowing the VIM to create the strategy.

Test Plan:
PASS: - Run VIM sw create strategy without snapshot parameter
PASS: - Run VIM sw create strategy with snapshot parameter

Closes-bug: 2125230

Change-Id: I9b91f3f65089b118223cf864709d313ec9f6e369
Signed-off-by: Cristian Mondo <cristian.mondo@windriver.com>
2025-10-03 17:28:54 -03:00
2022-06-03 15:20:56 -03:00
2018-09-25 14:01:33 -07:00
2019-04-19 19:52:26 +00:00
2018-05-31 07:36:51 -07:00
2018-07-10 10:18:28 -05:00
2023-01-19 19:57:23 +00:00

nfv

StarlingX NFVI Orchestration

Description
StarlingX NFVI Orchestration
Readme 41 MiB
Languages
Python 83.4%
JavaScript 7%
C++ 6.5%
Shell 1.5%
Handlebars 0.9%
Other 0.7%