draft-ietf-isis-yang-isis-cfg-03.txt   draft-ietf-isis-yang-isis-cfg-04.txt 
ISIS Working Group S. Litkowski ISIS Working Group S. Litkowski
Internet-Draft Orange Internet-Draft Orange
Intended status: Standards Track D. Yeung Intended status: Standards Track D. Yeung
Expires: December 25, 2015 A. Lindem Expires: January 3, 2016 A. Lindem
Cisco Systems Cisco Systems
J. Zhang J. Zhang
Juniper Networks Juniper Networks
L. Lhotka L. Lhotka
July 02, 2015
June 23, 2015
YANG Data Model for ISIS protocol YANG Data Model for ISIS protocol
draft-ietf-isis-yang-isis-cfg-03 draft-ietf-isis-yang-isis-cfg-04
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 ISIS protocol on network elements. It also defined an and manage ISIS protocol on network elements. It also defined an
extension module for segment routing configuration and operation. extension module for segment routing configuration and operation.
Requirements Language Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
skipping to change at page 1, line 44 skipping to change at page 1, line 43
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 http://datatracker.ietf.org/drafts/current/. Drafts is at http://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 December 25, 2015. This Internet-Draft will expire on January 3, 2016.
Copyright Notice Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the Copyright (c) 2015 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
(http://trustee.ietf.org/license-info) in effect on the date of (http://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 29 skipping to change at page 2, line 24
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Tree diagram . . . . . . . . . . . . . . . . . . . . . . 3 1.1. Tree diagram . . . . . . . . . . . . . . . . . . . . . . 3
2. Design of the Data Model . . . . . . . . . . . . . . . . . . 3 2. Design of the Data Model . . . . . . . . . . . . . . . . . . 3
2.1. ISIS Configuration . . . . . . . . . . . . . . . . . . . 9 2.1. ISIS Configuration . . . . . . . . . . . . . . . . . . . 9
2.2. Multitopology Parameters . . . . . . . . . . . . . . . . 10 2.2. Multitopology Parameters . . . . . . . . . . . . . . . . 10
2.3. Per-Level Parameters . . . . . . . . . . . . . . . . . . 10 2.3. Per-Level Parameters . . . . . . . . . . . . . . . . . . 10
2.4. Per-Interface Parameters . . . . . . . . . . . . . . . . 10 2.4. Per-Interface Parameters . . . . . . . . . . . . . . . . 10
2.5. ISO parameters . . . . . . . . . . . . . . . . . . . . . 11 2.5. ISO parameters . . . . . . . . . . . . . . . . . . . . . 12
2.6. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.6. IP FRR . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.7. Operational State . . . . . . . . . . . . . . . . . . . . 11 2.7. Operational State . . . . . . . . . . . . . . . . . . . . 13
3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 12 3. RPC Operations . . . . . . . . . . . . . . . . . . . . . . . 13
4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 12 4. Notifications . . . . . . . . . . . . . . . . . . . . . . . . 14
5. Segment Routing . . . . . . . . . . . . . . . . . . . . . . . 16 5. Segment Routing . . . . . . . . . . . . . . . . . . . . . . . 18
5.1. Segment Routing activation . . . . . . . . . . . . . . . 19 5.1. Segment Routing activation . . . . . . . . . . . . . . . 20
5.2. Advertising mapping server policy . . . . . . . . . . . . 19 5.2. Advertising mapping server policy . . . . . . . . . . . . 20
6. Interaction with Other YANG Modules . . . . . . . . . . . . . 19 5.3. IP Fast reroute . . . . . . . . . . . . . . . . . . . . . 21
7. ISIS YANG Module . . . . . . . . . . . . . . . . . . . . . . 20 6. Interaction with Other YANG Modules . . . . . . . . . . . . . 21
8. ISIS Segment Routing YANG Module . . . . . . . . . . . . . . 94 7. ISIS YANG Module . . . . . . . . . . . . . . . . . . . . . . 21
9. Security Considerations . . . . . . . . . . . . . . . . . . . 106 8. ISIS Segment Routing YANG Module . . . . . . . . . . . . . . 96
10. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 107 9. Security Considerations . . . . . . . . . . . . . . . . . . . 109
11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 108 10. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 110
12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 108 11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 110
13. Normative References . . . . . . . . . . . . . . . . . . . . 108 12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 110
Appendix A. Example: NETCONF <get> Reply . . . . . . . . . . . . 108 13. Normative References . . . . . . . . . . . . . . . . . . . . 110
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 111 Appendix A. Example: NETCONF <get> Reply . . . . . . . . . . . . 111
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 114
1. Introduction 1. Introduction
This document defines a YANG data model for ISIS routing protocol. This document defines a YANG data model for ISIS routing protocol.
The data model covers configuration of an ISIS routing protocol The data model covers configuration of an ISIS routing protocol
instance as well as operational states. instance as well as operational states.
1.1. Tree diagram 1.1. Tree diagram
skipping to change at page 10, line 38 skipping to change at page 10, line 34
each level. The "level-all" permits to apply a value to both levels. each level. The "level-all" permits to apply a value to both levels.
+--rw priority* [level] +--rw priority* [level]
| +--rw value? uint8 | +--rw value? uint8
| +--rw level level | +--rw level level
Example : Example :
<priority> <priority>
<value>100</value> <value>100</value>
<level>level-1</level> <level>level-1</level>
</priority> </priority>
<priority> <priority>
<value>200</value> <value>200</value>
<level>level-2</level> <level>level-2</level>
</priority> </priority>
2.4. Per-Interface Parameters 2.4. Per-Interface Parameters
The per-interface section of the ISIS instance describes the The per-interface section of the ISIS instance describes the
interface specific parameters. interface specific parameters.
The interface is a reference to an interface in the Interface YANG The interface is a reference to an interface in the Interface YANG
model. model.
Each interface has interface-specific parameters that may have a Each interface has interface-specific parameters that may have a
different value per level as described in previous section. An different value per level as described in previous section. An
interface-specific parameter always override an ISIS global parameter interface-specific parameter always override an ISIS global parameter
. .
Some parameters like BFD and hello-padding are defined as containers Some parameters like BFD and hello-padding are defined as containers
to permit easy extension by vendor specific modules. to permit easy extension by vendor specific modules.
TODO : interfaces.tree +--rw interfaces
+--rw interface* [name]
+--rw name if:interface-ref
+--rw level-type? level
+--rw lsp-pacing-interval? uint16
+--rw lsp-retransmit-interval? uint16
+--rw passive? boolean
+--rw csnp-interval? uint16
+--rw hello-padding
| +--rw enable? boolean
+--rw mesh-group-enable? mesh-group-state
+--rw mesh-group? uint8
+--rw interface-type? interface-type
+--rw enable? boolean {admin-control}?
+--rw tag* uint32 {prefix-tag}?
+--rw tag64* uint64 {prefix-tag64}?
+--rw hello-authentication* [level]
| +--rw (authentication-type)?
| | +--:(key-chain) {key-chain}?
| | | +--rw key-chain? key-chain:key-chain-ref
| | +--:(password)
| | +--rw key? string
| | +--rw (algorithm)?
| | +--:(hmac-sha1-12)
| | | ...
| | +--:(hmac-sha1-20)
| | | ...
| | +--:(md5)
| | | ...
| | +--:(sha-1)
| | | ...
| | +--:(hmac-sha-1)
| | | ...
| | +--:(hmac-sha-256)
| | | ...
| | +--:(hmac-sha-384)
| | | ...
| | +--:(hmac-sha-512)
| | ...
| +--rw level level
+--rw hello-interval* [level]
| +--rw value? uint16
| +--rw level level
+--rw hello-multiplier* [level]
| +--rw value? uint16
| +--rw level level
+--rw priority* [level]
| +--rw value? uint8
| +--rw level level
+--rw metric* [level]
| +--rw value? wide-metric
| +--rw level level
+--rw af* [af]
| +--rw af identityref
| +--rw bfd {bfd}?
| +--rw enable? boolean
+--rw mpls
| +--rw igp-ldp-sync {igp-ldp-sync}?
| +--rw enable? boolean
+--rw fast-reroute {fast-reroute}?
| +--rw lfa* [level] {lfa}?
| +--rw candidate-disabled? boolean
| +--rw enable? boolean
| +--rw remote-lfa {remote-lfa}?
| | +--rw enable? boolean
| +--rw level level
+--rw topologies* [name]
+--rw name rt:rib-ref
+--rw fast-reroute {fast-reroute}?
| +--rw lfa* [level] {lfa}?
| +--rw candidate-disabled? boolean
| +--rw enable? boolean
| +--rw remote-lfa {remote-lfa}?
| | +--rw enable? boolean
| +--rw level level
+--rw metric* [level]
+--rw value? wide-metric
+--rw level level
2.5. ISO parameters 2.5. ISO parameters
Some ISO parameters may be required. Some ISO parameters may be required.
This module augments interface configuration model to support ISO This module augments interface configuration model to support ISO
configuration parameters. configuration parameters.
The clns-mtu can be defined under the interface. The clns-mtu can be defined under the interface.
skipping to change at page 17, line 23 skipping to change at page 18, line 42
augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis:
+--rw segment-routing +--rw segment-routing
+--rw enabled? boolean +--rw enabled? boolean
+--rw bindings +--rw bindings
+--rw advertise +--rw advertise
| +--rw policies* string | +--rw policies* string
+--rw receive? boolean +--rw receive? boolean
augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface:
+--rw segment-routing +--rw segment-routing
+--rw adjacency-sid +--rw adjacency-sid
| +--rw advertise-adj-group-sid* [group-id] +--rw advertise-adj-group-sid* [group-id]
| | +--rw group-id uint32 | +--rw group-id uint32
| +--rw advertise-protection? enumeration +--rw advertise-protection? enumeration
+--rw prefix-sid augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:fast-reroute:
+--rw ipv4 +--rw ti-lfa {ti-lfa}?
| +--rw prefix-sid* [value] +--rw enable? boolean
| +--rw value-type? enumeration augment /rt:routing/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:fast-reroute/isis:lfa/isis:remote-lfa:
| +--rw value uint32 +--rw use-segment-routing-path? boolean {remote-lfa-sr}?
| +--rw last-hop-behavior? enumeration
+--rw ipv6
+--rw prefix-sid* [value]
+--rw value-type? enumeration
+--rw value uint32
+--rw last-hop-behavior? enumeration
augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis: augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis:
+--ro segment-routing +--ro segment-routing
+--ro enabled? boolean +--ro enabled? boolean
+--ro bindings +--ro bindings
+--ro advertise +--ro advertise
| +--ro policies* string | +--ro policies* string
+--ro receive? boolean +--ro receive? boolean
augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface: augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface:
+--ro segment-routing +--ro segment-routing
+--ro adjacency-sid +--ro adjacency-sid
| +--ro advertise-adj-group-sid* [group-id] +--ro advertise-adj-group-sid* [group-id]
| | +--ro group-id uint32 | +--ro group-id uint32
| +--ro advertise-protection? enumeration +--ro advertise-protection? enumeration
+--ro prefix-sid augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:interfaces/isis:interface/isis:adjacencies/isis:adjacency:
+--ro ipv4 +--ro adjacency-sid* [value]
| +--ro prefix-sid* [value] +--ro af? identityref
| +--ro value-type? enumeration +--ro value uint32
| +--ro value uint32 +--ro weight? uint8
| +--ro last-hop-behavior? enumeration +--ro protection-requested? boolean
+--ro ipv6
+--ro prefix-sid* [value]
+--ro value-type? enumeration
+--ro value uint32
+--ro last-hop-behavior? enumeration
augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:extended-is-neighbor/isis:neighbor: augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:extended-is-neighbor/isis:neighbor:
+--ro sid-list* [value] +--ro sid-list* [value]
+--ro flags? bits +--ro flags? bits
+--ro weight? uint8 +--ro weight? uint8
+--ro neighbor-id? isis:system-id +--ro neighbor-id? isis:system-id
+--ro value uint32 +--ro value uint32
augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:mt-is-neighbor/isis:neighbor: augment /rt:routing-state/rt:routing-instance/rt:routing-protocols/rt:routing-protocol/isis:isis/isis:database/isis:level-db/isis:lsp/isis:mt-is-neighbor/isis:neighbor:
+--ro sid-list* [value] +--ro sid-list* [value]
+--ro flags? bits +--ro flags? bits
+--ro weight? uint8 +--ro weight? uint8
skipping to change at page 19, line 40 skipping to change at page 21, line 5
5.2. Advertising mapping server policy 5.2. Advertising mapping server policy
The base segment routing module defines mapping server policies. By The base segment routing module defines mapping server policies. By
default, IS-IS will not advertise nor receive any mapping server default, IS-IS will not advertise nor receive any mapping server
entry. The IS-IS segment-routing module permits to advertise one or entry. The IS-IS segment-routing module permits to advertise one or
multiple mapping server policies through the "bindings/advertise/ multiple mapping server policies through the "bindings/advertise/
policies" leaf-list. The "bindings/receive" leaf permits to enable policies" leaf-list. The "bindings/receive" leaf permits to enable
the reception of mapping server entries. the reception of mapping server entries.
5.3. IP Fast reroute
IS-IS SR model augments the fast-reroute container under interface.
It brings the ability to activate TI-LFA (topology independent LFA)
and also enhances remote LFA to use segment-routing tunneling instead
of LDP.
6. Interaction with Other YANG Modules 6. Interaction with Other YANG Modules
The "isis" configuration container augments the "/rt:routing/ The "isis" configuration container augments the "/rt:routing/
rt:routing-instance/rt:routing-protocols/routing-protocol" container rt:routing-instance/rt:routing-protocols/routing-protocol" container
of the ietf-routing module by defining IS-IS specific parameters. of the ietf-routing module by defining IS-IS specific parameters.
The "isis" module augments "/if:interfaces/if:interface" with ISO The "isis" module augments "/if:interfaces/if:interface" with ISO
specific parameters. specific parameters.
The "isis" operational state container augments the "/rt:routing- The "isis" operational state container augments the "/rt:routing-
skipping to change at page 20, line 14 skipping to change at page 21, line 33
container of the ietf-routing module by defining ISIS specific container of the ietf-routing module by defining ISIS specific
operational states. operational states.
Some ISIS specific routes attributes are added to route objects of Some ISIS specific routes attributes are added to route objects of
the ietf-routing module by augmenting "/rt:routing- the ietf-routing module by augmenting "/rt:routing-
state/rt:ribs/rt:rib/rt:routes/rt:route" and "/rt:active- state/rt:ribs/rt:rib/rt:routes/rt:route" and "/rt:active-
route/rt:output/rt:route". route/rt:output/rt:route".
7. ISIS YANG Module 7. ISIS YANG Module
<CODE BEGINS> file "ietf-isis@2015-06-23.yang" <CODE BEGINS> file "ietf-isis@2015-07-02.yang"
module ietf-isis {
namespace "urn:ietf:params:xml:ns:yang:ietf-isis";
prefix isis;
import ietf-routing { module ietf-isis {
prefix "rt"; namespace "urn:ietf:params:xml:ns:yang:ietf-isis";
}
import ietf-inet-types { prefix isis;
prefix inet;
}
import ietf-yang-types { import ietf-routing {
prefix yang; prefix "rt";
} }
import ietf-interfaces { import ietf-inet-types {
prefix "if"; prefix inet;
} }
import ietf-key-chain { import ietf-yang-types {
prefix "key-chain"; prefix yang;
} }
organization import ietf-interfaces {
"IETF ISIS Working Group"; prefix "if";
}
contact import ietf-key-chain {
"WG List: &lt;mailto:isis-wg@ietf.org&gt; prefix "key-chain";
}
Editor: Stephane Litkowski organization
&lt;mailto:stephane.litkowski@orange.com&gt; "IETF ISIS Working Group";
Derek Yeung contact
&lt;mailto:myeung@cisco.com&gt; "WG List: &lt;mailto:isis-wg@ietf.org&gt;
Acee Lindem Editor: Stephane Litkowski
&lt;mailto:acee@cisco.com&gt; &lt;mailto:stephane.litkowski@orange.com&gt;
Jeffrey Zhang
&lt;mailto:zzhang@juniper.net&gt;
Ladislav Lhotka
&lt;mailto:llhotka@nic.cz&gt;
Yi Yang
&lt;mailto:yiya@cisco.com&gt;
Dean Bogdanovic
&lt;mailto:deanb@juniper.net&gt;
Kiran Agrahara Sreenivasa
&lt;mailto:kkoushik@brocade.com&gt;
Yingzhen Qu
&lt;mailto:yiqu@cisco.com&gt;
Jeff Tantsura
&lt;mailto:jeff.tantsura@ericsson.com&gt;
"; Derek Yeung
&lt;mailto:myeung@cisco.com&gt;
Acee Lindem
&lt;mailto:acee@cisco.com&gt;
Jeffrey Zhang
&lt;mailto:zzhang@juniper.net&gt;
Ladislav Lhotka
&lt;mailto:llhotka@nic.cz&gt;
Yi Yang
&lt;mailto:yiya@cisco.com&gt;
Dean Bogdanovic
&lt;mailto:deanb@juniper.net&gt;
Kiran Agrahara Sreenivasa
&lt;mailto:kkoushik@brocade.com&gt;
Yingzhen Qu
&lt;mailto:yiqu@cisco.com&gt;
Jeff Tantsura
&lt;mailto:jeff.tantsura@ericsson.com&gt;
description ";
"The YANG module defines a generic configuration model for
ISIS common across all of the vendor implementations.";
revision 2015-06-22 { description
description "The YANG module defines a generic configuration model for
" * Segment routing is part os a separate module."; ISIS common across all of the vendor implementations.";
reference "draft-ietf-isis-yang-isis-03";
}
revision 2015-03-03 {
description
" * Reviewed config and op state groupings.
* Add default value to lfa candidate-disabled
* Add enable leaf to isis container to reflect admin state
* Move to VRF centric only
";
reference "";
}
revision 2015-03-03 {
description
"
* Defining hierarchy for operational states
* Adding CLNS MTU
* Adding Keychain
";
reference "draft-ietf-isis-yang-isis-02";
}
revision 2015-02-20 {
description
"
* Removing igp-ldp-sync timer in IS-IS
revision 2015-06-22 {
description
" * Segment routing is part os a separate module.";
reference "draft-ietf-isis-yang-isis-03";
}
revision 2015-03-03 {
description
" * Reviewed config and op state groupings.
* Add default value to lfa candidate-disabled
* Add enable leaf to isis container to reflect admin state
* Move to VRF centric only
"; ";
reference ""; reference "";
} }
revision 2014-12-15 { revision 2015-03-03 {
description description
" "
* Adding IPFRR * Defining hierarchy for operational states
* Adding igp-ldp sync * Adding CLNS MTU
* Adding segment routing * Adding Keychain
* Adding instance reference to operational states. ";
* Move AF type from string to identity reference "draft-ietf-isis-yang-isis-02";
* Updated router-capability in LSDB description. }
* packet counters moved to interface-packet-counters. revision 2015-02-20 {
* Added modification information in lsp-log description
"; "
reference ""; * Removing igp-ldp-sync timer in IS-IS
}
revision 2014-10-24 {
description
"
* Change hello-padding to container
* Change bfd to container
* Make BFD a feature
* Creates mpls-te container and put router-id
inside
* Remove GR helper disable and timers
";
reference "draft-ietf-isis-yang-isis-cfg-01";
}
revision 2014-10-21 {
description
"
* Interface metric move from af container to interface
container
* Hello-padding on interface moved to hello-padding-disable
with empty type
* three-way-handshake removed
* route preference changed to a choice
* csnp-authentication/psnp-authentication merged
to authentication container
* lsp-gen-interval-exp-delay removed
* Added overload-max-metric feature
* overload-max-metric is in a separate container
";
reference "";
} ";
reference "";
}
revision 2014-12-15 {
description
"
* Adding IPFRR
* Adding igp-ldp sync
* Adding segment routing
* Adding instance reference to operational states.
* Move AF type from string to identity
* Updated router-capability in LSDB description.
* packet counters moved to interface-packet-counters.
* Added modification information in lsp-log
";
reference "";
}
revision 2014-10-24 {
description
"
* Change hello-padding to container
* Change bfd to container
* Make BFD a feature
* Creates mpls-te container and put router-id
inside
* Remove GR helper disable and timers
";
revision 2014-10-07 { reference "draft-ietf-isis-yang-isis-cfg-01";
description }
" revision 2014-10-21 {
* Removed spf parameters (should be part of description
vendor specific extensions. "
* Removed hello parameters at global level. * Interface metric move from af container to interface
* Interface configuration uses a string rather container
than a reference. This permits to map to some * Hello-padding on interface moved to hello-padding-disable
vendor specific configuration. with empty type
"; * three-way-handshake removed
reference "draft-ietf-isis-yang-isis-00"; * route preference changed to a choice
} * csnp-authentication/psnp-authentication merged
revision 2014-09-26 { to authentication container
description * lsp-gen-interval-exp-delay removed
" * Added overload-max-metric feature
* Add BFD support * overload-max-metric is in a separate container
* remove max-elements to max-area-addresses ";
"; reference "";
reference ""; }
}
revision 2014-09-11 {
description
"
* Add level parameter to ispf and spf delay
* Add LSP generation as a feature
* Make lsp-refresh a feature
* Change parameter container to list
";
reference "";
}
revision 2014-09-05 {
description
" Rewrite of the global hierarchy.";
reference "";
}
revision 2014-08-06 {
description
"
* isis-state renamed to isis.
* Add GR support
* Add meshgroup support
* Add CLNS support
* Add 64bits tags
* Add notifications to be aligned with MIB4444
* Add packet-counters, interface-counters, system-counters
states
* Add 3-way handshake support revision 2014-10-07 {
* Rename isis-adjacency-updown to adjacency-change description
* Add notification for LSP reception "
* Use feature for reference BW * Removed spf parameters (should be part of
* Add lsp-retransmit-interval on interfaces vendor specific extensions.
* Rename lsp-interval to lsp-pacing-interval * Removed hello parameters at global level.
* Add ispf support as feature * Interface configuration uses a string rather
* Add spf delay support as feature (2step & exp backoff) than a reference. This permits to map to some
* Add maximum-area-addresses vendor specific configuration.
* Add default-metric ";
"; reference "draft-ietf-isis-yang-isis-00";
reference "RFC XXXX: YANG Data Model for ISIS Protocol"; }
} revision 2014-09-26 {
revision 2014-06-25 { description
description " "
* isis-cfg renamed to isis. * Add BFD support
* Add precisions on authentication-keys in description * remove max-elements to max-area-addresses
"; ";
reference "draft-litkowski-isis-yang-isis-01"; reference "";
} }
revision 2014-09-11 {
description
"
* Add level parameter to ispf and spf delay
* Add LSP generation as a feature
* Make lsp-refresh a feature
* Change parameter container to list
";
revision 2014-06-20 { reference "";
description " }
* isis-op renamed to isis-state. revision 2014-09-05 {
* Multiple instances under ISIS are removed. description
* interface-cfg grouping removed and content " Rewrite of the global hierarchy.";
is directly included in container isis. reference "";
* TLVxx renamed with human-readable name in isis-database. }
TLV reference are putted in description. revision 2014-08-06 {
* Reference to core routing module were fixed. description
* Namespace fixed. "
* Add simple-iso-address type. * isis-state renamed to isis.
* area-id and system-id in ISIS container are merged to * Add GR support
nsap-address. * Add meshgroup support
* Add isis-system-id type. * Add CLNS support
* Add isis-lsp-id type. * Add 64bits tags
* Add remaining-lifetime leaf in isis-database. * Add notifications to be aligned with MIB4444
* Add TLV2 (is-neighbor) in isis-database. * Add packet-counters, interface-counters, system-counters
* Renamed some container name for consistency states
reason ('isis-' prefixed). * Add 3-way handshake support
* Add new identities isis-cfg and isis-state. * Rename isis-adjacency-updown to adjacency-change
* Add descriptions. * Add notification for LSP reception
* Add notification isis-adjacency-updown. * Use feature for reference BW
* Add RPC clear-isis-adjacency and clear-isis-database. * Add lsp-retransmit-interval on interfaces
"; * Rename lsp-interval to lsp-pacing-interval
reference "draft-litkowski-isis-yang-isis-00"; * Add ispf support as feature
} * Add spf delay support as feature (2step & exp backoff)
revision 2014-06-11 { * Add maximum-area-addresses
description "Initial revision."; * Add default-metric
reference "draft-litkowski-netmod-isis-cfg-00"; ";
} reference "RFC XXXX: YANG Data Model for ISIS Protocol";
identity isis { }
base rt:routing-protocol; revision 2014-06-25 {
description "Identity for the ISIS routing protocol."; description "
} * isis-cfg renamed to isis.
* Add precisions on authentication-keys in description
";
reference "draft-litkowski-isis-yang-isis-01";
}
identity isis-adjacency-change { revision 2014-06-20 {
description "Identity for the ISIS routing protocol description "
adjacency state."; * isis-op renamed to isis-state.
} * Multiple instances under ISIS are removed.
* interface-cfg grouping removed and content
is directly included in container isis.
* TLVxx renamed with human-readable name in isis-database.
TLV reference are putted in description.
* Reference to core routing module were fixed.
identity clear-isis-database { * Namespace fixed.
description "Identity for the ISIS routing protocol * Add simple-iso-address type.
database reset action."; * area-id and system-id in ISIS container are merged to
} nsap-address.
* Add isis-system-id type.
* Add isis-lsp-id type.
* Add remaining-lifetime leaf in isis-database.
* Add TLV2 (is-neighbor) in isis-database.
* Renamed some container name for consistency
reason ('isis-' prefixed).
* Add new identities isis-cfg and isis-state.
* Add descriptions.
* Add notification isis-adjacency-updown.
* Add RPC clear-isis-adjacency and clear-isis-database.
";
reference "draft-litkowski-isis-yang-isis-00";
}
identity clear-isis-adjacency { revision 2014-06-11 {
description "Identity for the ISIS routing protocol description "Initial revision.";
adjacency reset action."; reference "draft-litkowski-netmod-isis-cfg-00";
} }
identity isis {
base rt:routing-protocol;
description "Identity for the ISIS routing protocol.";
}
/* Feature definitions */ identity isis-adjacency-change {
description "Identity for the ISIS routing protocol
adjacency state.";
}
feature key-chain { identity clear-isis-database {
description description "Identity for the ISIS routing protocol
"Support of keychain for authentication."; database reset action.";
} }
feature segment-routing {
description
"Support of segment-routing.";
}
feature node-tag {
description
"Support of node tag.";
}
feature igp-ldp-sync {
description
"Support of RFC5443.";
}
feature fast-reroute {
description
"Support of IPFRR.";
}
feature lfa {
description
"Support of Loop Free Alternates.";
}
feature remote-lfa {
description
"Support of remote Loop Free Alternates.";
}
feature bfd { identity clear-isis-adjacency {
description description "Identity for the ISIS routing protocol
"Support of BFD."; adjacency reset action.";
} }
feature overload-max-metric {
description
"Support of overload by setting
all links to max metric.";
}
feature prefix-tag {
description
"Add 32bit tag to prefixes";
}
feature prefix-tag64 {
description
"Add 64bit tag to prefixes";
}
feature reference-bandwidth {
description
"Use a reference bandwidth to compute metric.";
}
feature ipv4-router-id {
description
"Support of IPv4 router ID configuration under ISIS.";
}
feature ipv6-router-id { /* Feature definitions */
description
"Support of IPv6 router ID configuration under ISIS.";
}
feature multi-topology { feature key-chain {
description description
"Multitopology routing support."; "Support of keychain for authentication.";
}
feature nlpid-control {
description
"This feature controls the advertisement
of support NLPID within ISIS configuration.";
}
feature graceful-restart {
description
"Graceful restart support as per RFC5306.";
}
feature lsp-refresh { }
description feature segment-routing {
"Configuration of LSP refresh interval."; description
} "Support of segment-routing.";
}
feature node-tag {
description
"Support of node tag.";
}
feature igp-ldp-sync {
description
"Support of RFC5443.";
}
feature fast-reroute {
description
"Support of IPFRR.";
}
feature lfa {
description
"Support of Loop Free Alternates.";
}
feature remote-lfa {
description
"Support of remote Loop Free Alternates.";
}
feature maximum-area-addresses { feature bfd {
description description
"Support of maximum-area-addresses config."; "Support of BFD.";
} }
feature overload-max-metric {
description
"Support of overload by setting
all links to max metric.";
}
feature prefix-tag {
description
"Add 32bit tag to prefixes";
}
feature prefix-tag64 {
description
"Add 64bit tag to prefixes";
}
feature reference-bandwidth {
description
"Use a reference bandwidth to compute metric.";
}
feature ipv4-router-id {
description
"Support of IPv4 router ID configuration under ISIS.";
}
feature admin-control { feature ipv6-router-id {
description description
"Control administrative state of ISIS."; "Support of IPv6 router ID configuration under ISIS.";
} }
/* Type definitions */ feature multi-topology {
description
"Multitopology routing support.";
}
feature nlpid-control {
description
"This feature controls the advertisement
of support NLPID within ISIS configuration.";
}
feature graceful-restart {
description
"Graceful restart support as per RFC5306.";
}
typedef instance-state-ref { feature lsp-refresh {
type leafref { description
path "/rt:routing-state/rt:routing-instance/" "Configuration of LSP refresh interval.";
+"rt:routing-protocols/rt:routing-protocol/rt:name"; }
}
description
"This type is used for leaves that reference state data of
an ISIS protocol instance.";
}
typedef admin-state { feature maximum-area-addresses {
type enumeration { description
enum "up" { "Support of maximum-area-addresses config.";
description }
"Up state";
}
enum "down" {
description
"Down state";
}
}
description
"Administrative state of a component.";
}
typedef oper-state {
type enumeration {
enum "up" {
description
"Up state";
}
enum "down" {
description
"Down state";
}
}
description
"Operational state of a component.";
}
typedef circuit-id {
type uint8;
description
"This type defines the circuit ID
associated with an interface.";
}
typedef extended-circuit-id { feature admin-control {
type uint32; description
description "Control administrative state of ISIS.";
"This type defines the extended circuit ID }
associated with an interface.";
}
typedef interface-type { /* Type definitions */
type enumeration {
enum broadcast {
description "Broadcast interface type.
Would result in DIS election.";
}
enum point-to-point {
description
"Point to point interface type.";
}
}
description
"This type defines the type of adjacency
to be established on the interface.
This is affecting the type of hello
message that would be used.";
} typedef instance-state-ref {
type leafref {
path "/rt:routing-state/rt:routing-instance/"
+"rt:routing-protocols/rt:routing-protocol/rt:name";
}
description
"This type is used for leaves that reference state data of
an ISIS protocol instance.";
}
typedef level { typedef admin-state {
type enumeration { type enumeration {
enum "level-1" { enum "up" {
description description
"This enum describes L1 only capability."; "Up state";
} }
enum "level-2" { enum "down" {
description description
"This enum describes L2 only capability."; "Down state";
} }
enum "level-all" { }
description description
"This enum describes both levels capability."; "Administrative state of a component.";
} }
} typedef oper-state {
default "level-all"; type enumeration {
description enum "up" {
"This type defines ISIS level of an object."; description
"Up state";
}
enum "down" {
description
"Down state";
}
}
description
"Operational state of a component.";
}
typedef circuit-id {
type uint8;
description
"This type defines the circuit ID
associated with an interface.";
}
} typedef extended-circuit-id {
type uint32;
description
"This type defines the extended circuit ID
associated with an interface.";
}
typedef level-number { typedef interface-type {
type uint8 { type enumeration {
range "1 .. 2"; enum broadcast {
} description "Broadcast interface type.
description Would result in DIS election.";
"This type defines a current ISIS level."; }
} enum point-to-point {
description
"Point to point interface type.";
}
}
description
"This type defines the type of adjacency
to be established on the interface.
This is affecting the type of hello
message that would be used.";
typedef lsp-id { }
type string {
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 ISIS LSP ID using pattern,
system id looks like : 0143.0438.AeF0.02-01";
}
typedef area-address { typedef level {
type string { type enumeration {
pattern '[0-9A-Fa-f]{2}\.([0-9A-Fa-f]{4}\.){0,3}'; enum "level-1" {
} description
description "This enum describes L1 only capability.";
"This type defines the area address."; }
} enum "level-2" {
typedef snpa { description
type string { "This enum describes L2 only capability.";
length "0 .. 20"; }
} enum "level-all" {
description description
"This type defines Subnetwork Point of Attachement format."; "This enum describes both levels capability.";
}
}
default "level-all";
description
"This type defines ISIS level of an object.";
} }
typedef system-id { typedef level-number {
type string { type uint8 {
pattern range "1 .. 2";
'[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.00'; }
} description
description "This type defines a current ISIS level.";
"This type defines ISIS system id using pattern, }
system id looks like : 0143.0438.AeF0.00";
}
typedef wide-metric { typedef lsp-id {
type uint32 { type string {
range "0 .. 16777215"; pattern
} '[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]'
description +'{4}\.[0-9][0-9]-[0-9][0-9]';
"This type defines wide style format }
of ISIS metric."; description
} "This type defines ISIS LSP ID using pattern,
system id looks like : 0143.0438.AeF0.02-01";
}
typedef std-metric { typedef area-address {
type uint8 { type string {
range "0 .. 63"; pattern '[0-9A-Fa-f]{2}\.([0-9A-Fa-f]{4}\.){0,3}';
} }
description description
"This type defines old style format "This type defines the area address.";
of ISIS metric."; }
}
typedef mesh-group-state { typedef snpa {
type enumeration { type string {
enum "meshInactive" { length "0 .. 20";
description }
"Interface is not part of a mesh group."; description
} "This type defines Subnetwork Point of Attachement format.";
enum "meshSet" {
description
"Interface is part of a mesh group.";
}
enum "meshBlocked" {
description
"LSPs must not be flooded over that interface.";
}
}
description
"This type describes meshgroup state of an interface";
}
/* Grouping definitions */ }
grouping admin-control { typedef system-id {
type string {
pattern
'[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.00';
}
description
"This type defines ISIS system id using pattern,
system id looks like : 0143.0438.AeF0.00";
}
leaf enable { typedef wide-metric {
if-feature admin-control; type uint32 {
type boolean; range "0 .. 16777215";
default true; }
description description
"Control the administrative "This type defines wide style format
state."; of ISIS metric.";
} }
description typedef std-metric {
"Grouping for admin control."; type uint8 {
} range "0 .. 63";
}
description
"This type defines old style format
of ISIS metric.";
}
grouping adjacency-state { typedef mesh-group-state {
container adjacencies { type enumeration {
list adjacency { enum "meshInactive" {
leaf neighbor-systype { description
type level; "Interface is not part of a mesh group.";
description }
"Type of neighboring system"; enum "meshSet" {
description
"Interface is part of a mesh group.";
}
enum "meshBlocked" {
description
"LSPs must not be flooded over that interface.";
}
}
description
"This type describes meshgroup state of an interface";
}
} /* Grouping definitions */
leaf neighbor-sysid {
type system-id;
description
"The system-id of the neighbor";
} grouping admin-control {
leaf neighbor-extended-circuit-id {
type extended-circuit-id;
description
"Circuit ID of the neighbor";
}
leaf neighbor-snpa {
type snpa;
description
"SNPA of the neighbor";
}
leaf usage {
type level;
description
"How is the adjacency used ?
On a p2p link this might be level 1 and 2,
but on a LAN, the usage will be level 1
between peers at L1 or level 2 between
peers at L2.";
}
leaf hold-timer {
type uint16;
description
"The holding time in seconds for this
adjacency. This value is based on
received hello PDUs and the elapsed
time since receipt.";
}
leaf neighbor-priority {
type uint8 {
range "0 .. 127";
}
description
"Priority of the neighboring IS for becoming
the DIS.";
}
leaf lastuptime {
type yang:timestamp;
description
"When the adjacency most recently entered
state 'up', measured in hundredths of a
second since the last reinitialization of
the network management subsystem.
The value is 0 if the adjacency has never
been in state 'up'.";
} leaf enable {
leaf state { if-feature admin-control;
type enumeration { type boolean;
enum "Up" { default true;
description description
"This state describes that "Control the administrative
adjacency is established."; state.";
} }
enum "Down" {
description
"This state describes that
adjacency is NOT established.";
}
enum "Init" {
description
"This state describes that
adjacency is establishing.";
}
enum "Failed" {
description
"This state describes that
adjacency is failed.";
}
}
description
"This leaf describes the state of the
interface.";
}
description description
"List of operational adjacencies."; "Grouping for admin control.";
} }
description
"This container lists the adjacencies of
the local node.";
}
description
"Adjacency state";
}
grouping fast-reroute-global-state { grouping adjacency-state {
container protected-routes { container adjacencies {
list af-stats { list adjacency {
key "af prefix alternate"; leaf neighbor-systype {
type level;
description
"Type of neighboring system";
leaf af { }
type identityref { leaf neighbor-sysid {
base rt:address-family; type system-id;
} description
description "The system-id of the neighbor";
"Address-family";
}
leaf prefix {
type string;
description
"Protected prefix.";
}
leaf alternate {
type string;
description
"Alternate nexthop for the prefix.";
}
leaf alternate-type {
type enumeration {
enum equalcost {
description
"ECMP alternate.";
}
enum lfa {
description
"LFA alternate.";
}
enum remote-lfa {
description
"Remote LFA alternate.";
}
enum tunnel {
description
"Tunnel based alternate
(like RSVP-TE or GRE).";
}
enum ti-lfa {
description
"TI LFA alternate.";
}
enum mrt {
description
"MRT alternate.";
}
enum other {
description
"Unknown alternate type.";
}
}
description
"Type of alternate.";
}
leaf best {
type boolean;
description
"describes if the alternate is the best one.";
}
leaf non-best-reason {
type string;
description
"Information field to describe why the alternate
is not best.";
}
leaf protection-available {
type bits {
bit nodeprotect {
position 0;
description
"Node protection available.";
}
bit linkprotect {
position 1;
description
"Link protection available.";
}
bit srlgprotect {
position 2;
description
"SRLG protection available.";
}
bit downstreamprotect {
position 3;
description
"Downstream protection available.";
}
bit other {
position 4;
description
"Other protection available.";
}
}
description
"Describes protection provided by the alternate.";
}
leaf alternate-metric1 {
type uint32;
description
"Metric from PLR to destination
through the alternate path.";
}
leaf alternate-metric2 {
type uint32;
description
"Metric from PLR to the alternate node";
}
leaf alternate-metric3 {
type uint32;
description
"Metric from alternate node to the destination";
}
description }
"Per AF statistics."; leaf neighbor-extended-circuit-id {
} type extended-circuit-id;
description description
"List of prefixes that are protected."; "Circuit ID of the neighbor";
} }
leaf neighbor-snpa {
type snpa;
description
"SNPA of the neighbor";
}
leaf usage {
type level;
description
"How is the adjacency used ?
On a p2p link this might be level 1 and 2,
but on a LAN, the usage will be level 1
between peers at L1 or level 2 between
peers at L2.";
}
leaf hold-timer {
type uint16;
description
"The holding time in seconds for this
adjacency. This value is based on
received hello PDUs and the elapsed
time since receipt.";
}
leaf neighbor-priority {
type uint8 {
range "0 .. 127";
}
description
"Priority of the neighboring IS for becoming
the DIS.";
}
leaf lastuptime {
type yang:timestamp;
description
"When the adjacency most recently entered
state 'up', measured in hundredths of a
second since the last reinitialization of
the network management subsystem.
The value is 0 if the adjacency has never
been in state 'up'.";
container nonprotected-routes { }
list af-stats { leaf state {
key "af prefix"; type enumeration {
enum "Up" {
description
"This state describes that
adjacency is established.";
}
enum "Down" {
description
"This state describes that
adjacency is NOT established.";
}
enum "Init" {
description
"This state describes that
adjacency is establishing.";
}
enum "Failed" {
description
"This state describes that
adjacency is failed.";
}
}
description
"This leaf describes the state of the
interface.";
}
leaf af { description
type identityref { "List of operational adjacencies.";
base rt:address-family; }
} description
description "This container lists the adjacencies of
"Address-family"; the local node.";
} }
leaf prefix { description
type string; "Adjacency state";
description
"Protected prefix.";
}
description
"Per AF statistics.";
}
description
"List of prefixes that are not protected.";
}
list protection-statistics { }
key frr-protection-method;
leaf frr-protection-method { grouping fast-reroute-global-state {
type string; container protected-routes {
description list af-stats {
"Protection method used."; key "af prefix alternate";
}
list af-stats {
key af;
leaf af { leaf af {
type identityref { type identityref {
base rt:address-family; base rt:address-family;
} }
description description
"Address-family"; "Address-family";
} }
leaf total-routes { leaf prefix {
type uint32; type string;
description description
"Total prefixes."; "Protected prefix.";
} }
leaf unprotected-routes { leaf alternate {
type uint32; type string;
description description
"Total of prefixes who are "Alternate nexthop for the prefix.";
not protected."; }
} leaf alternate-type {
leaf protected-routes { type enumeration {
type uint32; enum equalcost {
description description
"Total of prefixes who are "ECMP alternate.";
protected."; }
} enum lfa {
leaf linkprotected-routes { description
type uint32; "LFA alternate.";
description }
"Total of prefixes who are enum remote-lfa {
link protected."; description
} "Remote LFA alternate.";
leaf nodeprotected-routes { }
type uint32; enum tunnel {
description description
"Total of prefixes who are "Tunnel based alternate
node protected."; (like RSVP-TE or GRE).";
} }
description enum ti-lfa {
"Per AF statistics."; description
} "TI LFA alternate.";
description }
"Global protection statistics."; enum mrt {
} description
description "MRT alternate.";
"IPFRR states."; }
} enum other {
description
"Unknown alternate type.";
}
}
description
"Type of alternate.";
}
leaf best {
type boolean;
description
"describes if the alternate is the best one.";
}
leaf non-best-reason {
type string;
description
"Information field to describe why the alternate
is not best.";
}
leaf protection-available {
type bits {
bit nodeprotect {
position 0;
description
"Node protection available.";
}
bit linkprotect {
position 1;
description
"Link protection available.";
}
bit srlgprotect {
position 2;
description
"SRLG protection available.";
}
bit downstreamprotect {
position 3;
description
"Downstream protection available.";
}
bit other {
position 4;
description
"Other protection available.";
}
}
description
"Describes protection provided by the alternate.";
}
leaf alternate-metric1 {
type uint32;
description
"Metric from PLR to destination
through the alternate path.";
}
leaf alternate-metric2 {
type uint32;
description
"Metric from PLR to the alternate node";
}
leaf alternate-metric3 {
type uint32;
description
"Metric from alternate node to the destination";
}
grouping notification-instance-hdr { description
description "Per AF statistics.";
"This group describes common instance specific }
data for notifications."; description
leaf instance-name { "List of prefixes that are protected.";
type string; }
description
"Describes the name of the ISIS instance.";
}
leaf instance-level {
type level;
description
"Describes the ISIS level of the instance.";
}
}
grouping notification-interface-hdr { container nonprotected-routes {
description list af-stats {
"This group describes common interface specific key "af prefix";
data for notifications.";
leaf interface-name {
type string;
description
"Describes the name of the ISIS interface.";
}
leaf interface-level {
type level;
description
"Describes the ISIS level of the interface.";
}
leaf extended-circuit-id {
type extended-circuit-id;
description
"Describes the extended circuit-id of the interface.";
}
}
grouping route-content { leaf af {
description type identityref {
"This group add isis-specific route properties."; base rt:address-family;
leaf metric { }
type uint32; description
description "Address-family";
"This leaf describes ISIS metric of a route."; }
} leaf prefix {
leaf-list tag { type string;
type uint64; description
description "Protected prefix.";
"This leaf describes list of tags associated }
with the route. The leaf describes both description
32bits and 64bits tags."; "Per AF statistics.";
} }
leaf route-type { description
type enumeration { "List of prefixes that are not protected.";
enum l2-up-internal { }
description "Level 2 internal route
and not leaked to a lower level";
}
enum l1-up-internal {
description "Level 1 internal route
and not leaked to a lower level";
}
enum l2-up-external {
description "Level 2 external route
and not leaked to a lower level";
}
enum l1-up-external {
description "Level 1 external route
and not leaked to a lower level";
}
enum l2-down-internal {
description "Level 2 internal route
and leaked to a lower level";
}
enum l1-down-internal {
description "Level 1 internal route
and leaked to a lower level";
}
enum l2-down-external {
description "Level 2 external route
and leaked to a lower level";
}
enum l1-down-external {
description "Level 1 external route
and leaked to a lower level";
}
}
description
"This leaf describes the type of ISIS route.";
}
}
grouping fast-reroute-global-cfg { list protection-statistics {
description key frr-protection-method;
"This group defines global
configuration of IPFRR.";
container lfa { leaf frr-protection-method {
if-feature lfa; type string;
description description
"This container may be "Protection method used.";
augmented with global parameters }
for LFA. list af-stats {
Creating the container has no effect on key af;
LFA activation.";
}
} leaf af {
type identityref {
base rt:address-family;
}
description
"Address-family";
}
leaf total-routes {
type uint32;
description
"Total prefixes.";
}
leaf unprotected-routes {
type uint32;
description
"Total of prefixes who are
not protected.";
}
leaf protected-routes {
type uint32;
description
"Total of prefixes who are
protected.";
}
leaf linkprotected-routes {
type uint32;
description
"Total of prefixes who are
link protected.";
}
leaf nodeprotected-routes {
type uint32;
description
"Total of prefixes who are
node protected.";
}
description
"Per AF statistics.";
}
grouping fast-reroute-if-cfg { description
description "Global protection statistics.";
"This group defines interface }
configuration of IPFRR."; description
"IPFRR states.";
}
list lfa { grouping notification-instance-hdr {
if-feature lfa; description
"This group describes common instance specific
data for notifications.";
leaf instance-name {
type string;
description
"Describes the name of the ISIS instance.";
}
leaf instance-level {
type level;
description
"Describes the ISIS level of the instance.";
}
}
key level; grouping notification-interface-hdr {
description
"This group describes common interface specific
data for notifications.";
leaf interface-name {
type string;
description
"Describes the name of the ISIS interface.";
}
leaf interface-level {
type level;
description
"Describes the ISIS level of the interface.";
}
leaf extended-circuit-id {
type extended-circuit-id;
description
"Describes the extended circuit-id of the interface.";
}
}
leaf candidate-disabled { grouping route-content {
type boolean; description
default false; "This group add isis-specific route properties.";
description leaf metric {
"Prevent the interface to be used as backup."; type uint32;
} description
leaf enable { "This leaf describes ISIS metric of a route.";
type boolean; }
description leaf-list tag {
"Activates LFA. type uint64;
This model assumes activation description
of per-prefix LFA."; "This leaf describes list of tags associated
} with the route. The leaf describes both
32bits and 64bits tags.";
}
leaf route-type {
type enumeration {
enum l2-up-internal {
description "Level 2 internal route
and not leaked to a lower level";
}
enum l1-up-internal {
description "Level 1 internal route
and not leaked to a lower level";
}
enum l2-up-external {
description "Level 2 external route
and not leaked to a lower level";
}
enum l1-up-external {
description "Level 1 external route
and not leaked to a lower level";
}
enum l2-down-internal {
description "Level 2 internal route
and leaked to a lower level";
}
enum l1-down-internal {
description "Level 1 internal route
and leaked to a lower level";
}
enum l2-down-external {
description "Level 2 external route
and leaked to a lower level";
}
enum l1-down-external {
description "Level 1 external route
and leaked to a lower level";
}
}
description
"This leaf describes the type of ISIS route.";
}
}
container remote-lfa { grouping fast-reroute-global-cfg {
if-feature remote-lfa; description
leaf enable { "This group defines global
type boolean; configuration of IPFRR.";
description
"Activates rLFA.";
}
description
"remote LFA configuration.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"LFA configuration.";
}
} container lfa {
if-feature lfa;
description
"This container may be
augmented with global parameters
for LFA.
Creating the container has no effect on
LFA activation.";
}
grouping prefix-ipv4-std { }
description
"This group defines attributes of an
IPv4 standard prefix.";
leaf up-down {
type boolean;
description
"This leaf expresses the value of up/down bit.";
}
leaf i-e {
type boolean;
description
"This leaf expresses the value of I/E bit.";
}
leaf ip-prefix {
type inet:ipv4-address;
description
"This leaf describes the IPv4 prefix";
}
leaf prefix-len {
type uint8;
description
"This leaf describes the IPv4 prefix len in bits";
}
leaf default-metric {
type std-metric;
description
"This leaf describes the ISIS default metric value";
}
container delay-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description grouping fast-reroute-if-cfg {
"This container defines the ISIS delay metric."; description
} "This group defines interface
container expense-metric { configuration of IPFRR.";
leaf metric {
type std-metric;
description
"This leaf describes the ISIS expense metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS expense metric.";
}
container error-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS error metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description list lfa {
"This container defines the ISIS error metric."; if-feature lfa;
}
}
grouping prefix-ipv4-extended { key level;
description
"This group defines attributes of an
IPv4 extended prefix.";
leaf up-down {
type boolean;
description
"This leaf expresses the value of up/down bit.";
}
leaf ip-prefix {
type inet:ipv4-address;
description
"This leaf describes the IPv4 prefix";
}
leaf prefix-len {
type uint8;
description
"This leaf describes the IPv4 prefix len in bits";
}
leaf metric { leaf candidate-disabled {
type wide-metric; type boolean;
description default false;
"This leaf describes the ISIS metric value"; description
} "Prevent the interface to be used as backup.";
leaf-list tag { }
type uint32; leaf enable {
description type boolean;
"This leaf describes a list of tags associated with description
the prefix."; "Activates LFA.
} This model assumes activation
leaf-list tag64 { of per-prefix LFA.";
type uint64; }
description
"This leaf describes a list of 64-bit tags associated with
the prefix.";
}
} container remote-lfa {
if-feature remote-lfa;
leaf enable {
type boolean;
description
"Activates rLFA.";
}
description
"remote LFA configuration.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"LFA configuration.";
}
grouping prefix-ipv6-extended { }
description
"This group defines attributes of an
IPv6 prefix.";
leaf up-down {
type boolean;
description
"This leaf expresses the value of up/down bit.";
}
leaf ip-prefix {
type inet:ipv6-address;
description
"This leaf describes the IPv6 prefix";
}
leaf prefix-len {
type uint8;
description
"This leaf describes the IPv4 prefix len in bits";
}
leaf metric { grouping prefix-ipv4-std {
type wide-metric; description
description "This group defines attributes of an
"This leaf describes the ISIS metric value"; IPv4 standard prefix.";
} leaf up-down {
leaf-list tag { type boolean;
type uint32; description
description "This leaf expresses the value of up/down bit.";
"This leaf describes a list of tags associated with }
the prefix."; leaf i-e {
} type boolean;
leaf-list tag64 { description
type uint64; "This leaf expresses the value of I/E bit.";
description }
"This leaf describes a list of 64-bit tags associated with leaf ip-prefix {
the prefix."; type inet:ipv4-address;
} description
"This leaf describes the IPv4 prefix";
} }
leaf prefix-len {
type uint8;
description
"This leaf describes the IPv4 prefix len in bits";
}
leaf default-metric {
type std-metric;
description
"This leaf describes the ISIS default metric value";
}
container delay-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
grouping neighbor-extended { description
description "This container defines the ISIS delay metric.";
"This group defines attributes of an }
ISIS extended neighbor."; container expense-metric {
leaf neighbor-id { leaf metric {
type system-id; type std-metric;
description description
"This leaf describes the system-id of the neighbor."; "This leaf describes the ISIS expense metric value";
} }
leaf metric { leaf supported {
type wide-metric; type boolean;
description default "false";
"This leaf describes the ISIS metric value"; description
} "This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS expense metric.";
}
container error-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS error metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
} description
"This container defines the ISIS error metric.";
}
}
grouping neighbor { grouping prefix-ipv4-extended {
description description
"This group defines attributes of an "This group defines attributes of an
ISIS standard neighbor."; IPv4 extended prefix.";
leaf neighbor-id { leaf up-down {
type system-id; type boolean;
description description
"This leaf describes the system-id of the neighbor."; "This leaf expresses the value of up/down bit.";
} }
leaf i-e { leaf ip-prefix {
type boolean; type inet:ipv4-address;
description description
"This leaf expresses the value of I/E bit."; "This leaf describes the IPv4 prefix";
} }
leaf default-metric { leaf prefix-len {
type std-metric; type uint8;
description description
"This leaf describes the ISIS default metric value"; "This leaf describes the IPv4 prefix len in bits";
} }
container delay-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS delay metric.";
}
container expense-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay expense value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS expense metric.";
}
container error-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS error metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS error metric.";
}
}
grouping database { leaf metric {
description type wide-metric;
"This group defines attributes of an description
ISIS database (Link State DB)."; "This leaf describes the ISIS metric value";
leaf lsp-id { }
type lsp-id; leaf-list tag {
description type uint32;
"This leaf describes the LSP ID of the LSP."; description
} "This leaf describes a list of tags associated with
leaf checksum { the prefix.";
type uint16; }
description leaf-list tag64 {
"This leaf describes the checksum of the LSP."; type uint64;
} description
leaf remaining-lifetime { "This leaf describes a list of 64-bit tags associated with
type uint16; the prefix.";
units "seconds";
description
"This leaf describes the remaining lifetime
in seconds before the LSP expiration.";
}
leaf sequence {
type uint32;
description
"This leaf describes the sequence number of the LSP.";
}
leaf attributes {
type bits {
bit PARTITIONNED {
description
"If set, the originator supports partition
repair.";
}
bit ATTACHED-ERROR {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-EXPENSE {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-DELAY {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-DEFAULT {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit OVERLOAD {
description
"If set, the originator is overloaded,
and must be avoided in path calculation.";
}
}
description
"This leaf describes attributes of the LSP.";
}
container is-neighbor { }
list neighbor {
key "neighbor-id";
uses neighbor;
description
"List of neighbors.";
}
description
"This leaf describes list of ISIS neighbors.
ISIS reference is TLV 2.";
}
container authentication { }
leaf authentication-type {
type string;
description
"This leaf describes the authentication type
to be used.";
}
leaf authentication-key {
type string;
description
"This leaf describes the authentication key
to be used. For security reason, the
authentication key MUST NOT be presented
in plaintext format. Authors recommends
to use MD5 hash to present the authentication-key.";
}
description "This container describes authentication
information of the node. ISIS reference is TLV 10.";
}
container extended-is-neighbor { grouping prefix-ipv6-extended {
list neighbor { description
uses neighbor-extended; "This group defines attributes of an
description IPv6 prefix.";
"List of neighbors."; leaf up-down {
} type boolean;
description description
"This container describes list of ISIS extended "This leaf expresses the value of up/down bit.";
neighbors. }
ISIS reference is TLV 22."; leaf ip-prefix {
} type inet:ipv6-address;
description
"This leaf describes the IPv6 prefix";
}
leaf prefix-len {
type uint8;
description
"This leaf describes the IPv4 prefix len in bits";
}
container ipv4-internal-reachability { leaf metric {
list prefixes { type wide-metric;
uses prefix-ipv4-std; description
description "This leaf describes the ISIS metric value";
"List of prefixes."; }
} leaf-list tag {
description type uint32;
"This container describes list of IPv4 internal description
reachability information. "This leaf describes a list of tags associated with
ISIS reference is TLV 128."; the prefix.";
} }
leaf-list tag64 {
type uint64;
description
"This leaf describes a list of 64-bit tags associated with
the prefix.";
}
leaf-list protocol-supported { }
type uint8;
description
"This leaf describes the list of
supported protocols.
ISIS reference is TLV 129.";
}
container ipv4-external-reachability { grouping neighbor-extended {
list prefixes { description
uses prefix-ipv4-std; "This group defines attributes of an
description ISIS extended neighbor.";
"List of prefixes.";
}
description
"This container describes list of IPv4 external
reachability information.
ISIS reference is TLV 130.";
}
leaf-list ipv4-addresses { leaf neighbor-id {
type inet:ipv4-address; type system-id;
description description
"This leaf describes the IPv4 addresses of the node. "This leaf describes the system-id of the neighbor.";
ISIS reference is TLV 132."; }
} leaf metric {
type wide-metric;
description
"This leaf describes the ISIS metric value";
}
leaf ipv4-te-routerid { }
type inet:ipv4-address; grouping neighbor {
description description
"This leaf describes the IPv4 Traffic Engineering "This group defines attributes of an
router ID of the node. ISIS standard neighbor.";
ISIS reference is TLV 134."; leaf neighbor-id {
} type system-id;
description
"This leaf describes the system-id of the neighbor.";
}
leaf i-e {
type boolean;
description
"This leaf expresses the value of I/E bit.";
}
leaf default-metric {
type std-metric;
description
"This leaf describes the ISIS default metric value";
}
container delay-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS delay metric.";
}
container expense-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS delay expense value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS expense metric.";
}
container error-metric {
leaf metric {
type std-metric;
description
"This leaf describes the ISIS error metric value";
}
leaf supported {
type boolean;
default "false";
description
"This leaf describes if the metric is supported.";
}
description
"This container defines the ISIS error metric.";
}
}
container extended-ipv4-reachability { grouping database {
description
"This group defines attributes of an
ISIS database (Link State DB).";
leaf lsp-id {
type lsp-id;
description
"This leaf describes the LSP ID of the LSP.";
}
leaf checksum {
type uint16;
description
"This leaf describes the checksum of the LSP.";
}
leaf remaining-lifetime {
type uint16;
units "seconds";
description
"This leaf describes the remaining lifetime
in seconds before the LSP expiration.";
}
leaf sequence {
type uint32;
description
"This leaf describes the sequence number of the LSP.";
}
leaf attributes {
type bits {
bit PARTITIONNED {
description
"If set, the originator supports partition
repair.";
}
bit ATTACHED-ERROR {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-EXPENSE {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-DELAY {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit ATTACHED-DEFAULT {
description
"If set, the originator is attached to
another area using the referred metric.";
}
bit OVERLOAD {
description
"If set, the originator is overloaded,
and must be avoided in path calculation.";
}
}
description
"This leaf describes attributes of the LSP.";
}
list prefixes { container is-neighbor {
uses prefix-ipv4-extended; list neighbor {
description uses neighbor;
"List of prefixes."; description
} "List of neighbors.";
description }
"This container describes list of IPv4 extended description
reachability information. "This leaf describes list of ISIS neighbors.
ISIS reference is TLV 135."; ISIS reference is TLV 2.";
} }
leaf dynamic-hostname { container authentication {
type string; leaf authentication-type {
type string;
description
"This leaf describes the authentication type
to be used.";
}
leaf authentication-key {
type string;
description
"This leaf describes the authentication key
to be used. For security reason, the
authentication key MUST NOT be presented
in plaintext format. Authors recommends
to use MD5 hash to present the authentication-key.";
}
description "This container describes authentication
information of the node. ISIS reference is TLV 10.";
}
description container extended-is-neighbor {
"This leaf describes the name of the node. list neighbor {
ISIS reference is TLV 137."; uses neighbor-extended;
} description
"List of neighbors.";
}
description
"This container describes list of ISIS extended
neighbors.
ISIS reference is TLV 22.";
}
leaf ipv6-te-routerid { container ipv4-internal-reachability {
type inet:ipv6-address; list prefixes {
description uses prefix-ipv4-std;
"This leaf describes the IPv6 Traffic Engineering description
router ID of the node. "List of prefixes.";
ISIS reference is TLV 140."; }
} description
"This container describes list of IPv4 internal
reachability information.
ISIS reference is TLV 128.";
}
container mt-is-neighbor { leaf-list protocol-supported {
list neighbor { type uint8;
leaf MT-ID { description
type uint16 { "This leaf describes the list of
range "0 .. 4095"; supported protocols.
} ISIS reference is TLV 129.";
description }
"This leaf defines the identifier
of a topology.";
}
uses neighbor-extended;
description
"List of neighbors.";
}
description
"This container describes list of ISIS multi-topology
neighbors.
ISIS reference is TLV 223.";
}
container mt-entries { container ipv4-external-reachability {
list topology { list prefixes {
uses prefix-ipv4-std;
description
"List of prefixes.";
}
description
"This container describes list of IPv4 external
reachability information.
ISIS reference is TLV 130.";
}
leaf MT-ID { leaf-list ipv4-addresses {
type uint16 { type inet:ipv4-address;
range "0 .. 4095"; description
} "This leaf describes the IPv4 addresses of the node.
description ISIS reference is TLV 132.";
"This leaf defines the identifier }
of a topology.";
}
leaf attributes { leaf ipv4-te-routerid {
type bits {
bit OVERLOAD {
description
"If set, the originator is overloaded,
and must be avoided in path
calculation.";
}
bit ATTACHED {
description
"If set, the originator is attached to
another area using the referred metric.";
}
}
description
"This leaf describes attributes of the LSP
for the associated topology.";
}
description
"List of topologies supported.";
}
description
"This container describes the topology supported.
ISIS reference is TLV 229.";
}
leaf-list ipv6-addresses { type inet:ipv4-address;
type inet:ipv6-address; description
description "This leaf describes the IPv4 Traffic Engineering
"This leaf describes the IPv6 interface router ID of the node.
addresses of the node. ISIS reference is TLV 134.";
ISIS reference is TLV 232."; }
}
container mt-extended-ipv4-reachability { container extended-ipv4-reachability {
list prefixes {
leaf MT-ID {
type uint16 {
range "0 .. 4095";
}
description
"This leaf defines the identifier
of a topology.";
}
uses prefix-ipv4-extended;
description
"List of prefixes.";
} list prefixes {
description uses prefix-ipv4-extended;
"This container describes list of IPv4 description
reachability information in multi-topology "List of prefixes.";
environment.
ISIS reference is TLV 235.";
} }
description
"This container describes list of IPv4 extended
reachability information.
ISIS reference is TLV 135.";
}
container mt-ipv6-reachability { leaf dynamic-hostname {
list prefixes { type string;
leaf MT-ID {
type uint16 {
range "0 .. 4095";
}
description
"This leaf defines the identifier
of a topology.";
}
uses prefix-ipv6-extended;
description
"List of prefixes.";
}
description
"This container describes list of IPv6
reachability information in multi-topology
environment.
ISIS reference is TLV 237.";
}
container ipv6-reachability { description
list prefixes { "This leaf describes the name of the node.
uses prefix-ipv6-extended; ISIS reference is TLV 137.";
description }
"List of prefixes.";
}
description
"This container describes list of IPv6
reachability information.
ISIS reference is TLV 236.";
}
list router-capabilities { leaf ipv6-te-routerid {
leaf flags { type inet:ipv6-address;
type bits { description
bit flooding { "This leaf describes the IPv6 Traffic Engineering
position 0; router ID of the node.
description ISIS reference is TLV 140.";
"If the S bit is set(1), }
the IS-IS Router CAPABILITY TLV
MUST be flooded across the entire routing domain.
If the S bit is
not set(0), the TLV MUST NOT be leaked between levels.
This bit MUST NOT be altered during the TLV leaking."; container mt-is-neighbor {
} list neighbor {
bit down { leaf MT-ID {
position 1; type uint16 {
description range "0 .. 4095";
"When the IS-IS Router CAPABILITY TLV is }
leaked from level-2 to level-1, the D bit description
MUST be set. Otherwise, this bit MUST "This leaf defines the identifier
be clear. IS-IS Router capability TLVs of a topology.";
with the D bit set MUST NOT }
be leaked from level-1 to level-2. uses neighbor-extended;
This is to prevent TLV looping. description
"; "List of neighbors.";
} }
} description
description "This container describes list of ISIS multi-topology
"Flags associated with router capability."; neighbors.
} ISIS reference is TLV 223.";
container node-tag { }
if-feature node-tag;
list node-tag {
leaf tag {
type uint32;
description
"Node tag value.";
}
description
"List of tags.";
}
description
"Container for node tags.";
}
leaf binary { container mt-entries {
type binary; list topology {
description
"This leaf describes the capability of the node.
Format is binary according to the protocol encoding.";
}
description
"This container describes the capabilities of the node.
This container may be extended with detailed
information.
ISIS reference is TLV 242.";
}
}
grouping isis-node-tag-cfg { leaf MT-ID {
description type uint16 {
"ISIS node tag config."; range "0 .. 4095";
container node-tag { }
if-feature node-tag; description
list node-tag { "This leaf defines the identifier
key tag; of a topology.";
leaf tag { }
type uint32;
description
"Node tag value.";
}
description
"List of tags.";
}
description
"Container for node tags.";
}
}
grouping isis-global-cfg { leaf attributes {
description type bits {
"Defines the ISIS global configuration."; bit OVERLOAD {
description
"If set, the originator is overloaded,
and must be avoided in path
calculation.";
}
bit ATTACHED {
description
"If set, the originator is attached to
another area using the referred metric.";
}
}
description
"This leaf describes attributes of the LSP
for the associated topology.";
}
description
"List of topologies supported.";
}
description
"This container describes the topology supported.
ISIS reference is TLV 229.";
}
uses admin-control; leaf-list ipv6-addresses {
type inet:ipv6-address;
description
"This leaf describes the IPv6 interface
addresses of the node.
ISIS reference is TLV 232.";
}
leaf level-type { container mt-extended-ipv4-reachability {
type level; list prefixes {
default "level-all"; leaf MT-ID {
description type uint16 {
"This leaf describes the type of ISIS node. range "0 .. 4095";
A node can be level-1-only, level-2-only }
or level-1-2. description
"; "This leaf defines the identifier
} of a topology.";
}
uses prefix-ipv4-extended;
description
"List of prefixes.";
leaf system-id { }
type system-id; description
description "This container describes list of IPv4
"This leaf defines the system-id of the node."; reachability information in multi-topology
} environment.
ISIS reference is TLV 235.";
}
leaf maximum-area-addresses { container mt-ipv6-reachability {
if-feature maximum-area-addresses; list prefixes {
type uint8; leaf MT-ID {
default 3; type uint16 {
description range "0 .. 4095";
"Defines the maximum areas supported."; }
} description
"This leaf defines the identifier
of a topology.";
}
uses prefix-ipv6-extended;
description
"List of prefixes.";
}
description
"This container describes list of IPv6
reachability information in multi-topology
environment.
ISIS reference is TLV 237.";
}
leaf-list area-address { container ipv6-reachability {
type area-address; list prefixes {
description uses prefix-ipv6-extended;
"List of areas supported by the description
protocol instance."; "List of prefixes.";
} }
description
"This container describes list of IPv6
reachability information.
ISIS reference is TLV 236.";
}
container mpls { list router-capabilities {
leaf ipv4-router-id { leaf flags {
if-feature ipv4-router-id; type bits {
type inet:ipv4-address; bit flooding {
description position 0;
"Router ID value that would be used in description
TLV 134."; "If the S bit is set(1),
} the IS-IS Router CAPABILITY TLV
leaf ipv6-router-id { MUST be flooded across the entire routing domain.
if-feature ipv6-router-id; If the S bit is
type inet:ipv6-address; not set(0), the TLV MUST NOT be leaked between levels.
description This bit MUST NOT be altered during the TLV leaking.";
"Router ID value that would be used in }
TLV 140."; bit down {
} position 1;
container igp-ldp-sync { description
if-feature igp-ldp-sync; "When the IS-IS Router CAPABILITY TLV is
description leaked from level-2 to level-1, the D bit
"This container may be augmented MUST be set. Otherwise, this bit MUST
with global parameters for igp-ldp-sync."; be clear. IS-IS Router capability TLVs
} with the D bit set MUST NOT
description be leaked from level-1 to level-2.
"This container handles mpls config."; This is to prevent TLV looping.
} ";
leaf reference-bandwidth { }
if-feature reference-bandwidth; }
type uint32; description
units "bps"; "Flags associated with router capability.";
description }
"This leaf defines the bandwidth for calculating container node-tag {
metric."; if-feature node-tag;
} list node-tag {
leaf tag {
type uint32;
description
"Node tag value.";
}
description
"List of tags.";
}
description
"Container for node tags.";
leaf lsp-mtu { }
type uint16;
units "bytes";
default 1492;
description
"This leaf describes the maximum size of a
LSP PDU in bytes.";
}
leaf lsp-lifetime {
type uint16;
units "seconds";
description
"This leaf describes the lifetime of the router
LSP in seconds.";
}
leaf lsp-refresh {
if-feature lsp-refresh;
type uint16;
units "seconds";
description
"This leaf describes the refresh interval of the
router LSP in seconds.";
}
container graceful-restart { leaf binary {
if-feature graceful-restart; type binary;
leaf enable { description
type boolean; "This leaf describes the capability of the node.
description Format is binary according to the protocol encoding.";
"Control enabling the feature."; }
} description
description "This container describes the capabilities of the node.
"This container activates graceful restart."; This container may be extended with detailed
} information.
ISIS reference is TLV 242.";
}
}
uses isis-node-tag-cfg; grouping isis-node-tag-cfg {
description
"ISIS node tag config.";
container node-tag {
if-feature node-tag;
list node-tag {
key tag;
leaf tag {
type uint32;
description
"Node tag value.";
}
description
"List of tags.";
}
description
"Container for node tags.";
}
}
list authentication { grouping isis-global-cfg {
key level; description
"Defines the ISIS global configuration.";
choice authentication-type { uses admin-control;
case key-chain {
if-feature key-chain;
leaf key-chain {
type key-chain:key-chain-ref;
description
"Reference to a key-chain.";
}
}
case password {
leaf key {
type string;
description
"This leaf describes the
authentication key.";
}
uses key-chain:crypto-algorithm-types;
}
description
"Choice of authentication.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"Container for ISIS authentication.
It covers both LSPs and SNPs.";
}
list metric-type { leaf level-type {
key level; type level;
default "level-all";
description
"This leaf describes the type of ISIS node.
leaf value { A node can be level-1-only, level-2-only
type enumeration { or level-1-2.
enum wide-only { ";
description }
"Advertise new metric style only
(RFC5305)";
}
enum old-only {
description
"Advertise old metric style only
(RFC1195)";
}
enum both {
description "Advertise both metric
styles";
}
}
description
"This leaf describes the type of metric
to be generated.
Wide-only means only new metric style
is generated,
old-only means that only old style metric
is generated,
and both means that both are advertised.
This leaf is only affecting IPv4 metrics."; leaf system-id {
} type system-id;
leaf level { description
type level; "This leaf defines the system-id of the node.";
description }
"Level applicability.";
}
description
"Metric style container.";
}
list preference {
key level;
choice granularity { leaf maximum-area-addresses {
case detail { if-feature maximum-area-addresses;
leaf internal { type uint8;
type uint8; default 3;
description description
"This leaf defines the protocol "Defines the maximum areas supported.";
preference for internal routes."; }
}
leaf external {
type uint8;
description
"This leaf defines the protocol
preference for external routes.";
}
}
case coarse {
leaf default {
type uint8;
description
"This leaf defines the protocol
preference for all ISIS routes.";
}
}
description
"Choice for implementation of route preference.";
}
leaf level { leaf-list area-address {
type level; type area-address;
description description
"Level applicability."; "List of areas supported by the
} protocol instance.";
description }
"This leaf defines the protocol preference.";
}
list default-metric {
key level;
leaf value { container mpls {
type wide-metric; leaf ipv4-router-id {
description if-feature ipv4-router-id;
"Value of the metric"; type inet:ipv4-address;
} description
leaf level { "Router ID value that would be used in
type level; TLV 134.";
description }
"Level applicability of the metric."; leaf ipv6-router-id {
} if-feature ipv6-router-id;
description type inet:ipv6-address;
"Defines the metric to be used by default."; description
} "Router ID value that would be used in
list af { TLV 140.";
if-feature nlpid-control; }
key af; container igp-ldp-sync {
leaf af { if-feature igp-ldp-sync;
type identityref { description
base rt:address-family; "This container may be augmented
} with global parameters for igp-ldp-sync.";
description }
"Address-family"; description
} "This container handles mpls config.";
}
leaf reference-bandwidth {
if-feature reference-bandwidth;
type uint32;
units "bps";
description
"This leaf defines the bandwidth for calculating
metric.";
}
leaf enable { leaf lsp-mtu {
type boolean; type uint16;
description units "bytes";
"Describes the activation state of the default 1492;
AF."; description
} "This leaf describes the maximum size of a
description LSP PDU in bytes.";
"This list permits activation }
of new address families."; leaf lsp-lifetime {
type uint16;
units "seconds";
description
"This leaf describes the lifetime of the router
LSP in seconds.";
}
leaf lsp-refresh {
if-feature lsp-refresh;
type uint16;
units "seconds";
description
"This leaf describes the refresh interval of the
router LSP in seconds.";
}
} container graceful-restart {
if-feature graceful-restart;
leaf enable {
type boolean;
description
"Control enabling the feature.";
}
description
"This container activates graceful restart.";
}
list overload { uses isis-node-tag-cfg;
key level; list authentication {
key level;
leaf status { choice authentication-type {
type boolean; case key-chain {
description if-feature key-chain;
"This leaf defines the overload status."; leaf key-chain {
} type key-chain:key-chain-ref;
leaf timeout { description
type uint16; "Reference to a key-chain.";
units "seconds"; }
description }
"This leaf defines the timeout in seconds case password {
of the overload condition."; leaf key {
} type string;
leaf level { description
type level; "This leaf describes the
description authentication key.";
"Level applicability of the metric."; }
} uses key-chain:crypto-algorithm-types;
description }
"This leaf describes if the router is description
set to overload state."; "Choice of authentication.";
} }
leaf level {
type level;
description
"Level applicability.";
}
description
"Container for ISIS authentication.
It covers both LSPs and SNPs.";
}
list overload-max-metric { list metric-type {
if-feature overload-max-metric; key level;
key level;
leaf status { leaf value {
type boolean; type enumeration {
description enum wide-only {
"This leaf defines the overload status."; description
} "Advertise new metric style only
(RFC5305)";
}
enum old-only {
description
"Advertise old metric style only
(RFC1195)";
}
enum both {
description "Advertise both metric
styles";
}
}
description
"This leaf describes the type of metric
to be generated.
Wide-only means only new metric style
is generated,
old-only means that only old style metric
is generated,
and both means that both are advertised.
This leaf is only affecting IPv4 metrics.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"Metric style container.";
}
list preference {
key level;
leaf timeout { choice granularity {
type uint16; case detail {
units "seconds"; leaf internal {
description type uint8;
"This leaf defines the timeout in seconds description
of the overload condition."; "This leaf defines the protocol
} preference for internal routes.";
leaf level { }
type level; leaf external {
description type uint8;
"Level applicability of the metric."; description
} "This leaf defines the protocol
description preference for external routes.";
"This leaf describes if the router is }
set to overload state."; }
} case coarse {
leaf default {
type uint8;
description
"This leaf defines the protocol
preference for all ISIS routes.";
}
}
description
"Choice for implementation of route preference.";
}
} leaf level {
type level;
description
"Level applicability.";
}
description
"This leaf defines the protocol preference.";
}
grouping isis-global-topologies-cfg { list default-metric {
description key level;
"Per topology config.";
list default-metric {
key level;
leaf value { leaf value {
type wide-metric; type wide-metric;
description description
"Value of the metric"; "Value of the metric";
} }
leaf level { leaf level {
type level; type level;
description description
"Level applicability of the metric."; "Level applicability of the metric.";
} }
description description
"Defines the metric to be used by default."; "Defines the metric to be used by default.";
} }
uses isis-node-tag-cfg; list af {
} if-feature nlpid-control;
key af;
leaf af {
type identityref {
base rt:address-family;
}
description
"Address-family";
}
grouping isis-if-cfg { leaf enable {
description type boolean;
"Grouping for interface cfg."; description
"Describes the activation state of the
AF.";
}
description
"This list permits activation
of new address families.";
leaf level-type { }
type level;
default "level-all";
description
"This leaf defines the associated ISIS
level of the interface.";
}
leaf lsp-pacing-interval {
type uint16;
units "milliseconds";
description
"This leaf defines the interval between
LSP transmissions in milli-seconds";
}
leaf lsp-retransmit-interval {
type uint16;
units "seconds";
description
"This leaf defines the interval between
retransmission of LSP";
}
leaf passive {
type boolean;
default "false";
description
"This leaf defines if interface is in
passive mode (ISIS not running,
but network is advertised).";
}
leaf csnp-interval {
type uint16;
units "seconds";
description
"This leaf defines the interval of CSNP
messages.";
}
container hello-padding { list overload {
leaf enable { key level;
type boolean;
default "true";
description
"Status of Hello-padding activation.
By default, the implementation shall
pad HELLOs.";
}
description leaf status {
"This container handles ISIS hello padding type boolean;
configuration."; description
} "This leaf defines the overload status.";
}
leaf mesh-group-enable { leaf timeout {
type mesh-group-state; type uint16;
description units "seconds";
"Describes the mesh group state of description
the interface."; "This leaf defines the timeout in seconds
} of the overload condition.";
}
leaf level {
type level;
description
"Level applicability of the metric.";
}
description
"This leaf describes if the router is
set to overload state.";
}
leaf mesh-group { list overload-max-metric {
when "../mesh-group-enable = meshSet" { if-feature overload-max-metric;
description key level;
"Only valid when mesh-group-enable
equals meshSet";
}
type uint8;
description
"Describes the mesh group ID of
the interface.";
} leaf status {
type boolean;
description
"This leaf defines the overload status.";
}
leaf interface-type { leaf timeout {
type interface-type; type uint16;
description units "seconds";
"This leaf defines the type of adjacency description
to be established on the interface. "This leaf defines the timeout in seconds
This is affecting the type of hello of the overload condition.";
message that would be used."; }
} leaf level {
type level;
description
"Level applicability of the metric.";
}
description
"This leaf describes if the router is
set to overload state.";
}
uses admin-control; }
leaf-list tag { grouping isis-global-topologies-cfg {
if-feature prefix-tag; description
"Per topology config.";
list default-metric {
key level;
type uint32; leaf value {
description type wide-metric;
"This leaf defines list of tags associated description
with the interface."; "Value of the metric";
} }
leaf level {
type level;
description
"Level applicability of the metric.";
}
description
"Defines the metric to be used by default.";
}
uses isis-node-tag-cfg;
}
leaf-list tag64 { grouping isis-if-cfg {
if-feature prefix-tag64; description
"Grouping for interface cfg.";
type uint64; leaf level-type {
description type level;
"This leaf defines list of 64bits tags default "level-all";
associated with the interface."; description
} "This leaf defines the associated ISIS
level of the interface.";
}
leaf lsp-pacing-interval {
type uint16;
units "milliseconds";
description
"This leaf defines the interval between
LSP transmissions in milli-seconds";
}
leaf lsp-retransmit-interval {
type uint16;
units "seconds";
description
"This leaf defines the interval between
retransmission of LSP";
}
leaf passive {
type boolean;
default "false";
description
"This leaf defines if interface is in
passive mode (ISIS not running,
but network is advertised).";
}
leaf csnp-interval {
type uint16;
units "seconds";
description
"This leaf defines the interval of CSNP
messages.";
}
list hello-authentication { container hello-padding {
key level; leaf enable {
type boolean;
default "true";
description
"Status of Hello-padding activation.
By default, the implementation shall
pad HELLOs.";
}
choice authentication-type { description
case key-chain { "This container handles ISIS hello padding
if-feature key-chain; configuration.";
leaf key-chain { }
type key-chain:key-chain-ref;
description
"Reference to a key-chain.";
}
}
case password {
leaf key {
type string;
description
"This leaf describes the
authentication key.";
}
uses key-chain:crypto-algorithm-types;
}
description
"Choice of authentication.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"This leaf describes the authentication type
to be used in hello messages.";
}
list hello-interval { leaf mesh-group-enable {
key level; type mesh-group-state;
description
"Describes the mesh group state of
the interface.";
}
leaf value { leaf mesh-group {
type uint16; when "../mesh-group-enable = meshSet" {
units "seconds"; description
description "Only valid when mesh-group-enable
"This leaf defines the interval of equals meshSet";
hello messages."; }
} type uint8;
leaf level { description
type level; "Describes the mesh group ID of
description the interface.";
"Level applicability."; }
}
description
"This leaf defines the interval of
hello messages.";
}
list hello-multiplier {
key level;
leaf value { leaf interface-type {
type uint16; type interface-type;
description description
"This leaf defines the number of "This leaf defines the type of adjacency
hello failed to be received before to be established on the interface.
declaring the adjacency down."; This is affecting the type of hello
} message that would be used.";
leaf level { }
type level;
description
"Level applicability.";
}
description
"This leaf defines the number of
hello failed to be received before
declaring the adjacency down.";
}
list priority { uses admin-control;
must 'interface-type = "broadcast"' {
error-message
"Priority only applies to broadcast
interfaces.";
description
"Check for broadcast interface.";
}
key level;
leaf value {
type uint8 {
range "0 .. 127";
}
description leaf-list tag {
"This leaf describes the priority of if-feature prefix-tag;
the interface
for DIS election.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"This leaf describes the priority of
the interface
for DIS election.";
}
list metric {
key level;
leaf value { type uint32;
type wide-metric; description
description "This leaf defines list of tags associated
"Metric value."; with the interface.";
} }
leaf level {
type level;
description
"Level applicability.";
}
description
"Container for interface metric";
}
list af { leaf-list tag64 {
key af; if-feature prefix-tag64;
leaf af { type uint64;
type identityref { description
base rt:address-family; "This leaf defines list of 64bits tags
} associated with the interface.";
description }
"Address-family"; list hello-authentication {
} key level;
container bfd {
if-feature bfd;
leaf enable {
type boolean;
default false;
description
"This leaf enables BFD.";
}
description choice authentication-type {
"The container describes case key-chain {
BFD config."; if-feature key-chain;
} leaf key-chain {
type key-chain:key-chain-ref;
description
"Reference to a key-chain.";
}
}
case password {
leaf key {
type string;
description
"This leaf describes the
authentication key.";
}
uses key-chain:crypto-algorithm-types;
}
description
"Choice of authentication.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"This leaf describes the authentication type
to be used in hello messages.";
}
description list hello-interval {
"List of AFs."; key level;
}
container mpls { leaf value {
container igp-ldp-sync { type uint16;
if-feature igp-ldp-sync; units "seconds";
leaf enable { description
type boolean; "This leaf defines the interval of
description hello messages.";
"Enable/disable IGP LDP sync."; }
} leaf level {
description type level;
"IGP-LDP sync configuration."; description
"Level applicability.";
} }
description description
"Container for MPLS specific configuration "This leaf defines the interval of
for ISIS."; hello messages.";
} }
list hello-multiplier {
key level;
} leaf value {
type uint16;
description
"This leaf defines the number of
hello failed to be received before
declaring the adjacency down.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"This leaf defines the number of
hello failed to be received before
declaring the adjacency down.";
}
grouping isis-if-topologies-cfg { list priority {
description must 'interface-type = "broadcast"' {
"ISIS interface topology cfg."; error-message
list metric { "Priority only applies to broadcast
key level; interfaces.";
description
"Check for broadcast interface.";
}
key level;
leaf value {
type uint8 {
range "0 .. 127";
}
leaf value { description
type wide-metric; "This leaf describes the priority of
description the interface
"Metric value."; for DIS election.";
} }
leaf level { leaf level {
type level; type level;
description description
"Level applicability."; "Level applicability.";
} }
description description
"Container for interface metric"; "This leaf describes the priority of
} the interface
} for DIS election.";
}
list metric {
key level;
/* */ leaf value {
type wide-metric;
description
"Metric value.";
}
leaf level {
type level;
description
"Level applicability.";
}
description
"Container for interface metric";
}
augment "/rt:routing-state/rt:ribs/rt:rib/rt:routes/rt:route" { list af {
when "rt:source-protocol = 'isis:isis'" { key af;
description "ISIS-specific route attributes.";
}
uses route-content;
description
"This augments route object in RIB with ISIS-specific
attributes.";
}
augment "/rt:active-route/rt:output/rt:route" leaf af {
{ type identityref {
uses route-content; base rt:address-family;
description "ISIS-specific route attributes."; }
} description
"Address-family";
}
container bfd {
if-feature bfd;
leaf enable {
type boolean;
default false;
description
"This leaf enables BFD.";
}
augment "/if:interfaces/if:interface" description
{ "The container describes
leaf clns-mtu { BFD config.";
type uint16; }
description description
"Defines CLNS MTU of the interface."; "List of AFs.";
} }
description "ISO interface config.";
}
augment "/rt:routing/rt:routing-instance/rt:routing-protocols/" container mpls {
+"rt:routing-protocol" { container igp-ldp-sync {
when "rt:type = 'isis:isis'" { if-feature igp-ldp-sync;
description leaf enable {
"This augment is only valid when routing protocol type boolean;
instance type is isis."; description
} "Enable/disable IGP LDP sync.";
description }
"This augments a routing protocol instance with ISIS description
specific parameters."; "IGP-LDP sync configuration.";
container isis { }
description
"Container for MPLS specific configuration
for ISIS.";
}
must "count(area-address) > 0" { }
error-message "At least one area-address
must be configured.";
description
"Enforce configuration of at least one area.";
}
uses isis-global-cfg; grouping isis-if-topologies-cfg {
description
"ISIS interface topology cfg.";
list metric {
key level;
container fast-reroute { leaf value {
if-feature fast-reroute; type wide-metric;
uses fast-reroute-global-cfg; description
description "Metric value.";
"IPFRR."; }
} leaf level {
list topologies { type level;
if-feature multi-topology; description
"Level applicability.";
}
description
"Container for interface metric";
}
}
key "name"; /* */
augment "/rt:routing-state/rt:ribs/rt:rib/rt:routes/rt:route" {
when "rt:source-protocol = 'isis:isis'" {
description "ISIS-specific route attributes.";
}
uses route-content;
description
"This augments route object in RIB with ISIS-specific
attributes.";
}
leaf enable { augment "/rt:active-route/rt:output/rt:route"
type boolean; {
description uses route-content;
"Control enabling of topologies"; description "ISIS-specific route attributes.";
} }
leaf name {
type rt:rib-ref;
description "RIB";
}
uses isis-global-topologies-cfg; augment "/if:interfaces/if:interface"
container fast-reroute { {
if-feature fast-reroute; leaf clns-mtu {
uses fast-reroute-global-cfg; type uint16;
description description
"IPFRR."; "Defines CLNS MTU of the interface.";
} }
description "ISO interface config.";
}
description augment "/rt:routing/rt:routing-instance/rt:routing-protocols/"
"List of topologies"; +"rt:routing-protocol" {
} when "rt:type = 'isis:isis'" {
description
"This augment is only valid when routing protocol
instance type is isis.";
}
description
"This augments a routing protocol instance with ISIS
specific parameters.";
container isis {
container interfaces { must "count(area-address) > 0" {
list interface { error-message "At least one area-address
key "name"; must be configured.";
leaf name { description
type if:interface-ref; "Enforce configuration of at least one area.";
}
uses isis-global-cfg;
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-global-cfg;
description description
"Reference to the interface within "IPFRR.";
the routing-instance."; }
} list topologies {
if-feature multi-topology;
uses isis-if-cfg; key "name";
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-if-cfg;
description
"IPFRR.";
}
list topologies {
key name;
leaf name { leaf enable {
type rt:rib-ref; type boolean;
description description
"Name of RIB."; "Control enabling of topologies";
} }
container fast-reroute {
leaf name {
type rt:rib-ref;
description "RIB";
}
uses isis-global-topologies-cfg;
container fast-reroute {
if-feature fast-reroute; if-feature fast-reroute;
uses fast-reroute-if-cfg; uses fast-reroute-global-cfg;
description description
"IPFRR."; "IPFRR.";
}
} description
uses isis-if-topologies-cfg; "List of topologies";
description }
"List of topologies.";
}
description
"List of ISIS interfaces.";
}
description
"This container defines ISIS interface specific
configuration objects.";
}
description container interfaces {
"This container defines ISIS specific configuration list interface {
objects."; key "name";
} leaf name {
} type if:interface-ref;
augment "/rt:routing-state/rt:routing-instance/" description
+"rt:routing-protocols/rt:routing-protocol" { "Reference to the interface within
when "rt:type = 'isis:isis'" { the routing-instance.";
description }
"This augment is only valid when routing protocol
instance type is isis.";
}
description
"This augments routing protocol instance states with ISIS
specific parameters.";
container isis { uses isis-if-cfg;
config false; container fast-reroute {
uses isis-global-cfg; if-feature fast-reroute;
container fast-reroute { uses fast-reroute-if-cfg;
if-feature fast-reroute; description
uses fast-reroute-global-cfg; "IPFRR.";
uses fast-reroute-global-state; }
description list topologies {
key name;
leaf name {
type rt:rib-ref;
description
"Name of RIB.";
}
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-if-cfg;
description
"IPFRR.";
}
uses isis-if-topologies-cfg;
description
"List of topologies.";
}
description
"List of ISIS interfaces.";
}
description
"This container defines ISIS interface specific
configuration objects.";
}
description
"This container defines ISIS specific configuration
objects.";
}
}
augment "/rt:routing-state/rt:routing-instance/"
+"rt:routing-protocols/rt:routing-protocol" {
when "rt:type = 'isis:isis'" {
description
"This augment is only valid when routing protocol
instance type is isis.";
}
description
"This augments routing protocol instance states with ISIS
specific parameters.";
container isis {
config false;
uses isis-global-cfg;
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-global-cfg;
uses fast-reroute-global-state;
description
"IPFRR states.";
}
list topologies {
key name;
leaf name {
type rt:rib-ref;
description
"Name of RIB.";
}
container fast-route {
if-feature fast-reroute;
uses fast-reroute-global-cfg;
uses fast-reroute-global-state;
description
"IPFRR states."; "IPFRR states.";
} }
description
"List of topologies.";
}
list topologies { container system-counters {
key name; list level {
key level;
leaf name { leaf level {
type rt:rib-ref; type level-number;
description description
"Name of RIB."; "This leaf describes the ISIS level.";
}
leaf corrupted-lsps {
type uint32;
description
"Number of corrupted in-memory LSPs detected.
LSPs received from the wire with a bad
checksum are silently dropped and not counted.
LSPs received from the wire with parse errors
are counted by lsp-errors.";
}
leaf authentication-type-fails {
type uint32;
description
"Number of authentication type mismatches.";
}
leaf authentication-fails {
type uint32;
description
"Number of authentication key failures.";
}
leaf database-overload {
type uint32;
description
"Number of times the database has become
overloaded.";
}
leaf own-lsp-purge {
type uint32;
description
"Number of times a zero-aged copy of the
system's own LSP is received from some
other node.";
}
leaf manual-address-drop-from-area {
type uint32;
description
"Number of times a manual address
has been dropped from the area.";
}
leaf max-sequence {
type uint32;
description
"Number of times the system has attempted
to exceed the maximum sequence number.";
}
leaf sequence-number-skipped {
type uint32;
description
"Number of times a sequence number skip has
occured.";
}
leaf id-len-mismatch {
type uint32;
description
"Number of times a PDU is received with
a different value for ID field length
from that of the receiving system.";
}
leaf partition-changes {
type uint32;
description
"Number of partition changes detected.";
}
leaf lsp-errors {
type uint32;
description
"Number of LSPs with errors we have
received.";
}
leaf spf-runs {
type uint32;
description
"Number of times we ran SPF at this level.";
}
description
"List of supported levels.";
}
description
"The container defines a list of counters
for the IS.";
}
} container interfaces {
container fast-route { list interface {
if-feature fast-reroute; key interface;
uses fast-reroute-global-cfg;
uses fast-reroute-global-state;
description
"IPFRR states.";
}
description
"List of topologies.";
}
container system-counters { leaf interface {
list level { type string;
key level; description
"This leaf describes the name
of the interface.";
}
uses isis-if-cfg;
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-if-cfg;
description
"IPFRR.";
}
uses adjacency-state;
leaf level { list topologies {
type level-number; key name;
description
"This leaf describes the ISIS level.";
}
leaf corrupted-lsps {
type uint32;
description
"Number of corrupted in-memory LSPs detected.
LSPs received from the wire with a bad
checksum are silently dropped and not counted.
LSPs received from the wire with parse errors
are counted by lsp-errors.";
}
leaf authentication-type-fails {
type uint32;
description
"Number of authentication type mismatches.";
}
leaf authentication-fails {
type uint32;
description
"Number of authentication key failures.";
}
leaf database-overload {
type uint32;
description
"Number of times the database has become
overloaded.";
}
leaf own-lsp-purge {
type uint32;
description
"Number of times a zero-aged copy of the
system's own LSP is received from some
other node.";
}
leaf manual-address-drop-from-area {
type uint32;
description
"Number of times a manual address
has been dropped from the area.";
}
leaf max-sequence {
type uint32;
description
"Number of times the system has attempted
to exceed the maximum sequence number.";
}
leaf sequence-number-skipped {
type uint32;
description
"Number of times a sequence number skip has
occured.";
}
leaf id-len-mismatch {
type uint32;
description
"Number of times a PDU is received with
a different value for ID field length
from that of the receiving system.";
}
leaf partition-changes {
type uint32;
description
"Number of partition changes detected.";
}
leaf lsp-errors {
type uint32;
description
"Number of LSPs with errors we have
received.";
}
leaf spf-runs {
type uint32;
description
"Number of times we ran SPF at this level.";
}
description
"List of supported levels.";
} leaf name {
description type rt:rib-ref;
"The container defines a list of counters description
for the IS."; "Name of RIB.";
} }
uses isis-if-topologies-cfg;
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-if-cfg;
description
"IPFRR.";
}
uses adjacency-state;
container interfaces { description
list interface { "List of topologies.";
key interface; }
leaf interface { container event-counters {
type string; leaf adjacency-changes {
description type uint32;
"This leaf describes the name
of the interface.";
}
uses isis-if-cfg;
container fast-reroute {
if-feature fast-reroute;
uses fast-reroute-if-cfg;
description description
"IPFRR."; "The number of times an adjacency state
} change has occured on this interface.";
uses adjacency-state; }
leaf adjacency-number {
type uint32;
description
"The number of adjacencies on this
interface.";
}
leaf init-fails {
type uint32;
description
"The number of times initialization of
this interface has failed. This counts
events such as PPP NCP failures.
Failures to form an adjacency are counted
by adjacency-rejects.";
}
leaf adjacency-rejects {
type uint32;
description
"The number of times an adjacency has been
rejected on this interface.";
}
leaf id-len-mismatch {
type uint32;
description
"The number of times an IS-IS PDU with an ID
field length different from that for this
system has been received on this interface.";
}
leaf max-area-addresses-mismatch {
type uint32;
description
"The number of times an IS-IS PDU with
according max area address field
differs from that for
this system has been received on this
interface.";
}
leaf authentication-type-fails {
type uint32;
description
"Number of authentication type mismatches.";
}
leaf authentication-fails {
type uint32;
description
"Number of authentication key failures.";
}
leaf lan-dis-changes {
type uint32;
description
"The number of times the DIS has changed
on this interface at this level.
If the interface type is point to point,
the count is zero.";
}
description
"Provides protocol event counters.";
}
container packet-counters {
list level {
key level;
list topologies { leaf level {
key name; type level-number;
description
"This leaf describes the ISIS level.";
}
leaf name { container iih {
type rt:rib-ref; leaf in {
description type uint32;
"Name of RIB."; description
} "Received PDUs.";
uses isis-if-topologies-cfg; }
container fast-reroute { leaf out {
if-feature fast-reroute; type uint32;
uses fast-reroute-if-cfg; description
"Sent PDUs.";
}
description description
"IPFRR."; "The number of IIH PDUs received/sent.";
} }
uses adjacency-state; container ish {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of ISH PDUs received/sent.";
}
container esh {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of ESH PDUs received/sent.";
}
container lsp {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of LSP PDUs received/sent.";
}
container psnp {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of PSNP PDUs received/sent.";
}
container csnp {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of CSNP PDUs received/sent.";
}
container unknown {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of unknown PDUs received/sent.";
}
description
"List of supported levels.";
}
description
"Provides packet counters per level.";
}
description
"List of interfaces.";
}
description
"The container defines operational parameters
of interfaces.";
}
description container spf-log {
"List of topologies."; list event {
} key id;
container event-counters {
leaf adjacency-changes {
type uint32;
description
"The number of times an adjacency state
change has occured on this interface.";
}
leaf adjacency-number {
type uint32;
description
"The number of adjacencies on this
interface.";
}
leaf init-fails {
type uint32;
description
"The number of times initialization of
this interface has failed. This counts
events such as PPP NCP failures.
Failures to form an adjacency are counted
by adjacency-rejects.";
}
leaf adjacency-rejects {
type uint32;
description
"The number of times an adjacency has been
rejected on this interface.";
}
leaf id-len-mismatch {
type uint32;
description
"The number of times an IS-IS PDU with an ID
field length different from that for this
system has been received on this interface.";
}
leaf max-area-addresses-mismatch {
type uint32;
description
"The number of times an IS-IS PDU with
according max area address field
differs from that for
this system has been received on this
interface.";
}
leaf authentication-type-fails {
type uint32;
description
"Number of authentication type mismatches.";
} leaf id {
leaf authentication-fails { type uint32;
type uint32; description
description "This leaf defines the event identifier.
"Number of authentication key failures."; This is a purely internal value.";
} }
leaf lan-dis-changes { leaf spf-type {
type uint32; type enumeration {
description enum full {
"The number of times the DIS has changed description
on this interface at this level. "Computation done is a Full SPF.";
If the interface type is point to point, }
the count is zero."; enum incremental {
} description
description "Computation done is an
"Provides protocol event counters."; incremental SPF.";
} }
container packet-counters { enum route-only {
list level { description
key level; "Computation done is a
reachability computation
only.";
}
}
description
"This leaf describes the type of computation
used.";
}
leaf level {
type level-number;
description
"This leaf describes the level affected by the
the computation.";
}
leaf spf-delay {
type uint32;
units "milliseconds";
description
"This leaf describes the SPF delay that
was used for this event.";
}
leaf schedule-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was scheduled.";
}
leaf start-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was started.";
}
leaf end-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was ended.";
}
list trigger-lsp {
key "lsp";
leaf lsp {
type lsp-id;
description
"This leaf describes the LSPID
of the LSP.";
}
leaf sequence {
type uint32;
description
"This leaf describes the sequence
number of the LSP.";
}
description
"This leaf describes list of LSPs
that triggered the computation.";
}
description
"List of computation events.";
}
leaf level { description
type level-number; "This container lists the SPF computation events.";
description }
"This leaf describes the ISIS level."; container lsp-log {
} list event {
key id;
container iih { leaf id {
leaf in { type uint32;
type uint32; description
description "This leaf defines the event identifier.
"Received PDUs."; This is a purely internal value.";
} }
leaf out { leaf level {
type uint32; type level-number;
description description
"Sent PDUs."; "This leaf describes the level affected by the
} the computation.";
description }
"The number of IIH PDUs received/sent."; container lsp {
} leaf lsp {
container ish {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of ISH PDUs received/sent.";
}
container esh {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of ESH PDUs received/sent.";
}
container lsp {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of LSP PDUs received/sent.";
}
container psnp {
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of PSNP PDUs received/sent.";
} type lsp-id;
container csnp { description
leaf in { "This leaf describes the LSPID
type uint32; of the LSP.";
description }
"Received PDUs."; leaf sequence {
} type uint32;
leaf out { description
type uint32; "This leaf describes the sequence
description number of the LSP.";
"Sent PDUs."; }
} description
description "This container describes the received LSP
"The number of CSNP PDUs received/sent."; , in case of local LSP update the local
} LSP ID is referenced.";
container unknown { }
leaf in {
type uint32;
description
"Received PDUs.";
}
leaf out {
type uint32;
description
"Sent PDUs.";
}
description
"The number of unknown PDUs received/sent.";
}
description
"List of supported levels.";
}
description
"Provides packet counters per level.";
}
description
"List of interfaces.";
}
description
"The container defines operational parameters
of interfaces.";
}
container spf-log { leaf received-timestamp {
list event { type yang:timestamp;
key id;
leaf id { description
type uint32; "This leaf describes the timestamp
description when the LSP was received. In case of
"This leaf defines the event identifier. local LSP update, the timestamp refers
This is a purely internal value."; to the local LSP update time.";
} }
leaf spf-type {
type enumeration {
enum full {
description
"Computation done is a Full SPF.";
}
enum incremental {
description
"Computation done is an
incremental SPF.";
}
enum route-only {
description
"Computation done is a
reachability computation
only.";
}
}
description
"This leaf describes the type of computation
used.";
}
leaf level {
type level-number;
description
"This leaf describes the level affected by the
the computation.";
}
leaf spf-delay {
type uint32;
units "milliseconds";
description
"This leaf describes the SPF delay that
was used for this event.";
}
leaf schedule-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was scheduled.";
}
leaf start-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was started.";
}
leaf end-timestamp {
type yang:timestamp;
description
"This leaf describes the timestamp
when the computation was ended.";
}
list trigger-lsp {
key "lsp";
leaf lsp {
type lsp-id;
description
"This leaf describes the LSPID
of the LSP.";
}
leaf sequence {
type uint32;
description
"This leaf describes the sequence
number of the LSP.";
}
description
"This leaf describes list of LSPs
that triggered the computation.";
}
description
"List of computation events.";
}
description leaf change {
"This container lists the SPF computation events."; type bits {
} bit refresh {
container lsp-log { position 0;
list event { description
key id; "Refresh LSP, nothing has changed.";
}
bit link-down {
position 1;
description
"One or more links are down.";
}
bit link-up {
position 2;
description
"One or more links are up.";
}
bit link-metric-change {
position 3;
description
"One or more links experienced
a metric change.";
}
bit link-other-change {
position 4;
description
"One or more links experienced
a change that does not affect state
or metric.";
}
bit prefix-down {
position 5;
description
"One or more links are down.";
}
bit prefix-up {
position 6;
description
"One or more prefixes are up.";
}
bit prefix-metric-change {
position 7;
description
"One or more prefixes experienced
a metric change.";
}
bit prefix-other-change {
position 8;
description
"One or more prefixes experienced
a change that does not affect state
or metric.";
}
bit other-change {
position 9;
description
"One or more component changed that
is not a prefix or link.";
}
}
description
"This leaf describes the type of change
in the LSP.";
}
leaf id { description
type uint32; "List of LSP events.";
description }
"This leaf defines the event identifier.
This is a purely internal value.";
}
leaf level {
type level-number;
description
"This leaf describes the level affected by the
the computation.";
}
container lsp {
leaf lsp {
type lsp-id; description
description "This container lists the LSP reception events.
"This leaf describes the LSPID Local LSP modification are also contained in the
of the LSP."; list.";
} }
leaf sequence { container database {
type uint32; list level-db {
description key level;
"This leaf describes the sequence
number of the LSP.";
}
description
"This container describes the received LSP
, in case of local LSP update the local
LSP ID is referenced.";
}
leaf received-timestamp { leaf level {
type yang:timestamp; type level-number;
description
"Current level number";
}
list lsp {
key lsp-id;
description uses database;
"This leaf describes the timestamp description
when the LSP was received. In case of "List of LSPs in LSDB.";
local LSP update, the timestamp refers }
to the local LSP update time.";
}
leaf change { description
type bits { "This container describes the list of LSPs
bit refresh { in the level x database.";
position 0; }
description
"Refresh LSP, nothing has changed.";
}
bit link-down {
position 1;
description
"One or more links are down.";
}
bit link-up {
position 2;
description
"One or more links are up.";
}
bit link-metric-change {
position 3;
description
"One or more links experienced
a metric change.";
}
bit link-other-change {
position 4;
description
"One or more links experienced
a change that does not affect state
or metric.";
}
bit prefix-down {
position 5;
description
"One or more links are down.";
}
bit prefix-up {
position 6;
description
"One or more prefixes are up.";
}
bit prefix-metric-change {
position 7;
description
"One or more prefixes experienced
a metric change.";