port-controller template