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