Olof hagsand
9ee55441ac
Pagination test/doc errors
2024-07-22 09:23:02 +02:00
Olof hagsand
07a1fa164f
List pagination, uniform config/state handling with new attributes
...
New `clixon-lib@2024-04-01.yang` revision and list_pagination_partial_state extension
2024-07-17 14:39:48 +02:00
Olof hagsand
05c881dc39
List pagination: Added where and direction parameter for configured data
2024-07-16 15:33:09 +02:00
Olof hagsand
d84c529ff1
[Code formatting: Change indentation style to space]( https://github.com/clicon/clixon/issues/379 )
...
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
e0f5472161
Tests: added expect script for pagination stdio
2022-03-14 14:02:21 +01:00
Olof hagsand
ce06f25be7
Merge branch dispatcher and broke out pagination callbacks to use it
...
* Merge branch 'dcornejo-master'
* Broke out pagination callback API from state data callbacks
* New pagination callback API uses new dispatcher from netgate, thanks @dcornejo
* Register callback with: `clixon_pagination_cb_register()`
* Use accessor functions `pagination_offset()`, `pagination_limit()`, etc
* Reverted state data callback API to pre-5.3 (see C/CLI API changes below)
2021-10-08 15:19:37 +02:00
Olof hagsand
6e316b519b
- Refactoring of get_common/get_list_pagination with two sub-functions
...
- Fixed memory leak
2021-09-21 11:27:58 +02:00
Olof hagsand
76e59873c2
- Changed media name: yang.collection+xml/yang to application-collection+xml/json
...
- Modified ietf-netconf-list-pagination.yang:
- changed get-pagable -> get-pageable
- renamed count -> limit
- renamed skip -> offset
- added import ietf-yang-metadata
- added md:annotation remaining
2021-09-21 11:22:41 +02:00
Olof hagsand
0c7f2043f3
* Pagination according to new draft
...
* count/skip -> limit/offset
* ietf-yang-metadata RFC 7952 support, placeholder parsing and extension
2021-09-21 11:22:41 +02:00