-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
enhancementNew feature or requestNew feature or requestmajor featureFeatures requiring thorough changes, and multiple PRsFeatures requiring thorough changes, and multiple PRs
Description
Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
It'd be cool if DANM had the ability to place an interface within a VRF inside the pod network namespace - in other words, as per https://www.kernel.org/doc/Documentation/networking/vrf.txt, execute the equivalent of
ip link add dev ${vrf_name} type vrf table ${rt_tables}
ip link set dev ${interface_name} master ${vrf_name}
Idea would be to be able to declare a VRF name in the pod annotation, and let DANM create the VRF (for the first interface per VRF per pod), and then move the interface(s) into the VRF.
It seems that https://github.com/vishvananda/netlink supports the netlink calls to create VRFs (vishvananda/netlink#186) so this might be reasonably straightforward to implement?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestmajor featureFeatures requiring thorough changes, and multiple PRsFeatures requiring thorough changes, and multiple PRs