Returns the port manager.

        :returns: Port manager

def port_manager(self):
        """
        Returns the port manager.

        :returns: Port manager
        """
        if self._port_manager is None:
            self._port_manager = PortManager.instance()
        return self._port_manager