def updateVector(self, port, vectors):

        if port in self.vectors:
            self.vectors[port].update(vectors)
        else:
            self.vectors[port] = vectors

        self._calculateVectors()
        self.updated()
dataset/ETHPy150Open NORDUnet/opennsa/opennsa/topology/linkvector.py/LinkVector.updateVector/original