--- 1/draft-ietf-lsr-yang-isis-reverse-metric-02.txt 2021-01-05 03:13:14.667395281 -0800 +++ 2/draft-ietf-lsr-yang-isis-reverse-metric-03.txt 2021-01-05 03:13:14.699396097 -0800 @@ -1,18 +1,18 @@ Network Working Group C. Hopps Internet-Draft LabN Consulting, L.L.C. -Intended status: Standards Track 18 December 2020 -Expires: 21 June 2021 +Intended status: Standards Track 5 January 2021 +Expires: 9 July 2021 YANG Module for IS-IS Reverse Metric - draft-ietf-lsr-yang-isis-reverse-metric-02 + draft-ietf-lsr-yang-isis-reverse-metric-03 Abstract This document defines a YANG module for managing the reverse metric extension to the the intermediate system to intermediate system routeing protocol. Status of This Memo This Internet-Draft is submitted in full conformance with the @@ -21,25 +21,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 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 21 June 2021. + This Internet-Draft will expire on 9 July 2021. Copyright Notice - Copyright (c) 2020 IETF Trust and the persons identified as the + Copyright (c) 2021 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. @@ -118,21 +118,21 @@ | +--ro whole-lan? boolean | +--ro allow-unreachable? boolean +--ro te-metric? uint32 2.2. YANG Module The following is the YANG module for managing the IS-IS reverse metric functionality defined in [RFC8500]. It imports modules from the following RFCs: [RFC8349], [I-D.ietf-isis-yang-isis-cfg]. - file "ietf-isis-reverse-metric@2020-12-18.yang" + file "ietf-isis-reverse-metric@2021-01-05.yang" module ietf-isis-reverse-metric { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-isis-reverse-metric"; prefix isis-rmetric; import ietf-routing { prefix rt; reference "RFC8349: A YANG Data Model for Routing Management (NMDA Version)"; } @@ -167,21 +167,21 @@ 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 2020-12-18 { + revision 2021-01-05 { description "Initial Revision"; reference "RFC XXXX: YANG IS-IS Reverse Metric"; } grouping reverse-metric-data { description "IS-IS reverse metric data."; leaf metric { type isis:wide-metric; description "The reverse metric value."; reference "RFC8500, Section 2"; @@ -493,30 +493,31 @@ Appendix A. Examples A.1. Example Enable XML Below is an example of XML instance data to enable reverse metric processing. + xmlns:isis-rmetric= + "urn:ietf:params:xml:ns:yang:ietf-isis-reverse-metric"> isis:isis default 00 - - true - + + true + Figure 1: Example XML data to enable reverse metric processing. A.2. Example Use XML Below is an example of XML instance data for the ietf-isis-reverse- @@ -526,37 +527,38 @@ xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces" xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"> eth0 ianaift:ethernetCsmacd + xmlns:isis-rmetric= + "urn:ietf:params:xml:ns:yang:ietf-isis-reverse-metric"> isis:isis default 00 eth0 - - - + + + 65535 - - - + + + Figure 2: Example XML data for ietf-isis-reverse-metric module. A.3. Example JSON