def confd_state_internal_cdb_client_subscription_twophase(self, **kwargs):
        """Auto Generated Code
        """
        config = ET.Element("config")
        confd_state = ET.SubElement(config, "confd-state", xmlns="http://tail-f.com/yang/confd-monitoring")
        internal = ET.SubElement(confd_state, "internal")
        cdb = ET.SubElement(internal, "cdb")
        client = ET.SubElement(cdb, "client")
        subscription = ET.SubElement(client, "subscription")
        twophase = ET.SubElement(subscription, "twophase")

        callback = kwargs.pop('callback', self._callback)
        return callback(config)