• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

noironetworks / aci-containers / 5376
57%
master: 63%

Build:
Build:
LAST BUILD BRANCH: named-port-hpp
DEFAULT BRANCH: master
Ran 10 Aug 2021 06:58PM UTC
Jobs 1
Files 72
Run time 12s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Aug 2021 06:49PM UTC coverage: 57.099% (-0.09%) from 57.187%
5376

push

travis-ci-com

bashokba
Enable smart nic ovs harward offloading:
Overview:
OVS based software solution is CPU intensive and results in low bandwidth utilization.
Mellanox Accelerated Switching And Packet Processing (ASAP2) technology allows to offload ovs-dataplane to Mellanox ConnectX-4, Mellanox ConnectX-6, Mellanox ConnectX-6 dpu NIC hardware
and keeping ovs-control plain unmodified. In this model, VF representator is attached to ovs bridge and Vfs are moved to pod's namespace

Using network-attachment-definition-client as third party resource which is maintain by k8snetworkplumbingwg
and their clientset and types.go are imported as a module
To obtain allocated resource information for a pod, kubelet client queries podresource service API and retrieve the pci address assigned to the pod

ACI CNI Host Agent code changes
1.Network attachment definition Informers and event handlers in Host-agent env.go
2.Network attachment definitio event-handler would consist of func add, update and delete method
3.Add method will retrieve the information from the Network attachment definition CR and store the data to a map
4.Update method will retrieve the information from the CR and store the data to a map
5.Delete method will delete the CR from the map
6.defaultAnnot = "v1.multus-cni.io/default-network"
7.resourceNameAnnot = "k8s.v1.cni.cncf.io/resourceName"
8.Network attachment definition annotation for pod if acicni used as secondary network = "k8s.v1.cni.cncf.io/networks"
9.Network attachment definition annotation for pod if acicni used as default network = "v1.multus-cni.io/default-network"
10.Pod's annotation (k8s.v1.cni.cncf.io/networks or v1.multus-cni.io/default-network ) stored in a map to check if network attachment definition exists
11.Implementation of Pod resource API call to retrieve the pci address allocated to the pod in netattachdef.go
12.Moving VF to pod's namespace, assigning VF representative to ovs bridge, moving VF back to host namespace in setup.go

For more inform... (continued)

315 of 315 new or added lines in 6 files covered. (100.0%)

11361 of 19897 relevant lines covered (57.1%)

0.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5376.1 10 Aug 2021 06:58PM UTC 0
57.1
Travis Job 5376.1
Source Files on build 5376
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #5376
  • c5a29434 on github
  • Prev Build on newnetattach (#5279)
  • Next Build on newnetattach (#5417)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc