Accounting in NETCONF and RESTCONF
draft-mahesh-netconf-accounting-01

Document Type Active Internet-Draft (individual)
Last updated 2017-03-13
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
On Agenda netconf at IETF-98
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                    M. Jethanandani
Internet-Draft                                        Cisco Systems, Inc
Intended status: Standards Track                          March 13, 2017
Expires: September 14, 2017

                   Accounting in NETCONF and RESTCONF
                   draft-mahesh-netconf-accounting-01

Abstract

   This document defines an accounting record for NETCONF and RESTCONF.

Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC 2119 [RFC2119].

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 http://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 14, 2017.

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

Jethanandani           Expires September 14, 2017               [Page 1]
Internet-Draft       NETCONF and RESTCONF Accounting          March 2017

   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 . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Accounting Record . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Data Model Definitions  . . . . . . . . . . . . . . . . . . .   3
     3.1.  Data Organization . . . . . . . . . . . . . . . . . . . .   3
     3.2.  YANG Module . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   9
   6.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   9
   7.  Normative References  . . . . . . . . . . . . . . . . . . . .   9
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .  10

1.  Introduction

   NETCONF [RFC6241] and RESTCONF [RFC8040] protocol operations are
   authenticated and authorized as part of the Authentication,
   Authorization and Accounting (AAA) framework.  An accounting record
   needs to be created as part of the same framework for each of these
   operations to satisfy the accounting part of AAA.  Having an
   accounting record that is consistent across vendors allows for the
   operator to compare operations across devices from different vendors.
   This document defines such a record and a corresponding YANG data
   model (ietf-netconf-am.yang).

   The rest of this document will use NETCONF to imply both NETCONF and
   RESTCONF, but where applicable will call out each protocol
   specifically.

1.1.  Terminology

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

   o  client

   o  server

   o  session

   o  user

Jethanandani           Expires September 14, 2017               [Page 2]
Internet-Draft       NETCONF and RESTCONF Accounting          March 2017

2.  Accounting Record

   An accounting record for NETCONF consists of the following fields.

   +------+------+----+------+-----+-----+-----+-----+-----+-----+-----+
   | acct | date | sr | sess | tas | use | gro | pat | act | rul | sta |
   | -    | -    | c- | ion- | k-  | r   | ups | h   | ion | e   | tus |
   | code | time | ip | id   | id  |     |     |     |     |     |     |
   +------+------+----+------+-----+-----+-----+-----+-----+-----+-----+
   +------+------+----+------+-----+-----+-----+-----+-----+-----+-----+
Show full document text