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?
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
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?