--- 1/draft-ietf-isis-yang-isis-cfg-28.txt 2018-12-27 01:13:14.738404722 -0800 +++ 2/draft-ietf-isis-yang-isis-cfg-29.txt 2018-12-27 01:13:14.918409072 -0800 @@ -1,25 +1,25 @@ IS-IS Working Group S. Litkowski Internet-Draft Orange Intended status: Standards Track D. Yeung -Expires: June 29, 2019 Arrcus, Inc +Expires: June 30, 2019 Arrcus, Inc A. Lindem Cisco Systems J. Zhang Juniper Networks L. Lhotka CZ.NIC - December 26, 2018 + December 27, 2018 YANG Data Model for IS-IS protocol - draft-ietf-isis-yang-isis-cfg-28 + draft-ietf-isis-yang-isis-cfg-29 Abstract This document defines a YANG data model that can be used to configure and manage IS-IS protocol on network elements. Requirements Language The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and @@ -35,21 +35,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 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 June 29, 2019. + This Internet-Draft will expire on June 30, 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 @@ -73,43 +73,44 @@ 2.8. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.9. Operational States . . . . . . . . . . . . . . . . . . . 19 3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 20 4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 20 5. Interaction with Other YANG Modules . . . . . . . . . . . . . 21 6. IS-IS YANG Module . . . . . . . . . . . . . . . . . . . . . . 22 7. Security Considerations . . . . . . . . . . . . . . . . . . . 101 8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 102 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 102 10. Change log for ietf-isis YANG module . . . . . . . . . . . . 102 - 10.1. From version -27 to version -28 . . . . . . . . . . . . 102 - 10.2. From version -26 to version -27 . . . . . . . . . . . . 103 - 10.3. From version -25 to version -26 . . . . . . . . . . . . 103 - 10.4. From version -24 to version -25 . . . . . . . . . . . . 103 - 10.5. From version -22 to version -24 . . . . . . . . . . . . 104 - 10.6. From version -21 to version -22 . . . . . . . . . . . . 104 - 10.7. From version -20 to version -21 . . . . . . . . . . . . 104 - 10.8. From version -19 to version -20 . . . . . . . . . . . . 104 - 10.9. From version -18 to version -19 . . . . . . . . . . . . 104 - 10.10. From version -17 to version -18 . . . . . . . . . . . . 105 - 10.11. From version -16 to version -17 . . . . . . . . . . . . 105 - 10.12. From version -15 to version -16 . . . . . . . . . . . . 105 - 10.13. From version -14 to version -15 . . . . . . . . . . . . 105 - 10.14. From version -13 to version -14 . . . . . . . . . . . . 106 - 10.15. From version -12 to version -13 . . . . . . . . . . . . 106 - 10.16. From version -09 to version -12 . . . . . . . . . . . . 106 - 10.17. From version -08 to version -09 . . . . . . . . . . . . 106 - 10.18. From version -07 to version -08 . . . . . . . . . . . . 106 - 10.19. From version -05 to version -07 . . . . . . . . . . . . 106 - 10.20. From version -03 to version -05 . . . . . . . . . . . . 107 - 10.21. From version -02 to version -03 . . . . . . . . . . . . 107 - 10.22. From version -01 to version -02 . . . . . . . . . . . . 107 - 10.23. From version -00 to version -01 . . . . . . . . . . . . 108 + 10.1. From version -28 to version -29 . . . . . . . . . . . . 102 + 10.2. From version -27 to version -28 . . . . . . . . . . . . 103 + 10.3. From version -26 to version -27 . . . . . . . . . . . . 103 + 10.4. From version -25 to version -26 . . . . . . . . . . . . 103 + 10.5. From version -24 to version -25 . . . . . . . . . . . . 103 + 10.6. From version -22 to version -24 . . . . . . . . . . . . 104 + 10.7. From version -21 to version -22 . . . . . . . . . . . . 104 + 10.8. From version -20 to version -21 . . . . . . . . . . . . 104 + 10.9. From version -19 to version -20 . . . . . . . . . . . . 104 + 10.10. From version -18 to version -19 . . . . . . . . . . . . 104 + 10.11. From version -17 to version -18 . . . . . . . . . . . . 105 + 10.12. From version -16 to version -17 . . . . . . . . . . . . 105 + 10.13. From version -15 to version -16 . . . . . . . . . . . . 105 + 10.14. From version -14 to version -15 . . . . . . . . . . . . 105 + 10.15. From version -13 to version -14 . . . . . . . . . . . . 106 + 10.16. From version -12 to version -13 . . . . . . . . . . . . 106 + 10.17. From version -09 to version -12 . . . . . . . . . . . . 106 + 10.18. From version -08 to version -09 . . . . . . . . . . . . 106 + 10.19. From version -07 to version -08 . . . . . . . . . . . . 106 + 10.20. From version -05 to version -07 . . . . . . . . . . . . 106 + 10.21. From version -03 to version -05 . . . . . . . . . . . . 107 + 10.22. From version -02 to version -03 . . . . . . . . . . . . 107 + 10.23. From version -01 to version -02 . . . . . . . . . . . . 107 + 10.24. From version -00 to version -01 . . . . . . . . . . . . 108 11. References . . . . . . . . . . . . . . . . . . . . . . . . . 108 11.1. Normative References . . . . . . . . . . . . . . . . . . 108 11.2. Informative References . . . . . . . . . . . . . . . . . 112 Appendix A. Example of IS-IS configuration in XML . . . . . . . 112 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 114 1. Introduction This document defines a YANG ([RFC7950]) data model for IS-IS routing protocol. @@ -131,22 +132,22 @@ parameters. The figure below describes the overall structure of the isis YANG module: module: ietf-isis augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route: +--ro metric? uint32 +--ro tag* uint64 +--ro route-type? enumeration - augment /if:interfaces/if:interface: + augment /if:interfaces/if:interface: +--rw clns-mtu? uint16 augment /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol: +--rw isis +--rw enable? boolean {admin-control}? +--rw level-type? level +--rw system-id? system-id +--rw maximum-area-addresses? uint8 {maximum-area-addresses}? +--rw area-address* area-address +--rw lsp-mtu? uint16 @@ -1047,21 +1049,21 @@ The modules defined in this document use some groupings from ietf- keychain [RFC8177]. The module reuses types from [RFC6991] and [RFC8294]. To support BFD for fast detection, the module relies on [I-D.ietf-bfd-yang]. 6. IS-IS YANG Module - file "ietf-isis@2018-12-26.yang" + file "ietf-isis@2018-12-27.yang" module ietf-isis { yang-version 1.1; namespace "urn:ietf:params:xml:ns:yang:ietf-isis"; prefix isis; import ietf-routing { prefix "rt"; reference "RFC 8349 - A YANG Data Model for Routing @@ -1158,21 +1160,21 @@ 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 (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."; - revision 2018-12-26 { + revision 2018-12-27 { description "Initial revision."; reference "RFC XXXX"; } /* Identities */ identity isis { base rt:routing-protocol; description "Identity for the IS-IS routing protocol."; @@ -1429,21 +1431,21 @@ pattern '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]' +'{4}\.[0-9][0-9]-[0-9][0-9]'; } description "This type defines the IS-IS LSP ID format using a pattern, An example LSP ID is 0143.0438.AEF0.02-01"; } typedef area-address { type string { - pattern '[0-9A-Fa-f]{2}(\.[0-9A-Fa-f]{4}){0,3}'; + pattern '[0-9A-Fa-f]{2}(\.[0-9A-Fa-f]{4}){0,6}'; } description "This type defines the area address format."; } typedef snpa { type string { length "0 .. 20"; } description @@ -4916,38 +4918,43 @@ This document also requests one new YANG module name in the YANG Module Names registry ([RFC6020]) with the following suggestion: name: ietf-isis namespace: urn:ietf:params:xml:ns:yang:ietf-isis prefix: isis reference: RFC XXXX 10. Change log for ietf-isis YANG module -10.1. From version -27 to version -28 +10.1. From version -28 to version -29 + + o Fixed area-address type pattern. The authorized number of bytes + was wrong. + +10.2. From version -27 to version -28 o Fixed non accurate description of level-type leaf. -10.2. From version -26 to version -27 +10.3. From version -26 to version -27 o Fixed XPATH to switching-capability leaf in "when" statement of psc-specific and tdm-specific containers. -10.3. From version -25 to version -26 +10.4. From version -25 to version -26 o Modify BFD reference descriptions. o Fix indentation. o "uses interface-state" was missing. -10.4. From version -24 to version -25 +10.5. From version -24 to version -25 o RPC clear-adjacency uses now an interface reference instead of a string. o Use expanded "address-family" rather than "af" in the model. o Fix pattern for area-address. o Removed unnecessary identities. @@ -4978,77 +4985,77 @@ OSPF. o Added some link attributes (GMPLS, TE, extended TE, SRLGs) in the LSDB. o Added extended-system-id typedef which contains the systemid plus the pseudonode number. o Add support of POI Purge Originator Identification. -10.5. From version -22 to version -24 +10.6. From version -22 to version -24 o Fix revision date of the module. -10.6. From version -21 to version -22 +10.7. From version -21 to version -22 o TE router-id modeling alignment with OSPF. o Add max-ecmp + feature in spf-control container (alignment with OSPF). -10.7. From version -20 to version -21 +10.8. From version -20 to version -21 o Model revision date fix -10.8. From version -19 to version -20 +10.9. From version -19 to version -20 o Moved to Yang 1.1 o Lower case enumerations o Add RFC references to features o Remove segment-routing feature o Modified BFD activation modeling -10.9. From version -18 to version -19 +10.10. From version -18 to version -19 o Align with draft-ietf-netmod-rfc8022bis. o Modify address family types as per draft-ietf-rtgwg-routing-types- 17. -10.10. From version -17 to version -18 +10.11. From version -17 to version -18 o NMDA compliancy. o Set some default values. o Align with iana-rt-types module. -10.11. From version -16 to version -17 +10.12. From version -16 to version -17 o Cosmetic fixes. o Use of rt-types model. -10.12. From version -15 to version -16 +10.13. From version -15 to version -16 o Alignment with last IETF key chain model. o lsp-log "change" leaf moved as an identity. o Incremental SPF removed from spf-log types. -10.13. From version -14 to version -15 +10.14. From version -14 to version -15 o Alignment with OSPF model done: * Added spf-control container with IETF SPF delay algorithm as a feature. * Added graceful-restart options. * Added nsr as a feature. @@ -5061,98 +5068,98 @@ * Added auto-cost container. * Moved reference-bandwidth under auto-cost container. * Added IS-IS local RIB as operational state. * Added decode-completed and raw-data leaves in the LSDB model. * Modified the notification header. -10.14. From version -13 to version -14 +10.15. From version -13 to version -14 o Segment Routing extensions are now in a separate document. -10.15. From version -12 to version -13 +10.16. From version -12 to version -13 o Move feature nlpid-control to container rather than list. o Rename multi-topology to topologies to align with OSPF. o Rename bfd/enabled to bfd/enable for consistency reason. o Add support for NSR with a feature. -10.16. From version -09 to version -12 +10.17. From version -09 to version -12 o Rename node-tag container to node-tags. -10.17. From version -08 to version -09 +10.18. From version -08 to version -09 o Added container before af list. o Added container before topology list. o Aligned LFA if per level cfg. o Align to draft-ietf-netmod-routing-cfg-23. -10.18. From version -07 to version -08 +10.19. From version -07 to version -08 o Remove selector from system-id type. o Add some default values. o Moved lists to containers+groupings for per level configuration. o remove routing-instance as per core routing model v21. o added BFD leaf (no more BFD protocol model). o changed keychain module reference. -10.19. From version -05 to version -07 +10.20. From version -05 to version -07 o Move Overload config from list to container. o Move Overload-max-metric config from list to container. o Move preference config from list to container. o Add Node flag in config. o Removed BFD config => moved to isis-bfd module. o Remove call to routing policy model. -10.20. From version -03 to version -05 +10.21. From version -03 to version -05 o Correct invalid references to previous versions of core routing model. o Remove BFD config and replace by groupings from ietf-bfd. o Adding routing-policy support through routing-policy model. -10.21. From version -02 to version -03 +10.22. From version -02 to version -03 o Reviewed config and op state groupings. o Add default value to lfa candidate-disabled. o Add enable leaf to isis container to reflect admin state. o Move to VRF centric only. o Segment routing is part os a separate module. -10.22. From version -01 to version -02 +10.23. From version -01 to version -02 o Adding IPFRR. o Adding igp-ldp-sync. o Adding segment-routing. o Adding instance reference to operational states. o Move AF type from string to identity. @@ -5164,21 +5171,21 @@ o Added modification information in lsp-log. o Removing igp-ldp-sync timer in IS-IS. o Defining hierarchy for operational states. o Adding clns-mtu. o Adding key-chain. -10.23. From version -00 to version -01 +10.24. From version -00 to version -01 o Interface metric move from af container to interface container. o Hello-padding on interface moved to hello-padding-disable with empty type. o three-way-handshake removed. o route preference changed to a choice.