Skip to content

Conversation

@csfmomo
Copy link
Contributor

@csfmomo csfmomo commented Jan 24, 2023

fix: repair the NC ID mismatch when get network container.

Reason for Change:
Fix the mismatch between NC version returned from nmagent and CNS state. Add unit test to gate it.

Issue Fixed:
CNS is onboard with nmagent nc version api 2. NC ID returned from nmagent doesn't include the Swift_ prefix but pure uuid. However, the NC ID in the request and cns state has the Swift_ prefix. This mismatch result in the nc version update failure.

Requirements:

Notes:

@csfmomo csfmomo requested a review from a team as a code owner January 24, 2023 01:52
@csfmomo csfmomo requested review from ashvindeodhar and thatmattlong and removed request for a team January 24, 2023 01:52
ashvindeodhar
ashvindeodhar previously approved these changes Jan 24, 2023
@csfmomo csfmomo enabled auto-merge (squash) January 24, 2023 23:48
@csfmomo csfmomo force-pushed the v2Fix branch 5 times, most recently from d63908a to 79313e8 Compare February 5, 2023 01:24
pjohnst5
pjohnst5 previously approved these changes Feb 6, 2023
pjohnst5
pjohnst5 previously approved these changes Feb 6, 2023
ashvindeodhar
ashvindeodhar previously approved these changes Feb 6, 2023
@csfmomo csfmomo merged commit da56b37 into master Feb 7, 2023
@csfmomo csfmomo deleted the v2Fix branch February 7, 2023 15:03
rjdenney pushed a commit that referenced this pull request Mar 13, 2023
* Fix nc id mismatch

* Fix the nc ID prefix issue
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.

4 participants