Skip to main content

YANG Patch Media Type
draft-ietf-netconf-yang-patch-14

Revision differences

Document history

Date Rev. By Action
2017-02-15
14 (System) RFC Editor state changed to AUTH48-DONE from AUTH48
2017-02-03
14 (System) RFC Editor state changed to AUTH48 from RFC-EDITOR
2017-01-31
14 (System) RFC Editor state changed to RFC-EDITOR from AUTH
2017-01-27
14 (System) RFC Editor state changed to AUTH from EDIT
2016-12-06
14 (System) IANA Action state changed to RFC-Ed-Ack from Waiting on RFC Editor
2016-12-05
14 (System) IANA Action state changed to Waiting on RFC Editor from Waiting on Authors
2016-12-03
14 (System) IANA Action state changed to Waiting on Authors from In Progress
2016-12-02
14 (System) RFC Editor state changed to EDIT
2016-12-02
14 (System) IESG state changed to RFC Ed Queue from Approved-announcement sent
2016-12-02
14 (System) Announcement was received by RFC Editor
2016-12-02
14 (System) IANA Action state changed to In Progress
2016-12-02
14 Cindy Morgan IESG state changed to Approved-announcement sent from IESG Evaluation::AD Followup
2016-12-02
14 Cindy Morgan IESG has approved the document
2016-12-02
14 Cindy Morgan Closed "Approve" ballot
2016-12-02
14 Cindy Morgan Ballot approval text was generated
2016-12-02
14 Cindy Morgan Ballot writeup was changed
2016-12-02
14 Kathleen Moriarty [Ballot comment]
Thanks for addressing my prior discuss question.
2016-12-02
14 Kathleen Moriarty [Ballot Position Update] Position for Kathleen Moriarty has been changed to No Objection from Discuss
2016-11-22
14 Andy Bierman New version available: draft-ietf-netconf-yang-patch-14.txt
2016-11-22
14 (System) New version approved
2016-11-22
14 (System) Request for posting confirmation emailed to previous authors: "Kent Watsen" , "Andy Bierman" , "Martin Bjorklund"
2016-11-22
14 Andy Bierman Uploaded new revision
2016-11-12
13 Jean Mahoney Closed request for Telechat review by GENART with state 'No Response'
2016-11-10
13 (System) Sub state has been changed to AD Followup from Revised ID Needed
2016-11-10
13 (System) IANA Review state changed to Version Changed - Review Needed from IANA - Not OK
2016-11-10
13 Cindy Morgan New version available: draft-ietf-netconf-yang-patch-13.txt
2016-11-10
13 (System) Secretariat manually posting. Approvals already received
2016-11-10
13 Cindy Morgan Uploaded new revision
2016-11-03
12 Ben Campbell
[Ballot comment]
Update: I've cleared my discuss bases on the authors' intent to clarify that yang-patch is intended to be atomic regardless of the underlying …
[Ballot comment]
Update: I've cleared my discuss bases on the authors' intent to clarify that yang-patch is intended to be atomic regardless of the underlying protocol.

-2, 2nd paragraph, last sentence: is the message body mentioned in the last sentence the same as the one described by the media type in the previous sentence? That is, are we talking about one body part, or two? If one, the ordering of the 2nd and 3rd sentence is a bit confusing to me.

-2.2, tree diagram:
If edit-id is optional, how are errors identified if it is not present?

-2.6, first paragraph: "...RESTCONF server SHOULD return a "yang-patch-status" message."

What if it doesn't? (I.e. Why not MUST?)

-2.7, 2nd paragraph: "... SHOULD return a "yang-patch-status" message."

What if it doesn't?

Editorial:
-2, first bullet: s/at within/within

-2, Accept-Patch example: The example seems misplaced, as it seems to apply to the text two paragraphs back, not the immediately proceeding paragraph.
2016-11-03
12 Ben Campbell [Ballot Position Update] Position for Ben Campbell has been changed to No Objection from Discuss
2016-11-03
12 Cindy Morgan IESG state changed to IESG Evaluation::Revised I-D Needed from IESG Evaluation
2016-11-03
12 Stephen Farrell
[Ballot comment]

