NACM Extension for Stream
draft-zhang-netconf-nacm-extension-00

Document Type Active Internet-Draft (individual)
Last updated 2017-10-30
Stream (None)
Intended RFC status (None)
Formats plain text pdf html bibtex
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)
Internet Engineering Task Force                             QF. Zhang
Internet Draft                                               Ericsson
Intended status: Standards Track                      October 28, 2017
Expires: April 2018

                            NACM Extension for Stream
                      draft-zhang-netconf-nacm-extension-00.txt

Abstract

   This document defines an extension to the Netconf Access Control
   Model (NACM) to support notification authorization per event stream.

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), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   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."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html

   This Internet-Draft will expire on April 30, 2009.

Copyright Notice

   Copyright (c) 2017 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
   (http://trustee.ietf.org/license-info) in effect on the date of

ZHANG                  Expires April 28, 2018                 [Page 1]
Internet-Draft     NACM extension for Notification        October 2017

   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 ................................................ 2
      1.1. Terminology ............................................ 3
   2. Yang Model Extension......................................... 3
      2.1. The extended Yang Model data node ....................... 3
      2.2. Outgoing <notification> Authorization ................... 4
      2.3. Tree Diagrams .......................................... 4
   3. Security Considerations                                  ...................................... 5
   4. IANA Considerations ......................................... 5
   5. Normative References......................................... 5

1. Introduction

   RFC5277 (NETCONF Event Notifications) defines the event stream. An
   event stream is defined as a set of event notifications matching some
   forwarding criteria. At some point after the NETCONF server receives
   the internal event from a stream, it is converted to an appropriate
   XML encoding by the server, and a <notification> element is ready to
   send to all NETCONF sessions subscribed to that stream. In some case,
   same event type of notification may be part of multiple event
   streams.

   RFC6536 (Network Configuration Protocol (NETCONF) Access Control
   Model) defines the NACM rule for notification, however it only allows
   user to define notification-name. No stream name can be defined in
   the NACM rule.

   As NACM rule can not limit user to only subscriber certain stream, So
   there is no obvious solution if one user is only allowed to see some
   events from certain stream, like system-monitor stream and security-
   monitor stream. So this document is to extend NACM protocol to
   support such use case.

Zhang                  Expires April 28, 2018                 [Page 2]
Internet-Draft     NACM extension for Notification        October 2017

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].

   The following terms are defined used within this document:

   o

   The following terms are defined in [RFC6536] and are not redefined
   here:

   o NACM

   The following terms are defined in [RFC6241] and are not redefined
   here:

   o Netconf

   o  client

   o  configuration data

   o  server

   o  state data

   The following terms are defined in [RFC6020] and are not redefined
   here:

   o  augment

   o  data model

   o  data node

   o  presence container

2. Yang Model Extension

2.1. The extended Yang Model data node

   A new leaf, termed as "stream-name", is specificied which stream will
   be checked during NACM notification rule authorization.
Show full document text