On 6/29/2018 11:32 AM, Justin Pettit wrote:
On Jun 29, 2018, at 11:18 AM, Greg Rose <[email protected]> wrote:
You don't need to respin it, but do you mind if I add the following text to the
actions? Or do you have better suggestions?
Your suggestions below are fine.
Thanks!
- Greg
+ # Older releases may be using the rtnetlink interface while a
+ # newer release will want to use the internal compat interface
+ # for geneve and vxlan.
+ if test -e /sys/class/net/genev_sys_6081; then
+ action "ip link del link genev_sys_6081 dev genev_sys_6081" \
+ ip link del link genev_sys_6081 dev genev_sys_6081
"Removing geneve device"
+ fi
+ if test -e /sys/class/net/vxlan_sys_4789; then
+ action "ip link del link vxlan_sys_4789 dev vxlan_sys_4789" \
+ ip link del link vxlan_sys_4789 dev vxlan_sys_4789
"Removing vxlan device"
+ fi
+
+ if test -e /sys/module/geneve; then
+ action "rmmod geneve" rmmod geneve
"Removing geneve kernel module"
+ fi
+ if test -e /sys/module/vxlan; then
+ action "rmmod vxlan" rmmod vxlan
"Removing geneve kernel module"
I'll wait for Aaron's feedback before committing it.
--Justin
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev