--- 1/draft-ietf-netmod-ip-cfg-07.txt 2013-02-06 16:41:39.531708028 +0100 +++ 2/draft-ietf-netmod-ip-cfg-08.txt 2013-02-06 16:41:39.559708747 +0100 @@ -1,18 +1,18 @@ Network Working Group M. Bjorklund Internet-Draft Tail-f Systems -Intended status: Standards Track November 15, 2012 -Expires: May 19, 2013 +Intended status: Standards Track February 6, 2013 +Expires: August 10, 2013 A YANG Data Model for IP Management - draft-ietf-netmod-ip-cfg-07 + draft-ietf-netmod-ip-cfg-08 Abstract This document defines a YANG data model for management of IP implementations. Status of this Memo This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79. @@ -20,25 +20,25 @@ 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 May 19, 2013. + This Internet-Draft will expire on August 10, 2013. Copyright Notice - Copyright (c) 2012 IETF Trust and the persons identified as the + Copyright (c) 2013 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 the Trust Legal Provisions and are provided without warranty as @@ -176,28 +176,28 @@ | ipv6/forwarding | ipv6InterfaceForwarding | | ipv6/address | ipAddressEntry | | ipv6/address/ip | ipAddressAddrType / ipAddressAddr | | ipv6/neighbor | ipNetToPhysicalTable | +-----------------+-----------------------------------+ Mapping of YANG data nodes to IP-MIB objects 4. IP configuration YANG Module - This module imports typedefs from [RFC6021] and + This module imports typedefs from [I-D.ietf-netmod-rfc6021-bis] and [I-D.ietf-netmod-interfaces-cfg], and references [RFC0791], [RFC0826], [RFC2460], [RFC4861], [RFC4862], and [RFC4941]. RFC Ed.: update the date below with the date of RFC publication and remove this note. - file "ietf-ip@2012-11-15.yang" + file "ietf-ip@2013-02-06.yang" module ietf-ip { namespace "urn:ietf:params:xml:ns:yang:ietf-ip"; prefix ip; import ietf-interfaces { prefix if; } import ietf-inet-types { @@ -238,25 +238,25 @@ (http://trustee.ietf.org/license-info). This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices."; // RFC Ed.: replace XXXX with actual RFC number and remove this // note. // RFC Ed.: update the date below with the date of RFC publication // and remove this note. - revision 2012-11-15 { + revision 2013-02-06 { description "Initial revision."; reference - "RFC XXXX: A YANG Data Model for IP Configuration"; + "RFC XXXX: A YANG Data Model for IP Management"; } /* Features */ feature ipv4-non-contiguous-netmasks { description "Indicates support for configuring non-contiguous subnet masks."; } @@ -313,21 +313,21 @@ depends on the interface's type."; reference "RFC 791: Internet Protocol"; } list address { key "ip"; description "The list of IPv4 addresses on the interface."; leaf ip { - type inet:ipv4-address; + type inet:ipv4-address-no-zone; description "The IPv4 address on the interface."; } choice subnet { default prefix-length; description "The subnet can be specified as a prefix-length, or, if the server supports non-contiguous netmasks, as a netmask. @@ -335,39 +335,39 @@ leaf prefix-length { type uint8 { range "0..32"; } default 32; description "The length of the subnet prefix."; } leaf netmask { if-feature ipv4-non-contiguous-netmasks; - type inet:ipv4-address; + type yang:dotted-quad; description "The subnet specified as a netmask."; } } } list neighbor { key "ip"; description "A list of mappings from IPv4 addresses to physical addresses. Entries in this list are used as static entries in the ARP cache."; reference "RFC 826: An Ethernet Address Resolution Protocol"; leaf ip { - type inet:ipv4-address; + type inet:ipv4-address-no-zone; description "The IPv4 address of a neighbor node."; } leaf phys-address { type yang:phys-address; description "The physical level address of the neihgbor node."; } } @@ -411,21 +411,21 @@ reference "RFC 2460: IPv6 Specification Section 5"; } list address { key "ip"; description "The list of IPv6 addresses on the interface."; leaf ip { - type inet:ipv6-address; + type inet:ipv6-address-no-zone; description "The IPv6 address on the interface."; } leaf prefix-length { type uint8 { range "0..128"; } default 128; description "The length of the subnet prefix."; @@ -436,21 +436,21 @@ description "A list of mappings from IPv6 addresses to physical addresses. Entries in this list are used as static entries in the Neighbor Cache."; reference "RFC 4861: Neighbor Discovery for IP version 6 (IPv6)"; leaf ip { - type inet:ipv6-address; + type inet:ipv6-address-no-zone; description "The IPv6 address of a neighbor node."; } leaf phys-address { type yang:phys-address; description "The physical level address of the neighbor node."; } } leaf dup-addr-detect-transmits { @@ -602,23 +602,28 @@ The author wishes to thank Ladislav Lhotka, Juergen Schoenwaelder, and Dave Thaler for their helpful comments. 8. References 8.1. Normative References [I-D.ietf-netmod-interfaces-cfg] Bjorklund, M., "A YANG Data Model for Interface - Configuration", draft-ietf-netmod-interfaces-cfg-05 (work + Configuration", draft-ietf-netmod-interfaces-cfg-09 (work in progress), July 2012. + [I-D.ietf-netmod-rfc6021-bis] + Schoenwaelder, J., "Common YANG Data Types", + draft-ietf-netmod-rfc6021-bis-00 (work in progress), + Feb 2013. + [RFC0791] Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981. [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC2460] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", RFC 2460, December 1998. [RFC3688] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, @@ -632,23 +637,20 @@ Address Autoconfiguration", RFC 4862, September 2007. [RFC4941] Narten, T., Draves, R., and S. Krishnan, "Privacy Extensions for Stateless Address Autoconfiguration in IPv6", RFC 4941, September 2007. [RFC6020] Bjorklund, M., "YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)", RFC 6020, October 2010. - [RFC6021] Schoenwaelder, J., "Common YANG Data Types", RFC 6021, - October 2010. - 8.2. Informative References [I-D.ietf-netmod-routing-cfg] Lhotka, L., "A YANG Data Model for Routing Configuration", draft-ietf-netmod-routing-cfg-04 (work in progress), July 2012. [RFC0826] Plummer, D., "Ethernet Address Resolution Protocol: Or converting network protocol addresses to 48.bit Ethernet address for transmission on Ethernet hardware", STD 37,