Implemented and tested ParseOpPort and ParseOpPortSpc.