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

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

Build:
Build:
LAST BUILD BRANCH: ha-ut-fix
DEFAULT BRANCH: master
Ran 13 Aug 2021 01:12AM UTC
Jobs 1
Files 72
Run time 8s
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

13 Aug 2021 12:57AM UTC coverage: 56.993% (-0.02%) from 57.008%
5420

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)

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

11467 of 20120 relevant lines covered (56.99%)

0.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5420.1 13 Aug 2021 01:12AM UTC 0
56.99
Travis Job 5420.1
Source Files on build 5420
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #5420
  • 17ee4be0 on github
  • Prev 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