- section 2: I'm not clear what that example of Accept-Patch is
telling me. (And if that's meant to be a figure then …
[Ballot comment]

- section 2: I'm not clear what that example of Accept-Patch is
telling me. (And if that's meant to be a figure then a caption
and figure number would be good.)

- 2.2: How do you ensure a patch-id is unique? In what scope?
Random idea: you could specify a way to make these unique if you
hashed a representation of the current resource and the patch
data and the date/resource URI or something. And that might have
nice properties for auditing. Think of "git blame" etc.:-) It
might be possible to do a similar thing for edit-id too I guess.
(Note that I'm only suggesting this as an informative bit of
spec, i.e. as a "here's a good way to do it" kind of thing.)

- section 5: you very reasonably say that a server SHOULD
"prevent system disruption due to excessive resource
consumption" but you don't say how to do that. Is that ok?  At
least some references would help implementers not go so wrong I
think. (Sorry, I don't have such references to hand.)
2016-11-03
12 Stephen Farrell [Ballot Position Update] New position, No Objection, has been recorded for Stephen Farrell
2016-11-03
12 Spencer Dawkins
[Ballot comment]
This document may have the clearest terminology section I've ever seen in a draft. Thank you all for that!

I have the same …
[Ballot comment]
This document may have the clearest terminology section I've ever seen in a draft. Thank you all for that!

I have the same question as Ben did in his Discuss, about just how atomic a patch operation is. I'll watch the discussion in that thread.
2016-11-03
12 Spencer Dawkins [Ballot Position Update] New position, No Objection, has been recorded for Spencer Dawkins
2016-11-02
12 Alia Atlas [Ballot Position Update] New position, No Objection, has been recorded for Alia Atlas
2016-11-02
12 Suresh Krishnan [Ballot Position Update] New position, No Objection, has been recorded for Suresh Krishnan
2016-11-02
12 Ben Campbell
[Ballot discuss]
Hopefully this is easy to resolve, and is probably just confusion on my part. But I am confused by whether or not the …
[Ballot discuss]
Hopefully this is easy to resolve, and is probably just confusion on my part. But I am confused by whether or not the edits in a single patch are expected to be atomic. I assumed no, since the results can speak to multiple edits, but section 5 mentions atomicity as a RESTCONF requirement. Is atomicity not required by yang-patch in general, but required when using RESTCONF?

Section 5 goes on to talk about disruption due to partial processing, which further confuses me if RESTCONF requires atomicity.
2016-11-02
12 Ben Campbell
[Ballot comment]
-2, 2nd paragraph, last sentence: is the message body mentioned in the last sentence the same as the one described by the media …
[Ballot comment]
-2, 2nd paragraph, last sentence: is the message body mentioned in the last sentence the same as the one described by the media type in the previous sentence? That is, are we talking about one body part, or two? If one, the ordering of the 2nd and 3rd sentence is a bit confusing to me.

-2.2, tree diagram:
If edit-id is optional, how are errors identified if it is not present?

-2.6, first paragraph: "...RESTCONF server SHOULD return a "yang-patch-status" message."

What if it doesn't? (I.e. Why not MUST?)

-2.7, 2nd paragraph: "... SHOULD return a "yang-patch-status" message."

What if it doesn't?

Editorial:
-2, first bullet: s/at within/within

-2, Accept-Patch example: The example seems misplaced, as it seems to apply to the text two paragraphs back, not the immediately proceeding paragraph.
2016-11-02
12 Ben Campbell [Ballot Position Update] New position, Discuss, has been recorded for Ben Campbell
2016-11-02
12 Deborah Brungard [Ballot Position Update] New position, No Objection, has been recorded for Deborah Brungard
2016-11-02
12 Jari Arkko [Ballot Position Update] New position, No Objection, has been recorded for Jari Arkko
2016-11-01
12 Terry Manderson [Ballot Position Update] New position, No Objection, has been recorded for Terry Manderson
2016-11-01
12 Joel Jaeggli [Ballot Position Update] New position, No Objection, has been recorded for Joel Jaeggli
2016-11-01
12 Alissa Cooper [Ballot Position Update] New position, No Objection, has been recorded for Alissa Cooper
2016-10-31
12 Mirja Kühlewind [Ballot Position Update] New position, No Objection, has been recorded for Mirja Kühlewind
2016-10-31
12 Kathleen Moriarty
[Ballot discuss]
This should be easy to resolve through discussion or some text tweaks.  In the security considerations section, I see some text that hints …
[Ballot discuss]
This should be easy to resolve through discussion or some text tweaks.  In the security considerations section, I see some text that hints at my questions below, but isn't clear enough, so I'd like to discuss it to see if these things are covered, or why they are not, and to see if we can tweak the text a bit.

The following text is helpful, is PATCH described in [I-D.ietf-netconf-restconf]?
  This document defines edit processing
  instructions for a variant of the PATCH method, as used within the
  RESTCONF protocol.

I see section 2.7 discusses error handling and validating the YANG module, but is there a way that the hash (or some other mechanism) of the patch could be validated to ensure the patch was not altered.  Is that already described for PATCH?

I also see this text in the security considerations section:
  It is important for RESTCONF server implementations to carefully
  validate all the edit request parameters in some manner.

Is the source of the patch authenticated?  Can the client receiving the patch be authenticated?  Is this handled through RESTCONF?  Since YANG modules could add in write capabilities, unauthenticated patches could result in opening backdoors or revealing information that was not intended.  You are covering it with that statement, but it's not clear if both ends can be authenticated and there are attacks if they are not authenticated.
2016-10-31
12 Kathleen Moriarty [Ballot comment]
Nit: In section 2.2

  YANG Patch does not provide any access to specific datastores.  It is
  am implementation detail

s/am/an/
2016-10-31
12 Kathleen Moriarty [Ballot Position Update] New position, Discuss, has been recorded for Kathleen Moriarty
2016-10-31
12 Alvaro Retana [Ballot Position Update] New position, No Objection, has been recorded for Alvaro Retana
2016-10-29
12 Alexey Melnikov
[Ballot comment]
Thank you for a well written document. A couple of small nits in your media type registration:

4.2.1.  Media Type application/yang-patch+xml

    …
[Ballot comment]
Thank you for a well written document. A couple of small nits in your media type registration:

4.2.1.  Media Type application/yang-patch+xml

      Subtype name: yang-patch

Should be "yang-patch+xml"

      Encoding considerations: 8-bit
        Each conceptual YANG data node is encoded according to the
        XML Encoding Rules and Canonical Format for the specific
        YANG data node type defined in [RFC7950].
        In addition, the "yang-patch" YANG Patch template found
        in [RFCXXXX] defines the structure of a YANG Patch request.

If you are allowing any of UTF-16 encodings, then the above is not correct and should say "Binary".

      Fragment identifier considerations: Fragment identifiers
        for this type are not defined.

I suggest you just say "The same as for application/xml".

It would be good if you register a new file extension for this media type.
2016-10-29
12 Alexey Melnikov [Ballot Position Update] New position, Yes, has been recorded for Alexey Melnikov
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Christer Holmberg
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Christer Holmberg
2016-10-27
12 Jean Mahoney Closed request for Telechat review by GENART with state 'Withdrawn'
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Roni Even
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Roni Even
2016-10-27
12 Jean Mahoney Closed request for Telechat review by GENART with state 'Withdrawn'
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Christer Holmberg
2016-10-27
12 Jean Mahoney Request for Telechat review by GENART is assigned to Christer Holmberg
2016-10-27
12 Christer Holmberg Request for Last Call review by GENART Completed: Ready. Reviewer: Christer Holmberg.
2016-10-20
12 Benoît Claise Placed on agenda for telechat - 2016-11-03
2016-10-20
12 Benoît Claise IESG state changed to IESG Evaluation from Waiting for AD Go-Ahead
2016-10-20
12 Benoît Claise Ballot has been issued
2016-10-20
12 Benoît Claise [Ballot Position Update] New position, Yes, has been recorded for Benoit Claise
2016-10-20
12 Benoît Claise Created "Approve" ballot
2016-10-20
12 Benoît Claise Ballot writeup was changed
2016-10-20
12 Benoît Claise IESG state changed to Waiting for AD Go-Ahead from Waiting for Writeup
2016-10-17
12 (System) IESG state changed to Waiting for Writeup from In Last Call
2016-10-13
12 (System) IANA Review state changed to IANA - Not OK from IANA - Review Needed
2016-10-13
12 Sabrina Tanamal
(Via drafts-lastcall-comment@iana.org): IESG/Authors/WG Chairs:

The IANA Services Operator has completed its review of draft-ietf-netconf-yang-patch-12.txt. If any part of this review is inaccurate, please let …
(Via drafts-lastcall-comment@iana.org): IESG/Authors/WG Chairs:

The IANA Services Operator has completed its review of draft-ietf-netconf-yang-patch-12.txt. If any part of this review is inaccurate, please let us know.

We have a question about one of the actions requested in the IANA Considerations section of this document.

Upon approval of this document, we understand that there are five registry actions to complete.

First, in the ns subregistry of the IETF XML registry located at:

https://www.iana.org/assignments/xml-registry/

a single, new namespace is to be registered as follows:

ID: yang:ietf-yang-patch
URI: urn:ietf:params:xml:ns:yang:ietf-yang-patch
Filename: [ TBD-at-registration ]
Reference: [ RFC-to-be ]

As this is an Expert Review (see RFC 5226) registry, we will initiate the required review via a separate request. Approval by the expert is required for registration. 

Second, in the YANG Module Names subregistry of the YANG Parameters registry located at:

https://www.iana.org/assignments/yang-parameters/

a new module name is to be registered as follows:

Name: ietf-yang-patch
Namespace: urn:ietf:params:xml:ns:yang:ietf-yang-patch
Prefix: ypatch
Module:
Reference: [ RFC-to-be ]

Third, in the application Media Types registry located at:

https://www.iana.org/assignments/media-types/

a new media type is to be registered as follows:

Name: yang-patch+xml
Template: [ TBD-at-registration ]
Reference: [ RFC-to-be ]

Fourth, also in the application Media Types registry located at:

https://www.iana.org/assignments/media-types/

another new media type is to be registered as follows:

Name: yang-patch+json
Template: [ TBD-at-registration ]
Reference: [ RFC-to-be ]

Fifth, the authors request the registration of "one capability identifier in "RESTCONF Protocol Capability URNs" registry" as follows:

Index
Capability Identifier
------------------------

:yang-patch
urn:ietf:params:restconf:capability:yang-patch:1.0

Question --> We are unaware of such a registry in the List of all IANA maintained protocol at the following location:

https://www.iana.org/protocols

Is it possible that the authors are referring to the Capability URNs registry in the Network Configuration Protocol (NETCONF) Capability URNs registry located at:

https://www.iana.org/assignments/netconf-capability-urns/

We request that the IANA action in section 4.3 be reconsidered by the authors and rewritten to reflect the authors' request accurately.

We understand that these are the only actions required to be completed upon approval of this document.

Note:  The actions requested in this document will not be completed until the document has been approved for publication as an RFC. This message is only to confirm what actions will be performed.

Thank you,

Sabrina Tanamal
IANA Services Specialist
2016-10-11
12 Jouni Korhonen Request for Last Call review by OPSDIR Completed: Ready. Reviewer: Jouni Korhonen.
2016-10-06
12 Jean Mahoney Request for Last Call review by GENART is assigned to Christer Holmberg
2016-10-06
12 Jean Mahoney Request for Last Call review by GENART is assigned to Christer Holmberg
2016-10-05
12 Gunter Van de Velde Request for Last Call review by OPSDIR is assigned to Jouni Korhonen
2016-10-05
12 Gunter Van de Velde Request for Last Call review by OPSDIR is assigned to Jouni Korhonen
2016-10-03
12 Cindy Morgan IANA Review state changed to IANA - Review Needed
2016-10-03
12 Cindy Morgan
The following Last Call announcement was sent out:

From: The IESG
To: "IETF-Announce"
CC: bclaise@cisco.com, draft-ietf-netconf-yang-patch@ietf.org, mjethanandani@gmail.com, netconf-chairs@ietf.org, netconf@ietf.org
Reply-To: ietf@ietf.org …
The following Last Call announcement was sent out:

From: The IESG
To: "IETF-Announce"
CC: bclaise@cisco.com, draft-ietf-netconf-yang-patch@ietf.org, mjethanandani@gmail.com, netconf-chairs@ietf.org, netconf@ietf.org
Reply-To: ietf@ietf.org
Sender:
Subject: Last Call:  (YANG Patch Media Type) to Proposed Standard


The IESG has received a request from the Network Configuration WG
(netconf) to consider the following document:
- 'YANG Patch Media Type'
  as Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2016-10-17. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

Abstract


  This document describes a method for applying patches to
  configuration datastores using data defined with the YANG data
  modeling language.




The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-netconf-yang-patch/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-netconf-yang-patch/ballot/


No IPR declarations have been submitted directly on this I-D.




2016-10-03
12 Cindy Morgan IESG state changed to In Last Call from Last Call Requested
2016-10-03
12 Benoît Claise Last call was requested
2016-10-03
12 Benoît Claise Last call announcement was generated
2016-10-03
12 Benoît Claise Ballot approval text was generated
2016-10-03
12 Benoît Claise Ballot writeup was generated
2016-10-03
12 Benoît Claise IESG state changed to Last Call Requested from AD Evaluation
2016-09-28
12 Andy Bierman New version available: draft-ietf-netconf-yang-patch-12.txt
2016-09-28
12 Andy Bierman New version approved
2016-09-28
12 Andy Bierman Request for posting confirmation emailed to previous authors: "Kent Watsen" , "Andy Bierman" , "Martin Bjorklund"
2016-09-28
12 (System) Uploaded new revision
2016-08-15
11 Andy Bierman New version available: draft-ietf-netconf-yang-patch-11.txt
2016-07-07
10 Andy Bierman New version available: draft-ietf-netconf-yang-patch-10.txt
2016-06-28
09 Andy Bierman New version available: draft-ietf-netconf-yang-patch-09.txt
2016-05-31
08 Benoît Claise Changed consensus to Yes from Unknown
2016-04-07
08 Roni Even Request for Early review by GENART Completed: Ready. Reviewer: Roni Even.
2016-03-31
08 Benoît Claise IESG state changed to AD Evaluation from Publication Requested
2016-03-31
08 Benoît Claise Intended Status changed to Proposed Standard
2016-03-31
08 Benoît Claise IESG process started in state Publication Requested
2016-03-31
08 Benoît Claise Working group state set to Submitted to IESG for Publication
2016-03-28
08 Mahesh Jethanandani Changed document writeup
2016-03-16
08 Andy Bierman New version available: draft-ietf-netconf-yang-patch-08.txt
2016-03-10
07 Mahesh Jethanandani Notification list changed to "Mahesh Jethanandani" <mjethanandani@gmail.com>
2016-03-10
07 Mahesh Jethanandani Document shepherd changed to Mahesh Jethanandani
2016-01-14
07 Tero Kivinen Request for Early review by SECDIR Completed: Has Nits. Reviewer: Dacheng Zhang.
2015-12-22
07 Tero Kivinen Request for Early review by SECDIR is assigned to Dacheng Zhang
2015-12-22
07 Tero Kivinen Request for Early review by SECDIR is assigned to Dacheng Zhang
2015-12-19
07 Jean Mahoney Request for Early review by GENART is assigned to Roni Even
2015-12-19
07 Jean Mahoney Request for Early review by GENART is assigned to Roni Even
2015-12-15
07 Andy Bierman New version available: draft-ietf-netconf-yang-patch-07.txt
2015-10-18
06 Andy Bierman New version available: draft-ietf-netconf-yang-patch-06.txt
2015-07-06
05 Andy Bierman New version available: draft-ietf-netconf-yang-patch-05.txt
2015-06-04
04 Andy Bierman New version available: draft-ietf-netconf-yang-patch-04.txt
2015-01-30
03 Andy Bierman New version available: draft-ietf-netconf-yang-patch-03.txt
2015-01-02
02 Andy Bierman New version available: draft-ietf-netconf-yang-patch-02.txt
2014-07-03
01 Andy Bierman New version available: draft-ietf-netconf-yang-patch-01.txt
2014-03-23
00 Andy Bierman New version available: draft-ietf-netconf-yang-patch-00.txt