(actions port-connection-action)#

(port-connection-action-perform-connect src_port_id dest_port_id)

Connects 2 ports as an undoable action.