vxlan:refactor add del command function