Use pyroute2 to tweak vf in sriov

Registered by Alexey Perevalov

Current sriov binding driver is calling ip program, it creates separate process.
This approach has a drawbacks such as:
time to launch spawned process,
permission of launching,
error handling of this process

Since https://github.com/svinota/pyroute2/issues/356 was fixed, now it's possible to set all needed attributes of VF
by pyroute2 v0.5.4, so it could be done in cni daemon w/o forking new process, just by netlink.

Blueprint information

Status:
Complete
Approver:
Michal Dulko
Priority:
Medium
Drafter:
Alexey Perevalov
Direction:
Approved
Assignee:
Danil Golov
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Michal Dulko
Completed by
Michal Dulko

Related branches

Sprints

Whiteboard

Addressed by: https://review.opendev.org/689125
    Use pyroute2 to tweak vf in sriov

Gerrit topic: https://review.opendev.org/#/q/topic:bp/use-pyroute2-to-tweak-vf-in-sriov

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.