Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fetch primary mac for hns accelnet #2857

Merged
merged 16 commits into from
Jul 31, 2024
Merged

fetch primary mac for hns accelnet #2857

merged 16 commits into from
Jul 31, 2024

Conversation

kmurudi
Copy link
Contributor

@kmurudi kmurudi commented Jul 17, 2024

Reason for Change:
swiftv2 for windows requires to send HNS the primary mac address on the vm where accelerated networking is enabled. we have chosen to do this on the startup of cns service as it is a one-time operation before serving requests for pod/container creation.
This hns api will set VF (virtual functions) feature for all of the accelnet-nics on the VM (all except primary nic) & be a no-op on others if they are not accelnet-enabled nics.

Issue Fixed:

Requirements:

Notes:

cns/service/main.go Outdated Show resolved Hide resolved
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch from 89fbcf5 to eebf383 Compare July 17, 2024 22:09
cns/service/main.go Outdated Show resolved Hide resolved
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch 2 times, most recently from 0df01a9 to 3776003 Compare July 18, 2024 04:46
@kmurudi kmurudi marked this pull request as ready for review July 23, 2024 20:48
@kmurudi kmurudi requested review from a team as code owners July 23, 2024 20:48
@kmurudi kmurudi requested a review from paulyufan2 July 23, 2024 20:48
@paulyufan2 paulyufan2 requested a review from a team as a code owner July 25, 2024 02:59
@paulyufan2 paulyufan2 requested a review from huntergregory July 25, 2024 02:59
@paulyufan2 paulyufan2 force-pushed the Accelnet_HNS_Mac branch 3 times, most recently from 6e83fe8 to bfa090f Compare July 25, 2024 03:14
@paulyufan2 paulyufan2 requested review from a team as code owners July 25, 2024 03:14
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch from bfa090f to d2220e1 Compare July 25, 2024 04:29
azure-ipam/go.mod Outdated Show resolved Hide resolved
cns/middlewares/k8sSwiftV2.go Outdated Show resolved Hide resolved
cns/restserver/internalapi_windows.go Outdated Show resolved Hide resolved
cns/service/main.go Show resolved Hide resolved
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch 2 times, most recently from 4433dbf to 7d61a27 Compare July 25, 2024 18:53
@kmurudi
Copy link
Contributor Author

kmurudi commented Jul 25, 2024

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kmurudi kmurudi added cns Related to CNS. and removed do-not-merge labels Jul 26, 2024
cns/restserver/internalapi_windows.go Outdated Show resolved Hide resolved
cns/service/main.go Outdated Show resolved Hide resolved
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch from 3b6feb8 to 6595042 Compare July 29, 2024 22:09
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch 2 times, most recently from 71256d7 to 2ffda8b Compare July 29, 2024 22:37
@kmurudi kmurudi force-pushed the Accelnet_HNS_Mac branch from 2ffda8b to 6089e56 Compare July 29, 2024 23:00
@paulyufan2 paulyufan2 enabled auto-merge July 30, 2024 20:50
@paulyufan2
Copy link
Contributor

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@paulyufan2 paulyufan2 added this pull request to the merge queue Jul 30, 2024
@kmurudi kmurudi removed this pull request from the merge queue due to a manual request Jul 30, 2024
@kmurudi kmurudi added this pull request to the merge queue Jul 30, 2024
@paulyufan2 paulyufan2 removed this pull request from the merge queue due to a manual request Jul 31, 2024
@paulyufan2 paulyufan2 added this pull request to the merge queue Jul 31, 2024
Merged via the queue into master with commit 6e3d2ff Jul 31, 2024
11 checks passed
@paulyufan2 paulyufan2 deleted the Accelnet_HNS_Mac branch July 31, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cns Related to CNS. swift-v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants