get_config_nodes

        High-level api: get_config_nodes returns a list of config nodes. Each
        config node is an Element node in the config tree, which is
        corresponding to one 'update' in the gNMI GetResponse.

        Returns
        -------

        list
            A list of config nodes.
        Config
            A Config object.

def get_config_nodes(self):
        '''get_config_nodes

        High-level api: get_config_nodes returns a list of config nodes. Each
        config node is an Element node in the config tree, which is
        corresponding to one 'update' in the gNMI GetResponse.

        Returns
        -------

        list
            A list of config nodes.
        Config
            A Config object.
        '''

        from .config import Config

        config = Config(self.device, config=None)
        for notification in self.reply.notification:
            updates = []
            for update in notification.update:
                config += self.build_config_node(Config(self.device, config=None),
                                                 notification.prefix,
                                                 update.path, update.val)
        return config