Comment 1 for bug 1952897

Revision history for this message
Lajos Katona (lajos-katona) wrote :

Hi, thanks for the bug report.
After some digging I found where pyroute2 ip.link for VXLAN have all possible params:
https://github.com/svinota/pyroute2/blob/master/pyroute2.core/pr2modules/netlink/rtnl/ifinfmsg/plugins/vxlan.py

I am not sure which pyroute2 is installed for your xena env.

Perhaps the simplest way is similar to your suggestion, but check ip family from local, and call privsep.create_interface with the correct (ipv4 or ipv6) kwargs.

If you would like to and have time please propose the patch (to master, we can backport from master only) or I can propose as well.