def run(self, payload):

        if payload is  None or payload == '':
            raise InvalidNetConfRPC('Invalid RPC message!!')

        reply = ET.Element('reply')
        if not self._is_connected():
            if not self.connect():
                reply.text = 'NetConf Session could not be established {%s}</error>' % str(self)
                return reply

        result = self.execute(payload)
        self.disconnect()

        if result is None:
            logging.debug("Failed to get reply")
            reply.text = 'Failed to get reply !!'
        else:
            try:
                xml = ET.fromstring(result)
                reply.append(xml)
                logging.debug("RECIEVE: \n=====\n%s\n=====\n" % ET.tostring(xml, pretty_print=True))
            except:
                reply.text = 'no data'
                logging.exception('Faild to encode to XML: ' + str(result))
        return reply
Assemble a simple finite-element matrix and check the result.
dataset/ETHPy150Open CiscoDevNet/yang-explorer/server/explorer/utils/runner.py/NCClient.run--crossover with--dataset/ETHPy150Open OP2/PyOP2/test/unit/test_matrices.py/TestMatrices.test_assemble_mat