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.
Additional Resources
- Yang catalog entry for ietf-netconf-list-pagination@2020-10-30.yang
- Yang impact analysis for draft-wwlh-netconf-list-pagination-nc
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