Creates a new Virtual Channel connection (unidirectional).

        :param port1: input port
        :param vpi1: input vpi
        :param vci1: input vci
        :param port2: output port
        :param vpi2: output vpi
        :param vci2: output vci

def map_pvc(self, port1, vpi1, vci1, port2, vpi2, vci2):
        """
        Creates a new Virtual Channel connection (unidirectional).

        :param port1: input port
        :param vpi1: input vpi
        :param vci1: input vci
        :param port2: output port
        :param vpi2: output vpi
        :param vci2: output vci
        """

        if port1 not in self._nios:
            return

        if port2 not in self._nios:
            return

        nio1 = self._nios[port1]
        nio2 = self._nios[port2]

        yield from self._hypervisor.send('atmsw create_vcc "{name}" {input_nio} {input_vpi} {input_vci} {output_nio} {output_vpi} {output_vci}'.format(name=self._name,
                                                                                                                                                       input_nio=nio1,
                                                                                                                                                       input_vpi=vpi1,
                                                                                                                                                       input_vci=vci1,
                                                                                                                                                       output_nio=nio2,
                                                                                                                                                       output_vpi=vpi2,
                                                                                                                                                       output_vci=vci2))

        log.info('ATM switch "{name}" [{id}]: VCC from port {port1} VPI {vpi1} VCI {vci1} to port {port2} VPI {vpi2} VCI {vci2} created'.format(name=self._name,
                                                                                                                                                id=self._id,
                                                                                                                                                port1=port1,
                                                                                                                                                vpi1=vpi1,
                                                                                                                                                vci1=vci1,
                                                                                                                                                port2=port2,
                                                                                                                                                vpi2=vpi2,
                                                                                                                                                vci2=vci2))

        self._active_mappings[(port1, vpi1, vci1)] = (port2, vpi2, vci2)