Skip to content

Conversation

@ashvindeodhar
Copy link
Member

Expose 2 APIs to publish and unpublish network containers from CNS.
a. PublishNetworkContainer
b. UnpublishNetworkContainer

DNC calls CNS to publish and unpublish the network containers.

What this PR does / why we need it:

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #

Special notes for your reviewer:

Release note:

@codecov
Copy link

codecov bot commented Oct 31, 2019

Codecov Report

Merging #430 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #430   +/-   ##
=======================================
  Coverage   52.66%   52.66%           
=======================================
  Files          28       28           
  Lines        4022     4022           
=======================================
  Hits         2118     2118           
  Misses       1631     1631           
  Partials      273      273

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19720a1...b151dd2. Read the comment docs.

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@ninzavivek ninzavivek left a comment

Choose a reason for hiding this comment

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

Please close on whether it is ok to use nm agent url here or not?

@ninzavivek
Copy link
Contributor

Please close on whether it is ok to use nm agent url here or not?

@ninzavivek ninzavivek closed this Nov 12, 2019
@ninzavivek
Copy link
Contributor

it looks like you are anyway handling it.

@ashvindeodhar
Copy link
Member Author

Reopening the PR which looks like was closed accidentally

@ashvindeodhar ashvindeodhar reopened this Nov 12, 2019
@ashvindeodhar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matmerr
Copy link
Member

matmerr commented Nov 12, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matmerr
Copy link
Member

matmerr commented Nov 12, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@matmerr
Copy link
Member

matmerr commented Nov 13, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ashvindeodhar ashvindeodhar merged commit cd236e1 into Azure:master Nov 14, 2019
tamilmani1989 pushed a commit to tamilmani1989/azure-container-networking that referenced this pull request Jun 20, 2021
This change supports publishing/unpublishing NC via CNS. If the DNC config exposes the CNS connection URLs for publish and unpublish, DNC will make CNS call and have CNS publish and unpublish the NC. Failure to establish HTTP connection means the worker node may be deallocated. In such
case DNC will publish/unpublish the NC from the node where DNC is running.
Here is the CNS change in Azure Container Networking github repo:
Azure#430
Before publishing / unpublishing the NC, CNS needs to make sure it joins the vnet to which the NC belongs to.

PR URL: https://msazure.visualstudio.com/DefaultCollection/One/_git/Networking-Aquarius/pullrequest/2221382

Related work items: #5682508
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.

3 participants