--- 1/draft-ietf-netmod-rfc6020bis-10.txt 2016-02-16 06:15:18.190136456 -0800 +++ 2/draft-ietf-netmod-rfc6020bis-11.txt 2016-02-16 06:15:18.550145481 -0800 @@ -1,18 +1,18 @@ Network Working Group M. Bjorklund, Ed. Internet-Draft Tail-f Systems -Intended status: Standards Track February 4, 2016 -Expires: August 7, 2016 +Intended status: Standards Track February 16, 2016 +Expires: August 19, 2016 The YANG 1.1 Data Modeling Language - draft-ietf-netmod-rfc6020bis-10 + draft-ietf-netmod-rfc6020bis-11 Abstract YANG is a data modeling language used to model configuration data, state data, remote procedure calls, and notifications for network management protocols like the Network Configuration Protocol (NETCONF). Status of This Memo @@ -22,21 +22,21 @@ 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 August 7, 2016. + This Internet-Draft will expire on August 19, 2016. Copyright Notice Copyright (c) 2016 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 @@ -433,20 +433,23 @@ Section 9.9.2). o Allow identities to be derived from multiple base identities (see Section 7.18 and Section 9.10). o Allow enumerations and bits to be subtyped (see Section 9.6 and Section 9.7). o Allow leaf-lists to have default values (see Section 7.7.2). + o Allow non-unique values in non-configuration leaf-lists (see + Section 7.7). + o Use [RFC7405] syntax for case-sensitive strings in the grammar. o Changed the module advertisement mechanism (see Section 5.6.5). o Changed the scoping rules for definitions in submodules. A submodule can now reference all definitions in all submodules that belong to the same module, without using the "include" statement. o Added a new statement "action" that is used to define operations tied to data nodes. @@ -6325,21 +6327,21 @@ "White_Space" property). The use of Unicode control codes SHOULD be avoided. The statement is optionally followed by a block of substatements that holds detailed enum information. All assigned names in an enumeration MUST be unique. When an existing enumeration type is restricted, the set of assigned names in the new type MUST be a subset of the base type's set of - assigned names. The value of such an assigned name MUST not be + assigned names. The value of such an assigned name MUST NOT be changed. 9.6.4.1. The enum's Substatements +--------------+---------+-------------+ | substatement | section | cardinality | +--------------+---------+-------------+ | description | 7.21.3 | 0..1 | | if-feature | 7.20.2 | 0..n | | reference | 7.21.4 | 0..1 | @@ -6440,21 +6442,21 @@ } 9.7. The bits Built-In Type The bits built-in type represents a bit set. That is, a bits value is a set of flags identified by small integer position numbers starting at 0. Each bit number has an assigned name. When an existing bits type is restricted, the set of assigned names in the new type MUST be a subset of the base type's set of assigned - names. The bit position of such an assigned name MUST not be + names. The bit position of such an assigned name MUST NOT be changed. 9.7.1. Restrictions A bits type can be restricted with the "bit" (Section 9.7.4) statement. 9.7.2. Lexical Representation The lexical representation of the bits type is a space-separated list @@ -8655,21 +8657,21 @@ ;; leafref path path-arg-str = < a string that matches the rule > < path-arg > path-arg = absolute-path / relative-path absolute-path = 1*("/" (node-identifier *path-predicate)) - relative-path = 1*(".." "/") descendant-path + relative-path = 1*("../") descendant-path descendant-path = node-identifier [*path-predicate absolute-path] path-predicate = "[" *WSP path-equality-expr *WSP "]" path-equality-expr = node-identifier *WSP "=" *WSP path-key-expr path-key-expr = current-function-invocation *WSP "/" *WSP rel-path-keyexpr @@ -8801,21 +8803,21 @@ string = < an unquoted string as returned by > < the scanner, that matches the rule > < yang-string > yang-string = *yang-char ;; any Unicode or ISO/IEC 10646 character including tab, carriage ;; return, and line feed, but excluding the other C0 control ;; characters, the surrogate blocks, and the noncharacters. - yang-char = %x9 / %xA / %xD / %x20-D7FF / + yang-char = %x09 / %x0A / %x0D / %x20-D7FF / ; exclude surrogate blocks %xD800-DFFF %xE000-FDCF / ; exclude noncharacters %xFDD0-FDEF %xFDF0-FFFD / ; exclude noncharacters %xFFFE-FFFF %x10000-1FFFD / ; exclude noncharacters %x1FFFE-1FFFF %x20000-2FFFD / ; exclude noncharacters %x2FFFE-2FFFF %x30000-3FFFD / ; exclude noncharacters %x3FFFE-3FFFF %x40000-4FFFD / ; exclude noncharacters %x4FFFE-4FFFF %x50000-5FFFD / ; exclude noncharacters %x5FFFE-5FFFF %x60000-6FFFD / ; exclude noncharacters %x6FFFE-6FFFF %x70000-7FFFD / ; exclude noncharacters %x7FFFE-7FFFF @@ -8847,21 +8849,21 @@ stmtsep = *(WSP / line-break / unknown-statement) line-break = CRLF / LF non-zero-digit = %x31-39 decimal-value = integer-value ("." zero-integer-value) SQUOTE = %x27 - ; ' (Single Quote) + ; single quote ;;; RFC 5234 core rules. ALPHA = %x41-5A / %x61-7A ; A-Z / a-z CR = %x0D ; carriage return CRLF = CR LF @@ -8975,21 +8977,23 @@ refers to a non-existing instance, the following error is returned: error-tag: bad-attribute error-app-tag: missing-instance 16. IANA Considerations This document registers one capability identifier URN from the "Network Configuration Protocol (NETCONF) Capability URNs" registry: - urn:ietf:params:netconf:capability:yang-library:1.0 + Index Capability Identifier + ------------- --------------------------------------------------- + :yang-library urn:ietf:params:netconf:capability:yang-library:1.0 17. Security Considerations This document defines a language with which to write and read descriptions of management information. The language itself has no security impact on the Internet. The same considerations are relevant as for the base NETCONF protocol (see [RFC6241], Section 9).