draft-ietf-isis-yang-isis-cfg-28.txt   draft-ietf-isis-yang-isis-cfg-29.txt 
IS-IS Working Group S. Litkowski IS-IS Working Group S. Litkowski
Internet-Draft Orange Internet-Draft Orange
Intended status: Standards Track D. Yeung Intended status: Standards Track D. Yeung
Expires: June 29, 2019 Arrcus, Inc Expires: June 30, 2019 Arrcus, Inc
A. Lindem A. Lindem
Cisco Systems Cisco Systems
J. Zhang J. Zhang
Juniper Networks Juniper Networks
L. Lhotka L. Lhotka
CZ.NIC CZ.NIC
December 26, 2018 December 27, 2018
YANG Data Model for IS-IS protocol YANG Data Model for IS-IS protocol
draft-ietf-isis-yang-isis-cfg-28 draft-ietf-isis-yang-isis-cfg-29
Abstract Abstract
This document defines a YANG data model that can be used to configure This document defines a YANG data model that can be used to configure
and manage IS-IS protocol on network elements. and manage IS-IS protocol on network elements.
Requirements Language Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
skipping to change at page 1, line 46 skipping to change at page 1, line 46
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." 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 Notice
Copyright (c) 2018 IETF Trust and the persons identified as the Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 2, line 41 skipping to change at page 2, line 41
2.8. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.8. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 19
2.9. Operational States . . . . . . . . . . . . . . . . . . . 19 2.9. Operational States . . . . . . . . . . . . . . . . . . . 19
3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 20 3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 20
4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 20 4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 20
5. Interaction with Other YANG Modules . . . . . . . . . . . . . 21 5. Interaction with Other YANG Modules . . . . . . . . . . . . . 21
6. IS-IS YANG Module . . . . . . . . . . . . . . . . . . . . . . 22 6. IS-IS YANG Module . . . . . . . . . . . . . . . . . . . . . . 22
7. Security Considerations . . . . . . . . . . . . . . . . . . . 101 7. Security Considerations . . . . . . . . . . . . . . . . . . . 101
8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 102 8. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 102
9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 102 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 102
10. Change log for ietf-isis YANG module . . . . . . . . . . . . 102 10. Change log for ietf-isis YANG module . . . . . . . . . . . . 102
10.1. From version -27 to version -28 . . . . . . . . . . . . 102 10.1. From version -28 to version -29 . . . . . . . . . . . . 102
10.2. From version -26 to version -27 . . . . . . . . . . . . 103 10.2. From version -27 to version -28 . . . . . . . . . . . . 103
10.3. From version -25 to version -26 . . . . . . . . . . . . 103 10.3. From version -26 to version -27 . . . . . . . . . . . . 103
10.4. From version -24 to version -25 . . . . . . . . . . . . 103 10.4. From version -25 to version -26 . . . . . . . . . . . . 103
10.5. From version -22 to version -24 . . . . . . . . . . . . 104 10.5. From version -24 to version -25 . . . . . . . . . . . . 103
10.6. From version -21 to version -22 . . . . . . . . . . . . 104 10.6. From version -22 to version -24 . . . . . . . . . . . . 104
10.7. From version -20 to version -21 . . . . . . . . . . . . 104 10.7. From version -21 to version -22 . . . . . . . . . . . . 104
10.8. From version -19 to version -20 . . . . . . . . . . . . 104 10.8. From version -20 to version -21 . . . . . . . . . . . . 104
10.9. From version -18 to version -19 . . . . . . . . . . . . 104 10.9. From version -19 to version -20 . . . . . . . . . . . . 104
10.10. From version -17 to version -18 . . . . . . . . . . . . 105 10.10. From version -18 to version -19 . . . . . . . . . . . . 104
10.11. From version -16 to version -17 . . . . . . . . . . . . 105 10.11. From version -17 to version -18 . . . . . . . . . . . . 105
10.12. From version -15 to version -16 . . . . . . . . . . . . 105 10.12. From version -16 to version -17 . . . . . . . . . . . . 105
10.13. From version -14 to version -15 . . . . . . . . . . . . 105 10.13. From version -15 to version -16 . . . . . . . . . . . . 105
10.14. From version -13 to version -14 . . . . . . . . . . . . 106 10.14. From version -14 to version -15 . . . . . . . . . . . . 105
10.15. From version -12 to version -13 . . . . . . . . . . . . 106 10.15. From version -13 to version -14 . . . . . . . . . . . . 106
10.16. From version -09 to version -12 . . . . . . . . . . . . 106 10.16. From version -12 to version -13 . . . . . . . . . . . . 106
10.17. From version -08 to version -09 . . . . . . . . . . . . 106 10.17. From version -09 to version -12 . . . . . . . . . . . . 106
10.18. From version -07 to version -08 . . . . . . . . . . . . 106 10.18. From version -08 to version -09 . . . . . . . . . . . . 106
10.19. From version -05 to version -07 . . . . . . . . . . . . 106 10.19. From version -07 to version -08 . . . . . . . . . . . . 106
10.20. From version -03 to version -05 . . . . . . . . . . . . 107 10.20. From version -05 to version -07 . . . . . . . . . . . . 106
10.21. From version -02 to version -03 . . . . . . . . . . . . 107 10.21. From version -03 to version -05 . . . . . . . . . . . . 107
10.22. From version -01 to version -02 . . . . . . . . . . . . 107 10.22. From version -02 to version -03 . . . . . . . . . . . . 107
10.23. From version -00 to version -01 . . . . . . . . . . . . 108 10.23. From version -01 to version -02 . . . . . . . . . . . . 107
10.24. From version -00 to version -01 . . . . . . . . . . . . 108
11. References . . . . . . . . . . . . . . . . . . . . . . . . . 108 11. References . . . . . . . . . . . . . . . . . . . . . . . . . 108
11.1. Normative References . . . . . . . . . . . . . . . . . . 108 11.1. Normative References . . . . . . . . . . . . . . . . . . 108
11.2. Informative References . . . . . . . . . . . . . . . . . 112 11.2. Informative References . . . . . . . . . . . . . . . . . 112
Appendix A. Example of IS-IS configuration in XML . . . . . . . 112 Appendix A. Example of IS-IS configuration in XML . . . . . . . 112
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 114 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 114
1. Introduction 1. Introduction
This document defines a YANG ([RFC7950]) data model for IS-IS routing This document defines a YANG ([RFC7950]) data model for IS-IS routing
protocol. protocol.
skipping to change at page 3, line 50 skipping to change at page 4, line 4
parameters. parameters.
The figure below describes the overall structure of the isis YANG The figure below describes the overall structure of the isis YANG
module: module:
module: ietf-isis module: ietf-isis
augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route: augment /rt:routing/rt:ribs/rt:rib/rt:routes/rt:route:
+--ro metric? uint32 +--ro metric? uint32
+--ro tag* uint64 +--ro tag* uint64
+--ro route-type? enumeration +--ro route-type? enumeration
augment /if:interfaces/if:interface:
augment /if:interfaces/if:interface:
+--rw clns-mtu? uint16 +--rw clns-mtu? uint16
augment augment
/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol: /rt:routing/rt:control-plane-protocols/rt:control-plane-protocol:
+--rw isis +--rw isis
+--rw enable? boolean {admin-control}? +--rw enable? boolean {admin-control}?
+--rw level-type? level +--rw level-type? level
+--rw system-id? system-id +--rw system-id? system-id
+--rw maximum-area-addresses? uint8 {maximum-area-addresses}? +--rw maximum-area-addresses? uint8 {maximum-area-addresses}?
+--rw area-address* area-address +--rw area-address* area-address
+--rw lsp-mtu? uint16 +--rw lsp-mtu? uint16
skipping to change at page 22, line 10 skipping to change at page 22, line 10
The modules defined in this document use some groupings from ietf- The modules defined in this document use some groupings from ietf-
keychain [RFC8177]. keychain [RFC8177].
The module reuses types from [RFC6991] and [RFC8294]. The module reuses types from [RFC6991] and [RFC8294].
To support BFD for fast detection, the module relies on To support BFD for fast detection, the module relies on
[I-D.ietf-bfd-yang]. [I-D.ietf-bfd-yang].
6. IS-IS YANG Module 6. IS-IS YANG Module
<CODE BEGINS> file "ietf-isis@2018-12-26.yang" <CODE BEGINS> file "ietf-isis@2018-12-27.yang"
module ietf-isis { module ietf-isis {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-isis"; namespace "urn:ietf:params:xml:ns:yang:ietf-isis";
prefix isis; prefix isis;
import ietf-routing { import ietf-routing {
prefix "rt"; prefix "rt";
reference "RFC 8349 - A YANG Data Model for Routing reference "RFC 8349 - A YANG Data Model for Routing
skipping to change at page 24, line 23 skipping to change at page 24, line 23
Redistribution and use in source and binary forms, with or Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents Relating to IETF Documents
(http://trustee.ietf.org/license-info). (http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; This version of this YANG module is part of RFC XXXX;
see the RFC itself for full legal notices."; see the RFC itself for full legal notices.";
revision 2018-12-26 { revision 2018-12-27 {
description description
"Initial revision."; "Initial revision.";
reference "RFC XXXX"; reference "RFC XXXX";
} }
/* Identities */ /* Identities */
identity isis { identity isis {
base rt:routing-protocol; base rt:routing-protocol;
description "Identity for the IS-IS routing protocol."; description "Identity for the IS-IS routing protocol.";
skipping to change at page 30, line 6 skipping to change at page 30, line 6
pattern pattern
'[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]' '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]'
+'{4}\.[0-9][0-9]-[0-9][0-9]'; +'{4}\.[0-9][0-9]-[0-9][0-9]';
} }
description description
"This type defines the IS-IS LSP ID format using a "This type defines the IS-IS LSP ID format using a
pattern, An example LSP ID is 0143.0438.AEF0.02-01"; pattern, An example LSP ID is 0143.0438.AEF0.02-01";
} }
typedef area-address { typedef area-address {
type string { 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 description
"This type defines the area address format."; "This type defines the area address format.";
} }
typedef snpa { typedef snpa {
type string { type string {
length "0 .. 20"; length "0 .. 20";
} }
description description
skipping to change at page 102, line 45 skipping to change at page 102, line 45
This document also requests one new YANG module name in the YANG This document also requests one new YANG module name in the YANG
Module Names registry ([RFC6020]) with the following suggestion: Module Names registry ([RFC6020]) with the following suggestion:
name: ietf-isis name: ietf-isis
namespace: urn:ietf:params:xml:ns:yang:ietf-isis namespace: urn:ietf:params:xml:ns:yang:ietf-isis
prefix: isis prefix: isis
reference: RFC XXXX reference: RFC XXXX
10. Change log for ietf-isis YANG module 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. 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 o Fixed XPATH to switching-capability leaf in "when" statement of
psc-specific and tdm-specific containers. 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 Modify BFD reference descriptions.
o Fix indentation. o Fix indentation.
o "uses interface-state" was missing. 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 o RPC clear-adjacency uses now an interface reference instead of a
string. string.
o Use expanded "address-family" rather than "af" in the model. o Use expanded "address-family" rather than "af" in the model.
o Fix pattern for area-address. o Fix pattern for area-address.
o Removed unnecessary identities. o Removed unnecessary identities.
skipping to change at page 104, line 16 skipping to change at page 104, line 18
OSPF. OSPF.
o Added some link attributes (GMPLS, TE, extended TE, SRLGs) in the o Added some link attributes (GMPLS, TE, extended TE, SRLGs) in the
LSDB. LSDB.
o Added extended-system-id typedef which contains the systemid plus o Added extended-system-id typedef which contains the systemid plus
the pseudonode number. the pseudonode number.
o Add support of POI Purge Originator Identification. 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. 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 TE router-id modeling alignment with OSPF.
o Add max-ecmp + feature in spf-control container (alignment with o Add max-ecmp + feature in spf-control container (alignment with
OSPF). OSPF).
10.7. From version -20 to version -21 10.8. From version -20 to version -21
o Model revision date fix 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 Moved to Yang 1.1
o Lower case enumerations o Lower case enumerations
o Add RFC references to features o Add RFC references to features
o Remove segment-routing feature o Remove segment-routing feature
o Modified BFD activation modeling 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 Align with draft-ietf-netmod-rfc8022bis.
o Modify address family types as per draft-ietf-rtgwg-routing-types- o Modify address family types as per draft-ietf-rtgwg-routing-types-
17. 17.
10.10. From version -17 to version -18 10.11. From version -17 to version -18
o NMDA compliancy. o NMDA compliancy.
o Set some default values. o Set some default values.
o Align with iana-rt-types module. 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 Cosmetic fixes.
o Use of rt-types model. 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 Alignment with last IETF key chain model.
o lsp-log "change" leaf moved as an identity. o lsp-log "change" leaf moved as an identity.
o Incremental SPF removed from spf-log types. 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: o Alignment with OSPF model done:
* Added spf-control container with IETF SPF delay algorithm as a * Added spf-control container with IETF SPF delay algorithm as a
feature. feature.
* Added graceful-restart options. * Added graceful-restart options.
* Added nsr as a feature. * Added nsr as a feature.
skipping to change at page 106, line 5 skipping to change at page 106, line 5
* Added auto-cost container. * Added auto-cost container.
* Moved reference-bandwidth under auto-cost container. * Moved reference-bandwidth under auto-cost container.
* Added IS-IS local RIB as operational state. * Added IS-IS local RIB as operational state.
* Added decode-completed and raw-data leaves in the LSDB model. * Added decode-completed and raw-data leaves in the LSDB model.
* Modified the notification header. * 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. 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 Move feature nlpid-control to container rather than list.
o Rename multi-topology to topologies to align with OSPF. o Rename multi-topology to topologies to align with OSPF.
o Rename bfd/enabled to bfd/enable for consistency reason. o Rename bfd/enabled to bfd/enable for consistency reason.
o Add support for NSR with a feature. 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. 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 af list.
o Added container before topology list. o Added container before topology list.
o Aligned LFA if per level cfg. o Aligned LFA if per level cfg.
o Align to draft-ietf-netmod-routing-cfg-23. 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 Remove selector from system-id type.
o Add some default values. o Add some default values.
o Moved lists to containers+groupings for per level configuration. o Moved lists to containers+groupings for per level configuration.
o remove routing-instance as per core routing model v21. o remove routing-instance as per core routing model v21.
o added BFD leaf (no more BFD protocol model). o added BFD leaf (no more BFD protocol model).
o changed keychain module reference. 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 config from list to container.
o Move Overload-max-metric config from list to container. o Move Overload-max-metric config from list to container.
o Move preference config from list to container. o Move preference config from list to container.
o Add Node flag in config. o Add Node flag in config.
o Removed BFD config => moved to isis-bfd module. o Removed BFD config => moved to isis-bfd module.
o Remove call to routing policy model. 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 o Correct invalid references to previous versions of core routing
model. model.
o Remove BFD config and replace by groupings from ietf-bfd. o Remove BFD config and replace by groupings from ietf-bfd.
o Adding routing-policy support through routing-policy model. 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 Reviewed config and op state groupings.
o Add default value to lfa candidate-disabled. o Add default value to lfa candidate-disabled.
o Add enable leaf to isis container to reflect admin state. o Add enable leaf to isis container to reflect admin state.
o Move to VRF centric only. o Move to VRF centric only.
o Segment routing is part os a separate module. 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 IPFRR.
o Adding igp-ldp-sync. o Adding igp-ldp-sync.
o Adding segment-routing. o Adding segment-routing.
o Adding instance reference to operational states. o Adding instance reference to operational states.
o Move AF type from string to identity. o Move AF type from string to identity.
skipping to change at page 108, line 11 skipping to change at page 108, line 11
o Added modification information in lsp-log. o Added modification information in lsp-log.
o Removing igp-ldp-sync timer in IS-IS. o Removing igp-ldp-sync timer in IS-IS.
o Defining hierarchy for operational states. o Defining hierarchy for operational states.
o Adding clns-mtu. o Adding clns-mtu.
o Adding key-chain. 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 Interface metric move from af container to interface container.
o Hello-padding on interface moved to hello-padding-disable with o Hello-padding on interface moved to hello-padding-disable with
empty type. empty type.
o three-way-handshake removed. o three-way-handshake removed.
o route preference changed to a choice. o route preference changed to a choice.
 End of changes. 33 change blocks. 
54 lines changed or deleted 60 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/