Skip to content

2.5.0/dov/msa-10280#204

Merged
n1654 merged 33 commits intomasterfrom
2.5.0/dov/MSA-10280
Aug 23, 2021
Merged

2.5.0/dov/msa-10280#204
n1654 merged 33 commits intomasterfrom
2.5.0/dov/MSA-10280

Conversation

@n1654
Copy link
Copy Markdown
Contributor

@n1654 n1654 commented Aug 19, 2021

prepared for PoC

r = nfviVim.nfvi_vim_delete(context["vim_id"])

ret = MSA_API.process_content('ENDED', f'{r}', context, True)
ret = MSA_API.process_content(f'{nfviVim.state}', f'{r}', context, True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be nfviVim.state instead of f'{nfviVim.state}'

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, thank you for spotting this


context["operation_state"] = r.json()['operationState']

ret = MSA_API.process_content('ENDED', f'{context["operation_state"]}', context, True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vnfLcmOpOccs.state instead of ENDED ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both works, but agree let's use vnfLcmOpOccs.state


context["operation_state"] = r.json()['operationState']

ret = MSA_API.process_content('ENDED', f'{context["operation_state"]}', context, True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vnfLcmOpOccs.state instead of ENDED ?

@n1654 n1654 merged commit 54eac17 into master Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants