MCPcopy Index your code
hub / github.com/Azure/azure-container-networking

github.com/Azure/azure-container-networking @v1.16.17

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.16.17 ↗ · + Follow
6,568 symbols 28,114 edges 733 files 2,438 documented · 37% 1 cross-repo links updated 1d agov1.6.45 · 2026-06-01★ 42722 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Microsoft Azure Container Networking

Build Status Go Report Card GitHub release

Azure Network Policy Manager Conformance
Cyclonus Network Policy Suite Cyclonus Network Policy Test
Kubernetes Network Policy E2E Build Status

Overview

This repository contains container networking services and plugins for Linux and Windows containers running on Azure:

The azure-vnet network plugins connect containers to your Azure VNET, to take advantage of Azure SDN capabilities. The azure-vnet-ipam IPAM plugins provide address management functionality for container IP addresses allocated from Azure VNET address space.

The following environments are supported: * Microsoft Azure: Available in all Azure regions.

Plugins are offered as part of Azure Kubernetes Service (AKS), as well as for individual Azure IaaS VMs. For Kubernetes clusters created by aks-engine, the deployment and configuration of both plugins on both Linux and Windows nodes is automatic and default.

The next generation of Azure CNI Plugin is powered by Cilium. Learn more at Azure CNI Powered By Cilium

Documentation

See Documentation for more information and examples.

Build

This repository builds on Windows and Linux. Build plugins directly from the source code for the latest version.

$ git clone https://github.com/Azure/azure-container-networking
$ cd azure-container-networking
$ make all-binaries

Then follow the instructions for the plugin in Documentation.

Contributions

Contributions in the form of bug reports, feature requests and PRs are always welcome.

Please follow these steps before submitting a PR: * Create an issue describing the bug or feature request. * Clone the repository and create a topic branch. * Make changes, adding new tests for new functionality. * Submit a PR.

License

See LICENSE.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Extension points exported contracts — how you extend this code

IPAMInvoker (Interface)
IPAMInvoker is used by the azure-vnet CNI plugin to call different sources for IPAM. This interface can be used to call [6 …
cni/network/invoker.go
Interface (Interface)
nolint:revive // this naming makes sense [6 implementers]
processlock/processlock.go
Request (Interface)
Request represents an abstracted HTTP request, capable of validating itself, producing a valid Path, Body, and its Metho [10 …
nmagent/requests.go
HNSAction (Interface)
(no doc) [18 implementers]
npm/pkg/dataplane/types_windows_test.go
InterfaceRetriever (Interface)
InterfaceRetriever is an interface is implemented by the NMAgent Client, and also a mock client for testing. [4 implementers]
cns/nodesubnet/ip_fetcher.go
CNIConflistGenerator (Interface)
(no doc) [8 implementers]
cns/restserver/restserver.go
EndpointClient (Interface)
(no doc) [6 implementers]
network/manager.go
Step (Interface)
(no doc) [22 implementers]
test/e2e/framework/types/step.go

Core symbols most depended-on inside this repo

Errorf
called by 1345
refresh/logger.go
String
called by 969
cns/NetworkContainerContract.go
Equal
called by 592
refresh/equaler.go
Info
called by 541
netlink/netlink_windows.go
Error
called by 439
network/api.go
GetHashedName
called by 435
npm/util/util.go
New
called by 398
test/e2e/framework/types/jobvalues.go
Printf
called by 330
cns/logger/log.go

Shape

Method 2,892
Function 2,626
Struct 833
Interface 108
TypeAlias 81
FuncType 19
Class 9

Languages

Go100%
C1%
C++1%

Modules by API surface

cns/multitenantcontroller/mockclients/kubeclient_generated.go138 symbols
proto/nodenetworkservice/3.302.0.744/NodeNetworkService.pb.go96 symbols
cns/NetworkContainerContract.go85 symbols
network/manager.go72 symbols
cns/restserver/ipam_test.go69 symbols
cns/api.go62 symbols
nmagent/requests.go61 symbols
npm/pkg/dataplane/types_windows_test.go51 symbols
cns/restserver/api_test.go50 symbols
crd/multitenancy/api/v1alpha1/zz_generated.deepcopy.go46 symbols
npm/pkg/dataplane/pb/rule.pb.go44 symbols
npm/pkg/protos/transport.pb.go42 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Datastores touched

dbDatabase · 1 repos

For agents

$ claude mcp add azure-container-networking \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page