Skip to content

Conversation

@ashvindeodhar
Copy link
Member

@ashvindeodhar ashvindeodhar commented Oct 5, 2020

This change calls GetNCVersionStatus API for NMAgent to validate if the data path is set up. If the data path is set up, the NC version with CNS matches with the NC version programmed by NMAgent. A conservative approach is taken to check if the data path is set up i.e. only if GetNCVersionStatus successfully returns NC version mismatch, it is treated as error. All the other cases including error in calling this API are considered success.
This is multitenancy only change.

Reason for Change:

Issue Fixed:

Requirements:

Notes:

@codecov
Copy link

codecov bot commented Oct 5, 2020

Codecov Report

Merging #686 into master will increase coverage by 0.57%.
The diff coverage is 77.08%.

@@            Coverage Diff             @@
##           master     #686      +/-   ##
==========================================
+ Coverage   38.32%   38.89%   +0.57%     
==========================================
  Files          80       80              
  Lines       10585    10625      +40     
==========================================
+ Hits         4057     4133      +76     
+ Misses       6029     5992      -37     
- Partials      499      500       +1     

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@matmerr
Copy link
Member

matmerr commented Oct 6, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@matmerr
Copy link
Member

matmerr commented Oct 8, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@matmerr
Copy link
Member

matmerr commented Oct 8, 2020

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@matmerr
Copy link
Member

matmerr commented Oct 14, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ashvindeodhar ashvindeodhar requested a review from csfmomo October 16, 2020 22:09
@csfmomo
Copy link
Contributor

csfmomo commented Oct 17, 2020

TestGetNetworkContainerByOrchestratorContext and TestGetInterfaceForNetworkContainer unit test seems have a nil return for api_test, we could re-run those unit test locally to see whether its flaky.

@ashvindeodhar ashvindeodhar requested a review from csfmomo October 20, 2020 17:59
@ashvindeodhar ashvindeodhar merged commit 37c75f6 into Azure:master Nov 3, 2020
@ashvindeodhar ashvindeodhar deleted the fork-nma-program-status branch November 3, 2020 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants