def addNode(self, nTag, pkg, exe, args, name, namespace):
        try:
            validateName(nTag)
        except IllegalName:
            raise InvalidRequest('Node tag is not a valid.')

        if nTag in self._nodes:
            raise InvalidRequest("Can not use the same node tag '{0}' in the "
                                 'same container twice.'.format(nTag))

        node = self._obj.createNode(pkg, exe, args, name, namespace)
        self._nodes[nTag] = node
        node.notifyOnDeath(self._nodeDied)
Serialize a change entry for public consumption.
dataset/ETHPy150Open rapyuta/rce/rce-core/rce/core/wrapper.py/Container.addNode--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/reviews/fields.py/BaseReviewRequestField.serialize_change_entry