Module Tag Operations
draft-bierman-netconf-module-tag-ops-00

Document Type Active Internet-Draft (individual)
Last updated 2019-03-10
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Yang Validation 0 errors, 0 warnings.
Additional URLs
- Yang catalog entry for ietf-module-tag-ops@2019-03-10.yang
- Yang impact analysis for draft-bierman-netconf-module-tag-ops
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)
Network Working Group                                         A. Bierman
Internet-Draft                                                 YumaWorks
Intended status: Standards Track                          March 10, 2019
Expires: September 11, 2019

                         Module Tag Operations
                draft-bierman-netconf-module-tag-ops-00

Abstract

   This document describes enhancements to existing NETCONF and RESTCONF
   (NMDA) operations for using module tags to represent YANG datastore
   content.  This can simplify usage of these operations by a client.

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 September 11, 2019.

Copyright Notice

   Copyright (c) 2019 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.

Bierman                Expires September 11, 2019               [Page 1]
Internet-Draft            Module Tag Operations               March 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   2
       1.1.1.  NMDA  . . . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.2.  RESTCONF  . . . . . . . . . . . . . . . . . . . . . .   3
       1.1.3.  YANG  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.2.  Tree Diagrams . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Module Tag Operations . . . . . . . . . . . . . . . . . . . .   4
     2.1.  Module Tag Filters  . . . . . . . . . . . . . . . . . . .   4
       2.1.1.  NETCONF "module-tag" RPC Input Parameter  . . . . . .   5
       2.1.2.  RESTCONF "module-tag" Query Parameter . . . . . . . .   5
     2.2.  NACM "module-tags" Rule Type  . . . . . . . . . . . . . .   5
   3.  Definitions . . . . . . . . . . . . . . . . . . . . . . . . .   5
     3.1.  YANG Module . . . . . . . . . . . . . . . . . . . . . . .   6
     3.2.  RESTCONF Query Parameter  . . . . . . . . . . . . . . . .  10
     3.3.  RESTCONF Query Parameter Capability . . . . . . . . . . .  10
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  10
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .  11
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .  12
     6.2.  Informative References  . . . . . . . . . . . . . . . . .  13
   Appendix A.  Examples . . . . . . . . . . . . . . . . . . . . . .  13
     A.1.  NETCONF <get-data> Example  . . . . . . . . . . . . . . .  13
     A.2.  RESTCONF GET Example  . . . . . . . . . . . . . . . . . .  14
     A.3.  NACM Example  . . . . . . . . . . . . . . . . . . . . . .  15
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  15

1.  Introduction

   There is a need for standard mechanisms to allow NETCONF [RFC6241]
   and RESTCONF [RFC8040] protocol operations, as well as NMDA
   operations for NETCONF [RFC8526] and RESTCONF [RFC8527], to utilize
   the module tag mapping definitions defined in
   [I-D.ietf-netmod-module-tags].  Netconf Access Control rules defined
   in [RFC8341] can also utilize module tags to simplify access control
   rule configuration.

1.1.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in BCP
   14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

Bierman                Expires September 11, 2019               [Page 2]
Internet-Draft            Module Tag Operations               March 2019

1.1.1.  NMDA

   The following terms are defined in the Network Management Datastore
Show full document text