def get_config_node(self):
default_ns = '<STR_LIT>'<EOL>config_node = etree.Element(config_tag, nsmap={'<STR_LIT>': nc_url})<EOL>for index, url_piece in enumerate(self._url_pieces):<EOL><INDENT>if index == len(self._url_pieces)-<NUM_LIT:1>:<EOL><INDENT>config_node_parent = self.copy(config_node)<EOL><DEDENT>node_name, values = self.parse_url_piece(url_piece)<EOL>default_ns, tag = self.convert_tag(default_ns, node_name,<EOL>src=Tag.JSON_NAME,<EOL>dst=Tag.LXML_ETREE)<EOL>config_node = self.subelement(config_node, tag, None)<EOL>schema_node = self.device.get_schema_node(config_node)<EOL>if schema_node.get('<STR_LIT:type>') == '<STR_LIT>' and len(values) > <NUM_LIT:0>:<EOL><INDENT>model_name, text_value = self.get_name(values[<NUM_LIT:0>])<EOL>if model_name:<EOL><INDENT>prefix = self._name_to_prefix[model_name]<EOL>config_node.text = '<STR_LIT>'.format(prefix, text_value)<EOL><DEDENT>else:<EOL><INDENT>config_node.text = text_value<EOL><DEDENT><DEDENT>elif schema_node.get('<STR_LIT:type>') == '<STR_LIT:list>' and len(values) > <NUM_LIT:0>:<EOL><INDENT>key_tags = BaseCalculator._get_list_keys(schema_node)<EOL>for key_tag, value in zip(key_tags, values):<EOL><INDENT>key = self.subelement(config_node, key_tag, value)<EOL><DEDENT><DEDENT><DEDENT>return config_node_parent, config_node<EOL>
get_config_node

        High-level api: get_config_node returns an Element node in the config
        tree, which is corresponding to the URL in the Restconf GET reply.

        Returns
        -------

        Element
            A config node.