NETCONF Extensions to Support List Pagination
draft-wwlh-netconf-list-pagination-nc-01
|
Document |
Type |
|
Active Internet-Draft (individual)
|
|
Authors |
|
Kent Watsen
,
Qin Wu
,
Olof Hagsand
,
Hongwei Li
|
|
Last updated |
|
2020-11-02
|
|
Stream |
|
(None)
|
|
Intended RFC status |
|
(None)
|
|
Formats |
|
plain text
xml
pdf
htmlized (tools)
htmlized
bibtex
|
|
Yang Validation |
|
☯
3 errors, 2 warnings.
draft-wwlh-netconf-list-pagination-nc-01.txt:
xym 0.4.10:
Extracting 'ietf-netconf-list-pagination@2020-10-30.yang'
Removed 0 empty lines
Extracting 'example-module'
Getting YANG file name from module name: example-module.yang
ietf-netconf-list-pagination@2020-10-30.yang:
pyang 2.4.0: pyang --verbose --ietf -p {libs} {model}:
# module search path: a/www/ietf-ftp/yang/rfcmod/:/a/www/ietf-ftp/yang/draftmod/:/a/www/ietf-ftp/yang/ianamod/:/a/www/ietf-ftp/yang/catalogmod/:.:/var/lib/wwwrun/yang/modules:/a/www/ietf-datatracker/7.24.0/env/share/yang/modules
# read ietf-netconf-list-pagination@2020-10-30.yang (CL)
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-netconf.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-netconf@2011-06-01.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-inet-types.yang
# read /a/www/ietf-ftp/yang/catalogmod/ietf-inet-types@2020-07-06.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-netconf-with-defaults.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-netconf-with-defaults.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-yang-types.yang
# read /a/www/ietf-ftp/yang/catalogmod/ietf-yang-types@2020-07-06.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-datastores.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-datastores@2018-02-14.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-origin.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-origin@2018-02-14.yang
# read /a/www/ietf-datatracker/7.24.0/env/share/yang/modules/ietf/ietf-yang-metadata.yang
# read /a/www/ietf-ftp/yang/rfcmod/ietf-yang-metadata@2016-08-05.yang
ietf-netconf-list-pagination@2020-10-30.yang:238: error: keyword "description" not in canonical order, expected "type" (see RFC 6020, Section 12)
ietf-netconf-list-pagination@2020-10-30.yang:239: error: keyword "mandatory" not in canonical order (see RFC 6020, Section 12)
ietf-netconf-list-pagination@2020-10-30.yang:240: error: keyword "type" not in canonical order (see RFC 6020, Section 12)
ietf-netconf-list-pagination@2020-10-30.yang:272: warning: RFC 8407: 4.11.3,4.14: statement "enum" should have a "description" substatement
ietf-netconf-list-pagination@2020-10-30.yang:273: warning: RFC 8407: 4.11.3,4.14: statement "enum" should have a "description" substatement
yanglint SO 1.6.7: yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i:
No validation errors
|
|
Additional Resources |
|
|
Stream |
Stream state |
|
(No stream defined) |
|
Consensus Boilerplate |
|
Unknown
|
|
RFC Editor Note |
|
(None)
|
IESG |
IESG state |
|
I-D Exists
|
|
Telechat date |
|
|
|
Responsible AD |
|
(None)
|
|
Send notices to |
|
(None)
|
NETCONF Working Group K. Watsen
Internet-Draft Watsen Network
Intended status: Standards Track Q. Wu
Expires: May 6, 2021 Huawei
O. Hagsand
Netgate
H. Li
HPE
November 2, 2020
NETCONF Extensions to Support List Pagination
draft-wwlh-netconf-list-pagination-nc-01
Abstract
In some circumstance, a server may contain many instances of a
particular YANG list or leaf-list. Retrieval of the entire list or
leaf-list at once can be extremely inefficient.
This document defines a YANG data model with "get-pageable-list" RPC
to allow a client to iterate through a large list, in a manner that
is most efficient for the application.
The YANG data model in this document conforms to the Network
Management Datastore Architecture defined in RFC 8342.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on May 6, 2021.
Watsen, et al. Expires May 6, 2021 [Page 1]
Internet-Draft NETCONF Pagination Support November 2020
Copyright Notice
Copyright (c) 2020 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
2. NETCONF operation . . . . . . . . . . . . . . . . . . . . . . 4
2.1. The <get-list-pagination> operation . . . . . . . . . . . 4
3. YANG Module for List Pagination . . . . . . . . . . . . . . . 6
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13
4.1. The "IETF XML" Registry . . . . . . . . . . . . . . . . . 13
4.2. The "YANG Module Names" Registry . . . . . . . . . . . . 13
5. Security Considerations . . . . . . . . . . . . . . . . . . . 14
5.1. The "ietf-netconf-list-pagination" YANG Module . . . . . 14
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 14
6.1. Normative References . . . . . . . . . . . . . . . . . . 14
6.2. Informative References . . . . . . . . . . . . . . . . . 15
Appendix A. Open Issues . . . . . . . . . . . . . . . . . . . . 16
Appendix B. Example YANG Module . . . . . . . . . . . . . . . . 16
B.1. "example-module" YANG Module . . . . . . . . . . . . . . 17
B.2. Data-Set for example-module . . . . . . . . . . . . . . . 23
Appendix C. NETCONF YANG Collection Examples . . . . . . . . . . 27
C.1. "count" Parameter . . . . . . . . . . . . . . . . . . . . 28
C.2. "skip" Parameter . . . . . . . . . . . . . . . . . . . . 28
C.3. "direction" Parameter . . . . . . . . . . . . . . . . . . 29
C.4. "sort" Parameter . . . . . . . . . . . . . . . . . . . . 30
C.5. Combination of "where" and "count" Parameters . . . . . . 31
C.6. Combination of "where", "count" and "skip" Parameters . . 32
C.7. Combination of "where", "count","skip" and "sort"
Parameters . . . . . . . . . . . . . . . . . . . . . . . 33
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . 34
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 35
Watsen, et al. Expires May 6, 2021 [Page 2]
Internet-Draft NETCONF Pagination Support November 2020
Show full document text