-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ladislav Lhotka edited this page Oct 1, 2018
·
2 revisions
NETMOD Working Group M. Bjorklund
Internet-Draft Tail-f Systems
Intended status: Standards Track L. Lhotka
Expires: April 4, 2019 CZ.NIC
R. Wilton
Cisco Systems
October 01, 2018
The Staging Datastore
draft-lhotka-netmod-staging-datastore-00
Abstract
TBD
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 April 4, 2019.
Copyright Notice
Copyright (c) 2018 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.
Bjorklund, et al. Expires April 4, 2019 [Page 1]
Internet-Draft Staging Datastore October 2018
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Terminology and Notation . . . . . . . . . . . . . . . . . . 2
3. YANG Module . . . . . . . . . . . . . . . . . . . . . . . . . 2
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 4
4.1. URI Registrations . . . . . . . . . . . . . . . . . . . . 4
4.2. YANG Module Registrations . . . . . . . . . . . . . . . . 4
5. Security Considerations . . . . . . . . . . . . . . . . . . . 5
6. Normative References . . . . . . . . . . . . . . . . . . . . 5
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 5
1. Introduction
TBD
2. Terminology and Notation
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 [RFC2119].
3. YANG Module
RFC Editor: In this section, replace all occurrences of "XXXX" with
the actual RFC number and all occurrences of the revision date below
with the date of RFC publication (and remove this note).
<CODE BEGINS> file "ietf-staging-datastore@2018-10-01.yang"
module ietf-staging-datastore {
namespace "urn:ietf:params:xml:ns:yang:ietf-staging-datastore";
prefix stds;
import ietf-datastores {
prefix ds;
}
organization
"IETF Network Modeling (NETMOD) Working Group";
contact
"WG Web: <https://tools.ietf.org/wg/netmod/>
WG List: <mailto:netmod@ietf.org>
WG Chair: Joel Jaeggli
Bjorklund, et al. Expires April 4, 2019 [Page 2]
Internet-Draft Staging Datastore October 2018
<mailto:joelja@bogus.com>
WG Chair: Kent Watsen
<mailto:kwatsen@juniper.net>
WG Chair: Lou Berger
<mailto:lberger@labn.net>
Editor: Martin Bjorklund
<mailto:mbj@tail-f.com>
Editor: Ladislav Lhotka
<mailto:lhotka@nic.cz>
Editor: Rob Wilton
<mailto:rwilton@cisco.com>";
description
"This module defines an identity and operations to be used with
the staging datastore.
Copyright (c) 2018 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject to
the license terms contained in, the Simplified BSD License set
forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(https://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX
(https://tools.ietf.org/html/rfcXXXX); see the RFC itself for
full legal notices.";
revision 2018-10-01 {
description
"Initial revision.";
reference
"RFC XXXX: The Staging Datastore";
}
/* Identities */
identity staging {
base ds:datastore;
description
"The staging datastore.";
Bjorklund, et al. Expires April 4, 2019 [Page 3]
Internet-Draft Staging Datastore October 2018
}
/* Operations */
rpc commit {
description
"Atomically merge the contents of client's staging datastore
into the intended datastore.
If a merge conflict occurs that cannot be automatically
resolved, the server SHALL send an error report with
error-app-tag set to 'merge-conflict' and error-info
indicating the reason for the conflict.";
}
rpc reset {
description
"Reset the client's staging datastore so that its contents is
identical to the contents of the intended repository.";
}
}
<CODE ENDS>
4. IANA Considerations
RFC Editor: In this section, replace all occurrences of "XXXX" with
the actual RFC number (and remove this note).
4.1. URI Registrations
This document registers a URI in the "IETF XML Registry" [RFC3688].
The following registration has been made:
URI: urn:ietf:params:xml:ns:yang:ietf-staging-datastore
Registrant Contact: The IESG.
XML: N/A, the requested URI is an XML namespace.
4.2. YANG Module Registrations
This document registers a YANG module in the "YANG Module Names"
registry [RFC6020]. The following registration has been made:
name: ietf-staging-datastore
namespace: urn:ietf:params:xml:ns:yang:ietf-staging-datastore
prefix: stds
reference: RFC XXXX
Bjorklund, et al. Expires April 4, 2019 [Page 4]
Internet-Draft Staging Datastore October 2018
5. Security Considerations
TBD
6. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
[RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688,
DOI 10.17487/RFC3688, January 2004,
<https://www.rfc-editor.org/info/rfc3688>.
[RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for
the Network Configuration Protocol (NETCONF)", RFC 6020,
DOI 10.17487/RFC6020, October 2010,
<https://www.rfc-editor.org/info/rfc6020>.
Authors' Addresses
Martin Bjorklund
Tail-f Systems
Email: mbj@tail-f.com
Ladislav Lhotka
CZ.NIC
Email: lhotka@nic.cz
Robert Wilton
Cisco Systems
Email: rwilton@cisco.com
Bjorklund, et al. Expires April 4, 2019 [Page 5]