pipeline: add port in action APIs